https://github.com/apache/incubator-resilientdb-rust_sdk
Global-Scale Sustainable Blockchain Fabric
https://github.com/apache/incubator-resilientdb-rust_sdk
blockchain blockchain-platform crypto distributed-database distributed-ledger key-value-database smart-contracts solidity utxo
Last synced: about 1 month ago
JSON representation
Global-Scale Sustainable Blockchain Fabric
- Host: GitHub
- URL: https://github.com/apache/incubator-resilientdb-rust_sdk
- Owner: apache
- License: apache-2.0
- Created: 2023-11-04T21:09:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-15T01:50:42.000Z (6 months ago)
- Last Synced: 2026-01-26T18:50:12.686Z (5 months ago)
- Topics: blockchain, blockchain-platform, crypto, distributed-database, distributed-ledger, key-value-database, smart-contracts, solidity, utxo
- Language: Rust
- Homepage: https://resilientdb.incubator.apache.org/
- Size: 120 KB
- Stars: 4
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Notice: NOTICE
Awesome Lists containing this project
README
---
## DEPRECATION NOTICE
This repository is deprecated.
Active development now continues in the [ResilientDB Monorepo](https://github.com/apache/incubator-resilientdb).
The Resilent Rust SDK can be found at [ecosystem/sdk/rust-sdk](https://github.com/apache/incubator-resilientdb/tree/master/ecosystem/sdk/rust-sdk).
---
# ResilientDB Rust SDK

[](https://crates.io/crates/resilientdb_rust_sdk)
[](https://opensource.org/licenses/Apache-2.0)
## Overview
The ResilientDB Rust SDK is a powerful Rust library that facilitates seamless interaction with resource databases. It offers comprehensive APIs for managing transactions and blocks, simplifying integration with systems requiring robust data management capabilities.
## Features
- **Transaction Management**: Create, retrieve, and manage transactions effortlessly.
- **Block Operations**: Retrieve, group, and query information about blocks based on specified criteria.
- **Flexible Configuration**: Tailor your interactions with resource databases using versatile configuration options.
## Installation
Add this line to your `Cargo.toml` file to integrate the SDK into your Rust project:
```toml
[dependencies]
resilientdb_rust_sdk = "0.1.0"
```
## Usage
```rust
// Import the ResDB SDK
use resilientdb_rust_sdk::ResDB;
// Create a new ResDB instance
let res_db = ResDB::new();
// Example: Create a new transaction object
let transaction = res_db.create_object::();
// Example: Get all transactions from a specified API endpoint
let all_transactions = res_db.get_all_transactions::("https://api.example.com").await;
```
## Examples
```rust
// Example: Retrieve all blocks from a specified API endpoint
let all_blocks = res_db.get_all_blocks::("https://api.example.com/blocks").await;
// Example: Group blocks with a specified batch size
let grouped_blocks = res_db.get_blocks_grouped::("https://api.example.com/blocks", &100).await;
```
## Contributing
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
## License
This SDK is licensed under the [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0).
## Acknowledgments
- Special thanks to [contributors](https://github.com/dhruvsangamwar/resilientdb_rust_sdk/graphs/contributors).
- This SDK leverages the power of [serde](https://crates.io/crates/serde) for serialization and deserialization.