- Rust 1.74.0 - This project uses Substrate
polkadot-v1.0.0which is incompatible with newer Rust versions. The required version is pinned inrust-toolchain.toml.
Build
cargo build --releaseTest
cargo testTest only pallet functionality
cargo test -p pallet-reclaim --lib Run node dev
./target/release/node-template --devWhile the above command is running in a separate terminal, hit the following to launch the interface
cd substrate-front-end-template
yarn install
yarn startBuild
cargo build --release --features runtime-benchmarksRun
./target/release/node-template benchmark pallet \
--chain dev \
--wasm-execution=compiled \
--pallet pallet-reclaim \
--extrinsic '*' \
--steps 50 \
--repeat 20 \
--output ./runtime/src/weights.rs