This repo serves as a boilerplate to be used with cargo-generate
entry point to using Exonum
- an extensible open-source framework for creating private/permissioned blockchain applications (https://exonum.com).
cargo install cargo-generate
cargo generate --git https://github.com/exonum/exonum-service-boilerplate --name exonum-service
- blockchain - connects blockchain related stuff together.
- models.rs - where data layout using
encoding_struct
s is described. - transactions.rs - where transactions are described.
- schema.rs - where the data schema is declared.
- errors.rs - a place for blockchain-related errors.
- models.rs - where data layout using
- api.rs - REST API with Exonum methods.
- service.rs - Service Trait implementation along with some helpers.
- main.rs - entry point to the Exonum Service binary.