0

Is there any ready open blockchain to start? I need the one with staking and with opportunity to make new tokens. To send tokens with other users in this blockchain. Or maybe someting close to this. I tried to make it from substrate-node-template, but I dont understand how to add new pallets like pallet_staking or others. Or maybe you can recommend any clear tutorial except the official substrate one. Thanks.

1 Answer 1

1

Here i am trying to show you easy way to add pallet into substrate node template

First you need to add dependency of your pallet which you want to add into substrate-node-template in the runtime/Cargo.toml then add the pallet into theruntime/src/lib.rs then Implement the configuration trait for the pallet into runtime/src/lib.rsat the last add the pallet to the construct_runtime. Then build it by using cargo build --release

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.