-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Tin Chung edited this page May 12, 2024
·
5 revisions
Substrate node template is a node program for quickly developing Substrate application chains. It has a built-in Proof of Authority (PoA) consensus algorithm. The block generation algorithm is Aura , which means that the nodes and order of block generation are fixed. An online public blockchain application needs to achieve a certain degree of decentralization and ensure security through random block generation. Substrate's built-in Proof of Stake (PoS) consensus algorithm is designed to meet such needs.
You can learn more about pop-cli
here: https://github.com/r0gue-io/pop-cli
- Install the
pop-cli
: cargo install --locked --git https://github.com/r0gue-io/pop-cli - Create a new parachain boilerplate code with
pop new parachain substrate-npos
- Build your newly created local parachain with
cd substrate-npos && pop run parachain
- Run your local relaychain network using Zombienet with
pop up parachain -f ./network.toml
Now you are ready to kickstart working on the later steps.