From 5ef7fc4ab5b0548214e1c6945751556fd1a00178 Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Fri, 11 May 2018 14:00:29 +0200 Subject: [PATCH] Fixed local net CLI example (#154) --- substrate/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/README.md b/substrate/README.md index 35e32bec0b..16b75dabf6 100644 --- a/substrate/README.md +++ b/substrate/README.md @@ -50,13 +50,13 @@ If you want to see the multi-node consensus algorithm in action locally, then you can create a local testnet. You'll need two terminals open. In one, run: ``` -polkadot --chain=dev --validator --key Alice -d /tmp/alice +polkadot --chain=local --validator --key Alice -d /tmp/alice ``` and in the other, run: ``` -polkadot --chain=dev --validator --key Bob -d /tmp/bob --port 30334 --bootnodes 'enode://ALICE_BOOTNODE_ID_HERE@127.0.0.1:30333' +polkadot --chain=local --validator --key Bob -d /tmp/bob --port 30334 --bootnodes 'enode://ALICE_BOOTNODE_ID_HERE@127.0.0.1:30333' ``` Ensure you replace `ALICE_BOOTNODE_ID_HERE` with the node ID from the output of