The Devol Accounts Kit is equipped with a set of features that cater to various use cases in blockchain application development. The library is structured with a default feature set, which compiles the entire library including all functionalities necessary for typical applications. Additionally, there is a specific feature designed for blockchain environments:

  • On-chain Feature

    The on-chain feature is specifically designed for scenarios where the network-dependent functionalities are not required. When this feature is enabled, it removes all network-related parts of the library, making it suitable for deployment within smart contracts themselves. This feature ensures that the library is optimized for on-chain operations, reducing the footprint and enhancing performance for smart contract execution.
cargo run --features on-chain