<aside> 💡 It’s time to finally download the Substrate Node Template. This repository will give us everything we need to run, test, and create our very own custom FRAME-based pallet.

</aside>


🌀 Cloning & Building


You should already have the Rust toolset installed from the previous step. If not, go ahead and follow those then come back here. Keep in mind this may take a bit to build and run, so feel free to get a cup of coffee or read an awesome Medium article while you wait.

Keep in mind, this repo is a clone from the original substrate-node-template, but with a few tweaks to make it easier to work with for when we start our pallet development.

git clone <https://github.com/CrackTheCode016/substrate-node-template-course.git>
cd substrate-node-template-course/
# this will build and launch the node
# if you wish to just build it, then run cargo build --release
cargo run --release -- --dev

Once it’s built, we have multiple ways of interacting and running our node.

🎑 Running & Viewing our Development Chain


For immediate results to ensure our chain is up, go ahead and visit the Polkadot.js Explorer:

Polkadot/Substrate Portal

This link will automatically connect to your localhost node, where you can view all sorts of chain stats. For example, like accounts and their balances! You can view blocks and events on-chain too, which will come in handy later. Have a good look around!

Screenshot 2022-10-07 at 10.26.41 AM.png