Spinning up Polkadot
How to spin up the Polkadot Relay chain locally
Perhaps the simplest workflow a developer would want is to spin up a local Polkadot network.
With Pop CLI this can be done.
First, create the following network.toml
file in your project's root directory.
This is specifying a network configuration using the polkadot-local chain along with two validator nodes to run the network:
alice
andbob
.
Let's run it.
It may take some time if it prompts you to download the binaries. Grab some coffee.
Eventually, you will get output like so:
Congrats! You now have a Polkadot network running locally!
For more network configurations:
For more advanced options, such as specifying the Relay chain version, run the following command:
Learning Resources
🧑🏫 To learn about Polkadot in general, Polkadot.network website is a good starting point.
⭕ Learn more about parachains here.
🧑🔧 For technical introduction, here are the Polkadot SDK documentation resources.
Technical Support
Create a question and tag it with "
pop
"Share the StackExchange question in our Pop Support Telegram channel
Last updated