Setting up local Rococo testnet
Install Rust
Build Relay Chain Node
git clone https://github.com/paritytech/polkadot.git
cd polkadot
git checkout 93f0029
rustup install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release
Print the help page to ensure the node built correctly:
./target/release/polkadot --help
Build Collator Template
git clone https://github.com/substrate-developer-hub/substrate-parachain-template.git (from the main rococo_testnet folder)
cd substrate-parachain-template
git checkout 9506b93
cargo build --release
Print the help page to ensure the node built correctly:
./target/release/parachain-collator --help
Now everything is compiled/ready to go!
Start Alice, Bob, and Charlie
./start_alice.sh
./start_bob.sh
./start_charlie.sh
Start the parachains:
./start_200.sh
./start_300.sh
Register the parachains
Now you should have a fully functioning network with 3 validators and 2 parachains!