This pulls from an actively updated branch of Substrate's node template. It
runs a script in template.toml
which makes it easy to customize a node template. Customize is a big word. For now it does the little things:
- Renames the template pallet.
- Renames the node.
Install kickstart
(you'll only need to do this once):
cargo install kickstart
cd
in the directory you'd like this project to live in and run:
kickstart https://github.com/sacha-l/kickstart-substrate
Then, you'll be prompted to type in the pallet and node names.
If you want to specify a folder to clone into, run:
mkdir <folder_name>
kickstart https://github.com/sacha-l/kickstart-substrate -o <folder_name>
To ensure submodule is updated, run:
git submodule update --remote --merge
- A way to add more pallets from the CLI using Tera.
- A way to do some basic pallet scaffolding based on user input. For example, storage items; events; errors.
- Ask user if they're using the template for production. If yes, handle the renaming of author and project repositories.
Thanks to Keats for making the Kickstart tool and for Chevdor for showing it to me!
This repo contains submodules, make sure you initialize them by cloning with:
git clone --recurse-submodules [email protected]:chevdor/kickstart-substrate.git