Skip to content

kianenigma/flite

Repository files navigation

FLITE

📐 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.

  • flite is one such crate. It is an opinionated replacement for frame_system, and a set of defaults for a number of other pallets.
  • simple-pallet is a demonstration of how a new pallet can be built using flite instead of frame_system.
  • runtime is 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.

Running with OmniNode

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

About

📐 FLITE: FRAME, but lower on the dose of complexity, ergo lite. Part of Polkadot-SDK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages