Broxus SDK with TIP3 wallets support and a bunch of helpers.
cargo add nekoton- Rust 1.65+
wasm-pack0.9.1+ (to test build for wasm target)- protoc 3.12.4+ (to generate .rs files from .proto)
Occasionally, you may need to change the .proto files that define request/response
data format. In this case, you will need to add a few steps to the above
workflow.
- Install the
protoccompiler. - Run
cargo run -p gen-protosregularly (or after every edit to a.protofile). Thegen-protosbinary will use theprost-buildlibrary to compile the.protofiles into.rsfiles. - If you are adding a new
.protofile, you will need to edit the list of these files ingen-protos/src/main.rs.
The .rs files generated from .proto files are included in the repository,
and there is a Github CI check that will complain if they do not match.
We welcome contributions to the project! If you notice any issues or errors, feel free to open an issue or submit a pull request.
This project is licensed under the License Apache.