Skip to content

Commit

Permalink
add bootnode to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kings177 authored Jan 2, 2025
1 parent 9711137 commit 9599a43
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@ To run a node locally, run the following command:
# You need to have the infra repo with the same parent folder as the torus-substrate repo

# To run a node on the testnet
cargo run -p torus-node -- --chain ../infra/data/testnet/spec.json
cargo run -p torus-node --release --locked -- --chain ../infra/data/testnet/spec.json --bootnodes "/dns4/validator-0.nodes.testnet.torus.network/tcp/30333/p2p/12D3KooWMxgfPZQ7AmTnSKbPmBrQuJ9UXwsXP98g578MdJFy5cHm"

# To run a node on the mainnet
cargo run -p torus-node -- --chain ../infra/data/mainnet/spec.json
```

To generate a new spec file:
```
TODO
cargo run -p torus-node --release --locked -- --chain ../infra/data/mainnet/spec.json --bootnodes "/dns4/validator-0.nodes.torus.network/tcp/30333/p2p/12D3KooWMusxwQjbKYf4oXDciA7maVUWoBHw5im6dzi9vDj5M4QD"
```

0 comments on commit 9599a43

Please sign in to comment.