referrerpolicy=no-referrer-when-downgrade

Module polkadot_sdk_docs::polkadot_sdk::templates

source ·
Expand description

Index of all the templates that can act as first scaffold for a new project.

§Templates

This document enumerates a non-exhaustive list of templates that one can use to get started with polkadot-sdk.

Know more tools/templates that are not listed here? please contribute them by opening a PR.

§Internal

The following templates are maintained as a part of the polkadot-sdk repository:

  • minimal-template: A minimal template that contains the least amount of features to be a functioning blockchain. Suitable for learning and testing.
  • solochain-template: Formerly known as “substrate-node-template”, is a white-labeled substrate-based blockchain (aka. solochain) that contains moderate features, such as a basic consensus engine and some FRAME pallets. This template can act as a good starting point for those who want to launch a solochain.
  • parachain-template: A parachain template ready to be connected to a relay-chain, such as Paseo , Kusama or Polkadot.

Note that these templates are mirrored automatically from this directory of polkadot-sdk, therefore any changes to them should be made as a PR to this repo.

§OpenZeppelin

In June 2023, OpenZeppelin was awarded a grant from the Polkadot treasury for building a number of Polkadot-sdk based templates. These templates are a great starting point for developers and newcomers. So far OpenZeppelin has released two templates, which have been fully audited:

  • generic-runtime-template: A minimal template that has all the common pallets that parachains use with secure defaults.
  • evm-runtime-template: This template has EVM compatibility out of the box and allows migrating your solidity contracts or EVM compatible dapps easily. It also uses 20 byte addresses like Ethereum and has some Account Abstraction support.

§POP-CLI

Is a CLI tool capable of scaffolding a new polkadot-sdk-based project, possibly removing the need for templates.