Skip to content

A repository for managing the use of kickstart on the latest version of Substrate's Node Template. This allows to easily configure the Substrate Node Template from the command line.

License

Notifications You must be signed in to change notification settings

sacha-l/kickstart-substrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kickstart-substrate

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:

  1. Renames the template pallet.
  2. Renames the node.

🧐 How to use it

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>

Maintanence note

To ensure submodule is updated, run:

git submodule update --remote --merge

⌛ Coming soon™️

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

🙏 Acknowledgements

Thanks to Keats for making the Kickstart tool and for Chevdor for showing it to me!

Contribute

This repo contains submodules, make sure you initialize them by cloning with:

git clone --recurse-submodules [email protected]:chevdor/kickstart-substrate.git

About

A repository for managing the use of kickstart on the latest version of Substrate's Node Template. This allows to easily configure the Substrate Node Template from the command line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published