Skip to content

Gbenga238/zenchain

Repository files navigation

Steps

First fill in the .env file.

cp .env.sample .env && nano .env

Get ready

Step 1

Run

chmod +x setup.sh
./setup.sh

Step 2

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

Step 3

Set keys

curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9944

Step 4

Set key

Run

python3 setkey.py

Step 5

python3 register.py

Step 6

python3 stake.py

Step 7

python3 status.py

Step 8

chmod +x replace.sh

./replace.sh safe.yml

git fetch --all

git reset --hard origin/master

About

zenchain setup scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published