mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 16:17:59 +00:00
79dcce1674
* update local chain name in docker-compose and docu the name of a local network changed from local to polkadot-local so some local test environments were broken and the ticket #965 was created * using CLI flags --alice in local dev as this directly adds the required keys to the keystore Co-authored-by: Christian Seidemann <christian.seidemann@t-systems.com>
517 B
517 B
Local Two-node Testnet
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=poladot-local --alice -d /tmp/alice
and in the other, run:
polkadot --chain=polkadot-local --bob -d /tmp/bob --port 30334 --bootnodes '/ip4/127.0.0.1/tcp/30333/p2p/ALICE_BOOTNODE_ID_HERE'
Ensure you replace ALICE_BOOTNODE_ID_HERE with the node ID from the output of
the first terminal.