Join our telegram Join our discord Visit our website
Deploy your VPS using our referral link to get 20€ bonus
Deploy your VPS using our referral link to get 100$ free bonus for 60 days
Deploy your VPS using our referral link to get 100$ free bonus
To setup full node you can follow my guide Cardchain node setup for testnet
2. Confirm that you have the recovery seed phrase information for the active key running on the old machine
Cardchain keys export mykey
This prints the private key that you can then paste into the file
mykey.backup
Cardchain keys list
Cardchain keys add mykey --recover
Cardchain keys import mykey mykey.backup
Cardchain status 2>&1 | jq .SyncInfo
catching_up
should be equal tofalse
To prevent double signing, you should stop the validator node before stopping the new full node to ensure the new node is at a greater block height than the validator node If the new node is behind the old validator node, then you may double-sign blocks
sudo systemctl stop Cardchain
sudo systemctl disable Cardchain
The validator should start missing blocks at this point
sudo systemctl stop Cardchain
After being copied, the key
priv_validator_key.json
should then be removed from the old node's config directory to prevent double-signing if the node were to start back up
sudo mv ~/.Cardchain/config/priv_validator_key.json ~/.Cardchain/bak_priv_validator_key.json
sudo systemctl start Cardchain
The new node should start signing blocks once caught-up
Cardchain tx slashing unjail --chain-id $CARDCHAIN_CHAIN_ID --from mykey --gas=auto -y