-
Notifications
You must be signed in to change notification settings - Fork 10
Run 2 nodes
dm4 edited this page Jul 23, 2020
·
1 revision
git clone https://github.com/second-state/substrate-ssvm-node.git
cd substrate-ssvm-node
docker run -it --rm \
--name ssvm \
-v $(pwd):/root/node \
-w /root/node \
secondstate/substrate-ssvm
# in docker
cargo run --release --bin node-template -- purge-chain --base-path ~/node/data --chain local -y
cargo run --release --bin node-template -- \
--base-path ~/node/data \
--chain local \
--alice \
--port 30333 \
--ws-port 9944 \
--rpc-port 9933 \
--telemetry-url 'ws://telemetry.polkadot.io:1024 0' \
--validator
git clone https://github.com/second-state/substrate-ssvm-node.git
cd substrate-ssvm-node
docker run -it --rm \
--name ssvm \
-v $(pwd):/root/node \
-w /root/node \
secondstate/substrate-ssvm
# in docker
cargo run --release --bin node-template -- purge-chain --base-path ~/node/data --chain local -y
cargo run --release --bin node-template -- \
--base-path ~/node/data \
--chain local \
--bob \
--port 30333 \
--ws-port 9944 \
--rpc-port 9933 \
--telemetry-url 'ws://telemetry.polkadot.io:1024 0' \
--validator \
--bootnodes /ip4/<NODE-01-IP>/tcp/30333/p2p/<NODE-01-IDENTITY>