📐 FLITE: FRAME, but lower on the dose of complexity, ergo lite. Part of Polkadot-SDK
This repo is a demo of how a much simpler variant of FRAME can be built, solely using existing abstractions.
fliteis one such crate. It is an opinionated replacement forframe_system, and a set of defaults for a number of other pallets.simple-palletis a demonstration of how a new pallet can be built usingfliteinstead offrame_system.runtimeis a runtime containing both of the aforementioned.
Tip
None of the code provided here is production-ready, but is merely for demonstrating techniques. The main audience of this is educators and creative builders in the Polkadot ecosystem.
Install dependencies:
cargo install polkadot-omni-node
cargo install staging-chain-spec-builder
Build the runtime and gßnerate the chain-spec:
cargo build --release
chain-spec-builder create -t development --relay-chain "dont-care" --para-id 9999 --runtime ./target/release/wbuild/runtime/runtime.wasm default
Then run the node:
polkadot-omni-node --chain ./runtime/chain_spec.json --dev-block-time 1000