stellar-base 0.2.0

Low level Stellar types
Documentation

Rust Stellar Base

CI codecov License

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 and Stroops to behave like numbers
  • Remove unnecessary Result<_> return types
  • Remove unused crypto types
  • Cleanup api, e.g. turn String into Into<String>, and Stroops into TryInto<Stroops>

Generating XDR types

You can generated XDR types using our fork of xdrgen.

Changelog

You can find a changelog here.