Update and Install Dependencies
apt update -y && apt upgrade -y && apt autoremove -y && apt install screen curl -y
Install Docker
apt install docker.io -y
Pull Images From Docker Hub
docker pull raiblocksone/raione:R1_V.02
Run Nodes Once To Get Settings File
docker run --restart=unless-stopped -d -p 7075:7075 -p 127.0.0.1:7076:7076 -p 127.0.0.1:7078:7078 -v /root/raiblocksone/:/root --name raione-node raiblocksone/raione:R1_V.02
Stop Nodes
docker stop raione-node
Enable Voting
sudo nano raiblocksone/Nano/config-node.toml
copy this code below to the config-node.toml
- Copy this code at the top of file config-node.toml
[node]
enable_voting = true
Change RPC Settings
change the value of enable_control to true
sudo nano raiblocksone/Nano/config-rpc.toml
Restart The Services
docker restart raione-node
RPC Command
- use this command to interact with your nodes
Check nodes version
curl -d '{"action": "version"}' localhost:7076
Check nodes version
curl -d '{"action": "block_count"}' localhost:7076
Create New Nodes Wallet_ID
curl -g -d '{ "action": "wallet_create"}' localhost:7076
Import your wallet into node
curl -g -d '{ "action": "wallet_change_seed", "wallet": "YOUR_NODES_WALLET_ID", "seed": "YOUR_SEED_64char"}' localhost:7076
more rpc command are available on official nano pages : https://docs.nano.org/commands/rpc-protocol/
To Backup Your SEED:
Go to your docker container
docker exec -it raione-node /bin/bash
Use Command below to get your SEED and Private Key
/usr/bin/./nano_node --wallet_decrypt_unsafe --wallet=%YOUR_WALLLET_ID%
Don’t forget to change the %YOUR_WALLLET_ID%