๐ค This template is a minimal (in terms of complexity and the number of components) template for building a blockchain node.
๐ง Its runtime is configured with a single custom pallet as a starting point, and a handful of ready-made pallets such as a Balances pallet.
๐ค The template has no consensus configured - it is best for experimenting with a single node network.
A Polkadot SDK based project such as this one consists of:
๐ฆ The template is using the Rust language.
๐ Check the Rust installation instructions for your system.
๐ ๏ธ Depending on your operating system and Rust version, there might be additional packages required to compile this template - please take note of the Rust compiler output.
๐จ Use the following command to build the node without launching it:
cargo build --release
๐ณ Alternatively, build the docker image:
docker build . -t polkadot-sdk-minimal-template
๐ค The following command starts a single-node development chain:
./target/release/minimal-template-node --dev
# docker version:
docker run --rm polkadot-sdk-minimal-template --dev
Development chains:
ALICE
) is used as sudo
accounts.๐ You can interact with your local node using the hosted version of the Polkadot/Substrate Portal.
๐ช A hosted version is also available on IPFS.
๐งโ๐ง You can also find the source code and instructions for hosting your own instance in the
polkadot-js/apps
repository.
๐ This template is automatically updated after releases in the main Polkadot SDK monorepo.
โก๏ธ Any pull requests should be directed to this source.
๐ Please refer to the monorepo's contribution guidelines and Code of Conduct.
๐งโ๐ซ To learn about Polkadot in general, Polkadot.network website is a good starting point.
๐งโ๐ง For technical introduction, here are the Polkadot SDK documentation resources.
๐ฅ Additionally, there are GitHub issues and Substrate StackExchange.