Your one-stop entry into the exciting world of Blockchain development with Polkadot
Use pop
to either clone of your existing templates or instantiate a new parachain template:
# Create a minimal parachain template
pop create my-app
# Get the extended-parachain-template
pop create my-app ept
# Get a pallet-contracts enabled template
pop create my-app cpt
# Get a evm compatible parachain template
pop create my-app fpt
You can also customize a template by providing config options for token symbol (as it appears on polkadot-js apps UI), token decimals, and the initial endowment for substrate developer accounts. Here's how:
# Create a minimal parachain template with "DOT" as token symbol, 6 token decimals and 1 billion tokens per dev account
pop create my-app --symbol DOT --decimals 6 --endowment 1_000_000_000
There's also the shorter version:
pop create my-app -s DOT -d 6 -i 1_000_000_000
To create a new pallet, simply pop pallet
. And that's it. You will have a new pallet-template
ready for hacking.
To customize the new pallet you can follow these options:
# create a pallet with name `pallet-awesome` in the current working directory
pop pallet pallet-awesome
# or with options
pop pallet pallet-awesome --authors Me --description "This pallet oozes awesomeness" --path my_app/pallets
Finally, you would need to build and run it.
cd my-app
cargo build --release
For running any parachain, we recommend using zombienet.
Zombinet integration coming soon...