Core for Bitcredit E-Bills project.
The project consists of the following crates:
bcr-ebill-core
- core data models and traitsbcr-ebill-persistence
- persistence traits and SurrealDB implementationbcr-ebill-transport
- network transport traits and Nostr implementationbcr-ebill-api
- API of the E-Bills project, contains most of the business logicbcr-ebill-web
- Entrypoint for Web applications using the Rocket web serverbcr-ebill-wasm
- Entrypoint for WASM version of the E-Bill API
There are both WASM
and Web
entry points into the API. You can find the documentation to build and configure them here:
You can run the existing tests using the following commands in the project root:
// without logs
cargo test
// with logs - (env_logger needs to be activated in the test to show logs)
RUST_LOG=info cargo test -- --nocapture
Check out the project contributing guide.