Rust Stellar Base
Introduction
This crate contains low level Stellar types. You can use this library to build and sign Stellar transactions, as well as to serialize and deserialize them from XDR.
If you are looking for a crate to interact with Stellar Horizon, look at stellar-horizon.
Features
- Working XDR definitions for all Stellar types.
- Seamlessy convert monetary amounts between decimal representation and stroops.
Documentation
You can find the documentation on docs.rs.
Roadmap
The library is fairly complete, so we should be able to stabilise the API soon.
- Consider making all types possibly mutable
- Implement signigning transactions with hashX and preauthtx
- Improve
Amount
andStroops
to behave like numbers - Remove unnecessary
Result<_>
return types - Remove unused crypto types
- Cleanup api, e.g. turn
String
intoInto<String>
, andStroops
intoTryInto<Stroops>
Generating XDR types
You can generated XDR types using our fork of xdrgen
.