mirror of
https://github.com/alexgo-io/bridge-launch-governance.git
synced 2026-01-12 08:34:18 +08:00
Utils
- All commands are assumed to run in the
utilsdirectory.
Create Validator Info
via Docker
- It is possible to use the Docker image installed to some extent when operating the validator.
- Can remove the generated image with the command below.
sudo docker system prune -af
via NVM
- install nvm
nvm install v18.9.0
npm install -g yarn
STACKS Layer1
- Generate validator
sudo docker build -f stacks/Dockerfile --tag stacks.layer1:1.0 .
sudo docker run --rm stacks.layer1:1.0
yarn
node stacks/gen.validator.js
TON Layer 1
- Generate validator
sudo docker build -f ton/Dockerfile --tag ton.layer1:1.0 .
sudo docker run --rm ton.layer1:1.0
yarn
node ton/gen.validator.js