Polkadot SDK-like state machine written in Rust
This project is a simplified implementation of a blockchain state machine inspired by the Polkadot SDK. It includes basic modules for handling balances, proof of existence, and system-level operations. The state machine is designed to be extensible and modular, allowing for easy addition of new functionality.
The entry point of the application. It defines the main runtime and integrates various modules.
Contains fundamental data structures and traits used across the project, such as Block
, Header
, Extrinsic
, and the Dispatch
trait.
Implements the balances module, which handles account balances and related operations.
Implements the proof of existence module, which allows users to register and verify the existence of digital content.
Implements the system module, which handles system-level operations and configurations.
To build and run the project, use the following commands:
cargo build
cargo run