Nodesanna
3 min readJun 22, 2020

--

From dreamstaker.betanet & valeraverim staking pool.

Enroll your node.

Finally you decide to take part in stakewars. So, what you should do first of all? Create new wallet here: https://wallet.betanet.near.org/. 50 tokens are not enought to take part in competition, isn’t it? ;-). To recieve 75000 tokens to your wallet you need to register here: https://nearprotocol1001.typeform.com/to/TvvOMf and make pull request to the VALIDATORS.md file. Go here: https://github.com/nearprotocol/stakewars/blob/update-validators-list/VALIDATORS.md and edit it:

Scroll down and append your validator info at the end of the table like or to the top section of the list (which is reserved for staking pools)if you running the [staking-pool contract](https://github.com/near/initial-contracts/).

Name your commit and propose changes:

Create pull request:

And:

Now wait while admin will make changes in several days and you’ll see you in the table.

— — — — — — — — — — — — — — — — — — — — — — — — — —

Meanwhile, you should delete the access keys and lock your staking pool. Let’s do it. Check if your staking pool has got public key and delete it:

export NODE_ENV=betanet
near keys <YOUR_POOL_ID> | grep public_key
near delete-key --accountId=<YOUR_POOL_ID> "<YOUR_PUBLIC_KEY>"

It looks like this:

If everything is ok you’ll see “SuccessValue” and no key if run again grep public_key:

Now you can safely delegate token to your staking pool. Let’s delegate some funds from our wallet to our pool:

near call <YOUR_POOL_ID> deposit '{}' --accountId <YOUR_BETANET_WALLET_ID> --amount 200

& stake them now:

near call <YOUR_POOL_ID> stake '{"amount": "200000000000000000000000000"}' --accountId <YOUR_BETANET_WALLET_ID>

Now check if your pool is in current proposals:

near proposals

If you find your node in proposals you should find it in validators list next epoch:

near validators next
near validators current

Also you can check nearup logs nearup logs

If you see V/96 — you are validator one of the 96 nodes at the moment. If there -/96 than your are not and likely you are in proposals now.

So, when you’ll see “V” in your logs, try to avoid mistakes and achieve 100% uptime on your node.

--

--