Quick launch with Docker Stake Wars 2.0 (English)

ERM

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

Hardware Requirements:

  • CPU: 2-Core (4-Thread) Intel i7/Xeon equivalent

  • RAM: 4GB DDR4

  • Storage: 100GB

#Update system

sudo apt update && sudo apt upgrade -y
sudo apt install python3 git curl -y

#Near-Shell

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile && source ~/.bashrc
nvm install v12.0.0
npm i -g near-shell --unsafe-perm
echo -n "export NODE_ENV=betanet" >> ~/.profile
source ~/.profile
near login

#Nearup

curl --proto '=https' --tlsv1.2 -sSfL https://up.near.dev | python3
source $HOME/.nearup/env
sudo apt install docker.io
sudo usermod -aG docker ${USER}
exit
nearup betanet
docker logs --f nearcore

#Edit validator_key

nearup stop
cat ~/.near/betanet/validator_key.json | grep 'public_key\|account_id'
sudo nano .near/betanet/validator_key.json
rm -rf ~/.near/betanet/data
nearup betanet