Keep Nodes

Easily run a Keep Node, update it or get help :)

Update your nodes with ...

The key activities to update both nodes are the following:

1. Get a New Grant for the KEEP Tokens from the Testnet Faucet:

https://us-central1-keep-test-f3e0.cloudfunctions.net/keep-faucet-ropsten?account= "Your Operator Ethereum Address"

Then Stake your grant in the KEEP Dapp.

2. Authorize your Contracts in the KEEP Dapp:

Authorize for Random Beacon
Authorize for ECDSA and add ETH for Bonding

3. Stop Docker Containers:

Make sure you use correct containers names, check them with sudo docker ps command.

First stop the containers:
For Random Beacon: sudo docker stop keep-client
For ECDSA: sudo docker stop ecdsa

Then remove Current Containers :
For Random Beacon: sudo docker rm keep-client
For ECDSA: sudo docker rm ecdsa

4. Pull New Docker Images:

For Random Beacon: sudo docker pull keepnetwork/keep-client:v1.3.0-rc.4
For ECDSA: sudo docker pull keepnetwork/keep-ecdsa-client:v1.2.0-rc.5

5. Update Config.toml file with new contracts:

If running both nodes on the same VPS remember each config file is in its own folder. In this example named keep-client and keep-ecdsa.
Make sure you check the correct folders names with ls command.

For Random Beacon:
nano $HOME/keep-client/config/config.toml
KeepRandomBeaconOperator = "0xC8337a94a50d16191513dEF4D1e61A6886BF410f"
TokenStaking = "0x234d2182B29c6a64ce3ab6940037b5C8FdAB608e"
KeepRandomBeaconService = "0x6c04499B595efdc28CdbEd3f9ed2E83d7dCCC717"

For ECDSA:
nano $HOME/keep-ecdsa/config/config.toml
BondedECDSAKeepFactory = “0x9EcCf03dFBDa6A5E50d7aBA14e0c60c2F6c575E6”
Sanctioned Applications = “0xc3f96306eDabACEa249D2D22Ec65697f38c6Da69”

6. Start Docker Containers:

This command may change according to the guide you used initially (e.g. the ports may not be 3919:3919). Make sure you reference the new docker images and run each in their own folder if on the same VPS !

For Random Beacon:
sudo docker run -dit --restart always --volume $HOME/keep-client:/mnt --env KEEPETHEREUMPASSWORD=$KEEPCLIENTETHEREUMPASSWORD --env LOGLEVEL=debug --log-opt max-size=100m --log-opt max-file=3 --name keep-client -p 3919:3919 keepnetwork/keep-client:v1.3.0-rc --config /mnt/config/config.toml start

For ECDSA:
sudo docker run -d --restart always --entrypoint /usr/local/bin/keep-ecdsa --volume $HOME/keep-ecdsa:/mnt/keep-ecdsa --env KEEPETHEREUMPASSWORD=$KEEPCLIENTETHEREUMPASSWORD --env LOGLEVEL=debug --log-opt max-size=100m --log-opt max-file=3 --name ecdsa -p 3919:3919 keepnetwork/keep-ecdsa-client:v1.2.0-rc --config /mnt/keep-ecdsa/config/config.toml start

7. Check Logs for connection to Peers:

For Random Beacon:
sudo docker logs keep-client 2>&1 --since 5m | grep "number of connected peers"

For ECDSA: sudo docker logs ecdsa 2>&1 --since 5m | grep "number of connected peers"
If it shows some errors first make sure that contracts are authorized in the dashboard. Sometimes you just have to do it again.

Finally, don't forget to add some test ETH to the tBTC bonding on the Dashboard !

Run Keep and ECDSA nodes with Bonsfi

Bonsfi here :)

I wanted to reach out and offer a different type of support for the Keep community.

I know at times trying to receive an answer about a question or a response in Discord can take time if you do not ping the correct people. Even then, we are spread so far in different time zones that finding the perfect time to get all your answers taken care of is pretty much impossible without some type of prior arrangements are made. So I wanted to extend an offer for the newer members and maybe for some of the newly added members that I will work with you guys and even set up a class or a online “How to Set Up Your Keep Node” done via Google Meet.

Due to the ammount of different languages we have in the community I must request that either you know English or Spanish well.

Right now, I am just trying to get a feel of how many people may be interested in this. So, if you’d like my help please fill out the form below:

https://forms.gle/DV2Arnb3wHfS3Lq48