Skip to content

vinamogit/rs-stellar-base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stellar Base Library

Crates.io Crates.io Crates.io

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.

Quickstart

Add this to your Cargo.toml:

[dependencies]
stellar-baselib = "0.5.4"

And this to your code:

use stellar_baselib::*;

How to run tests

cargo test

Coding Best Practices Used

  1. 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)]

  2. All rust code is formatted with cargo fmt. rustfmt.toml defines the expected format.

  3. Function and local variable names follow snake_case. Structs or Enums follow CamelCase and Constants have all capital letters.

About

Stellar base library in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%