First fill in the .env file.
cp .env.sample .env && nano .env
Run
chmod +x setup.sh
./setup.sh
Install dependencies.
pip install -r requirements.txt
Then install zenchain node.
docker pull ghcr.io/zenchain-protocol/zenchain-testnet:latest
Run it
docker compose up -d
Set keys
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9944
Set key
Run
python3 setkey.py
python3 register.py
python3 stake.py
python3 status.py
chmod +x replace.sh
./replace.sh safe.yml
git fetch --all
git reset --hard origin/master