Node
Gem Node a fresh FRAME-based Web3 network, ready for hacking ๐
#
Getting Started#
Rust SetupFirst, complete the basic Rust setup instructions.
#
RunUse Rust's native cargo
command to build and launch the Gem node:
cargo run --release -- --dev --tmp
#
BuildThe cargo run
command will perform an initial build. Use the following command to build the node
without launching it:
cargo build --release
#
Embedded DocsOnce the project has been built, the following command can be used to explore all parameters and subcommands:
./target/release/gem -h
#
RunThe provided cargo run
command will launch a Gem node and its state will be discarded after
you terminate the process. After the project has been built, there are other ways to launch the
node.
#
Single-Node Development ChainThis command will start the single-node development chain with persistent state:
./target/release/gem --dev
Purge the development chain's state:
./target/release/gem purge-chain --dev
Start the development chain with detailed logging:
RUST_LOG=debug RUST_BACKTRACE=1 ./target/release/gem -lruntime=debug --dev
#
Connect with Polkadot-JS Apps Front-endOnce the Gem node is running locally, you can connect it with Polkadot-JS Apps front-end to interact with your chain. Click here connecting the Apps to your local Gem node.