| Crates.io | stellar-baselib |
| lib.rs | stellar-baselib |
| version | 0.5.3 |
| created_at | 2023-06-26 09:47:53.085771+00 |
| updated_at | 2025-08-19 12:00:32.647343+00 |
| description | A low level Rust library that offers a comprehensive set of functions for reading, writing, hashing, and signing primitive XDR constructs utilized in the Stellar network |
| homepage | |
| repository | https://github.com/rahul-soshte/rs-stellar-base |
| max_upload_size | |
| id | 900196 |
| size | 400,548 |
A library that offers a comprehensive set of functions for reading, writing, hashing, and signing primitive XDR constructs utilized in the Stellar network. it provides a nice abstraction for building and signing transactions
This project is currently production and is compatible with Protocol 23 and you can use it for buidling and signing transactions that involve interacting with Soroban and also supports all stellar classic operations.
Add this to your Cargo.toml:
[dependencies]
stellar-baselib = "0.5.3"
And this to your code:
use stellar_baselib::*;
cargo test
All Rust code is linted with Clippy with the command cargo clippy. If preferred to ignore its advice, do so explicitly:
#[allow(clippy::too_many_arguments)]
All rust code is formatted with cargo fmt. rustfmt.toml defines the expected format.
Function and local variable names follow snake_case. Structs or Enums follow CamelCase and Constants have all capital letters.