Code used for the Custom Rpc and RuntimeApis Deep Dive in the polkadot channel.
Use the following command to build the node without launching it:
cargo build --release
After you build the project, you can use the following command to explore its parameters and subcommands:
./target/release/node-template -h
You can generate and view the Rust Docs for this template with this command:
cargo +nightly doc --open
The following command starts a single-node development chain that doesn't persist state:
./target/release/node-template --dev
To purge the development chain's state, run the following command:
./target/release/node-template purge-chain --dev
To start the development chain with detailed logging, run the following command:
RUST_BACKTRACE=1 ./target/release/node-template -ldebug --dev