This monorepo contains the core crates for a device-to-device API using Blockchain Commons' GSTP
- abstracted: Abstractions of the BLE and SE chips
- api: The API - contains predefined QL messages
- api-demo: Tokio-based demo of device-to-device communication
- btp: Beefcake Transfer Protocol for splitting messages into MTU sized chunks
- quantum-link-macros: Macros to easily turn Rust Structs and Enums into valid QL messages
To build and run the crates in this repository, you will need to have Rust and Cargo installed.
To build all crates:
cargo build
To build a specific crate:
cargo build -p <crate_name>
To run all tests:
cargo test
To run tests for a specific crate:
cargo test -p <crate_name>
Contributions are welcome! Please see the contributing guidelines for more information.
This project is licensed under the GPLv3 License.