Ghost is a Substrate-based blockchain under active development. The current branch contains a Ghost consensus pallet, CLI helpers, and native build/test support, but it is not yet a live hybrid PoW/PoS testnet.
- The node service still uses Aura for block authoring and GRANDPA for finality.
- The
pallet-ghost-consensuscode path contains Ghost PoW/PoS/PQC logic, but it is not yet the block production engine. - Native pallet/runtime tests and a full embedded-Wasm node build are available with the documented Substrate toolchain.
- A local Aura/GRANDPA two-validator smoke test passes via
scripts/e2e-local.sh. - Dilithium5 verification is present for native/std paths, but the runtime no_std/Wasm PQC path is not yet a completed testnet-ready feature.
pallet-ghost-consensusunit tests.- Embedded-Wasm node builds.
- Single-node dev authoring.
- Two-node local authoring and GRANDPA finality on the Aura/GRANDPA path.
- Ghost CLI helpers such as
ghost status,ghost mine,ghost stake, andghost balancein native mode. - Development account setup for Alice and Bob in the chain spec.
- Wiring Ghost consensus into live block authoring and finality.
- Reliable reward attribution and distribution through the live block path.
- Multi-node E2E testing on the actual Ghost consensus path.
- Runtime PQC verification that works in no_std/Wasm.
Use the local smoke test first:
rtk scripts/e2e-local.shFor a manual full build:
rtk env \
WASM_BUILD_WORKSPACE_HINT=$PWD \
LIBCLANG_PATH=/lib/llvm-18/lib \
BINDGEN_EXTRA_CLANG_ARGS="-I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/include/x86_64-linux-gnu -I/usr/include" \
cargo build --bin ghost-nodeRun the pallet tests:
rtk cargo test -p pallet-ghost-consensusFor a release build:
rtk cargo build --release --bin ghost-nodeThe native binary can be used for local inspection:
./target/debug/ghost-node ghost status --detailed
./target/debug/ghost-node ghost mine --threads 1 --difficulty 18446744073709551615Run the repeatable local E2E smoke test with:
rtk scripts/e2e-local.shSee docs/testnet-readiness.md for the checklist and runbook that gate testnet launch.
node/: client, CLI, RPC, chain spec, and service wiring.runtime/: FRAME runtime composition.pallets/pallet-ghost-consensus/: Ghost consensus logic, reward rules, slashing, and staking primitives.
Ghost targets 5-second blocks, a 10 GHOST block reward, a 40/60 miner-to-staker split, and a minimum stake of 1 GHOST. Those are the intended economics and protocol goals; the docs in this repository now call out where the current implementation has reached the live path and where it still has work left.