KEEP NETWORK — RANDOM BEACON (RB OR KEEP-CLIENT) NODE SETUP
This helps step by step process to setup Random Beacon (Keep-Client) Node in Server.
- ) Should have completed delegation of KEEP tokens, Authorize RB, tBTC and added ETH. Refer doc (till Step 8) :
2.) Should have Ubuntu Server ready.
3.) Keep handy the following
a.) ETH Address
b.) Infura Project ID
c.) Server IP Address
d.) Your ETH Wallet Passwd
SETTING UP NODE:
a.) Ensure to be in Home directory.
b.) Copy the scripts repository to your home directory.
a.) Change permissions of scripts Directory.
chmod -R 755 $HOME/keep-rb-repo
b.) Execute the script to intake YOUR SERVER IP, INFURA PROJECT ID, ETH ADDRESS, ETH WALLET PASSWORD, Install Docker, Create necessary directories create config.toml file with the required variables.
After execution of the above command (script) first screen shows as follows. Enter Your server IP and press enter. System keeps ask the next inputs.
After entering all inputs, script start executes which takes 5 to 10 mins. Please wait till completion of the script execution.
c.) Copy the contents of the Ethereum wallet keystore file into a new file on your server.
a.) Sometimes env variables does not reflect though stored in bash profile. Hence execute source command before starting RB Node (before executing 3.b).
b.) Execute following command to start Docker image for RB Node.
Command (Note : below is a single command .. Copy the complete content from sudo … till .. start and paste at server terminal and hit enter) :-
sudo docker run -dit \
--restart always \
--volume $HOME/keep-client:/mnt \
--env KEEP_ETHEREUM_PASSWORD=$KEEP_CLIENT_ETHEREUM_PASSWORD \
--env LOG_LEVEL=info \
--name keep-client \
-p 3919:3919 \
keepnetwork/keep-client:v1.3.0-rc.4 --config /mnt/config/config.toml start
Verification of Node running.
sudo docker ps -asudo docker logs keep-clientsudo docker logs --tail 1000 keep-client -f|grep 'number of connected peers:'