Giter Club home page Giter Club logo

dotemplate's Introduction

POP

Your one-stop entry into the exciting world of Blockchain development with Polkadot

Getting Started

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.