For the past week I’ve been restaking all my nodes with single funding and reward accounts. Using the incognito-cli
it’s quite easy.
incognito-cli stake -p <funding_PrivateKey> --rewardAddress <funding_PaymentAddress> --miningKey <node_MiningKey> --candidateAddress <node_PaymentAddress>
The benefit of this is that you do not have to send funds to your new node keychain and when it’s unstaked or slashed, the funds go back to your single account. For me, this meant that the node keychains will never handle funds and thus do not need the same security. If you lose your key for some reason, just let it get slashed and then stake a new one. If your node keys get compromised, the only thing someone else can do, is run your node, but why would they?
What quickly became tiresome was copying all keys from the app to the computer. To get around this I decided to put all my nodes under a different master-key and generate and save them on the computer instead.
incognito-cli account generate --shardID 0 --numAccounts 10
It will generate a new mnemonic for you and 10 accounts. You can later use the same mnemonic to generate more accounts (incognito-cli account import
) or import the mnemonic on your phone if you like.