Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.07 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.07 KB

Rust state machine

This repository hosts the solution to the polkadot SDK style implementation of a rust state machine following this excellent tutorial by Shawn.

How the repository is structured

Pallets implementation

Pallets are the building blocks, put together to compose the blockchain runtime. The set of functions which are exposed to agents external to the blockchain aka Extrinsics (for simplicity) are defined therein.

Support logic

This module defines generic representations of some basic primitives such as Block, Block Header etc and trait implementation to be re-used across the pallets.

Runtime

The runtime serves as the entry point into the system and concretely defines an implementation for the generic entities of the pallets.