It's great task because I lost lots of chunks and missed too much epochs on some technical problems with network and also I my choise of Contabo VPS was a mistake. I had to move to another service. For prepairing I have completed next steps:
- Challenge 001 - Deployment NEAR CLI
- Challenge 002 - Deployment a node
- Challenge 002 - Downloading a snapshot
- Challenge 002 - Setting neard as system service
Then I waited downloading previous blocks data and I have used scp
util to transmit data over SSH connection between hosts.
scp /home/timur/.near/validator_key.json [email protected]:/home/timur/.near/
scp /home/timur/.near/node_key.json [email protected]:/home/timur/.near/
scp /home/timur/.near/config.json [email protected]:/home/timur/.near/
Compare it and see that they are equal 😎
cat validator_key.json | jq | grep public_key
Update IP adress in config.json
nano config.json
mv validator_key.json _validator_key.json
mv node_key.json _node_key.json
ls
> config.json data genesis.json _node_key.json _validator_key.json
Important ❗ First You must stop neard daemon on old host then you can restart your daemon on new host with new keys
- Stop daemon neard on old host
sudo systemctl stop neard
- Restart on new host
sudo systemctl restart neard
⏮ Challenge 011 | Challenge 014 ⏭ |
---|