IMPORTANT
Integration test suite is not complete (file service, smart contract 2.0 service). API of lib may change/evolve.
hedera_rust_client
Rust client for the Hedera Network
Rust client and utils for interacting with the Hedera Network. This library has been written to mimic, where possible, the offical Hedera Java, JS, and Go SDKs.
Getting Started
You will need a testnet account to run integration tests with the Hedera network Hedera TestNet Access
Minimum Supported Rust Version
Minimum Supported Rust Version is 1.58.1
Installation
- Provide Hedera AccountId and Private Key for TestNet access through
.env
file or through having said env vars set
ACCOUNT_ID=<INSERT>
PRIVATE_KEY=<INSERT>
- Run all integration tests. NOTE - integration tests w/ Hedera network are ignored by default
cargo test -- --ignored
Usage
See examples and integration tests
Tracing
This library uses the tracing crate for logging during execution
Roadmap
- Complete integration testing coverage
- Update smart contract transactions to latest
See the open issues for a full list of proposed features (and known issues).
Contributing
Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Run full test suite w/o errors or issues (
cargo test -- --ignored
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a pull request
NOTE - all pull requests must pass all integration tests before merge
License
Distributed under Apache 2.0 and MIT License. See LICENSE-MIT
and LICENSE-APACHE
for more information.
Contact
Project Link: https://github.com/daly4/hedera_rust_client