Quick launch with Docker Stake Wars 2.0 (English)
If you want to get your feet wet, and see if Stake Wars is for you, try this quickstart guide:
  • Create a BetaNet account using our hosted wallet here.
  • Spin up an Ubuntu/Debian VPS and run nearup.
  • Deploy your staking pool using the Staking Pool Factory
  • Submit up this form to enroll in the Stake Wars.
This simple guide will help you install Near-Shell, Nearup, also Deploy your staking pool using the Staking Pool Factory and edit the validator_key.json
  • CPU: 2-Core (4-Thread) Intel i7/Xeon equivalent
  • RAM: 4GB DDR4
  • Storage: 100GB
#Update system
1
sudo apt update && sudo apt upgrade -y
2
sudo apt install python3 git curl -y
Copied!
#Near-Shell
1
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
2
source ~/.profile && source ~/.bashrc
3
nvm install v12.0.0
4
npm i -g near-shell --unsafe-perm
5
echo -n "export NODE_ENV=betanet" >> ~/.profile
6
source ~/.profile
7
near login
Copied!
#Nearup
1
curl --proto '=https' --tlsv1.2 -sSfL https://up.near.dev | python3
2
source $HOME/.nearup/env
3
sudo apt install docker.io
4
sudo usermod -aG docker ${USER}
5
exit
6
nearup betanet
7
docker logs --f nearcore
Copied!
#Edit validator_key
1
nearup stop
2
cat ~/.near/betanet/validator_key.json | grep 'public_key\|account_id'
3
sudo nano .near/betanet/validator_key.json
4
rm -rf ~/.near/betanet/data
5
nearup betanet
Copied!
Last modified 1yr ago
Copy link