Skip to content

Latest commit

History

History
56 lines (36 loc) 路 4.18 KB

README.md

File metadata and controls

56 lines (36 loc) 路 4.18 KB

stable-swap

License Build Status Contributors

An automated market maker for mean-reverting trading pairs.

Documentation

Detailed information on how to build on Saber can be found on the Saber developer documentation website.

Automatically generated documentation for Rust Crates is available below.

Rust Crates

Package Description Version Docs
stable-swap Saber StableSwap program. crates Docs.rs
stable-swap-anchor Anchor bindings for the StableSwap Rust client. Crates.io Docs.rs
stable-swap-client StableSwap Rust client. crates Docs.rs
stable-swap-fuzz Fuzz tests for the Saber StableSwap program. crates Docs.rs
stable-swap-math Calculations for the StableSwap invariant crates Docs.rs
stable-swap-sim Simulations of the StableSwap invariant compared to Curve's reference implementation crates Docs.rs

JavaScript/Web3.js

To use StableSwap with your frontend or Node.js project, use the JavaScript SDK.

Audit

Saber's stable-swap-program has been audited by Bramah Systems. View the audit report here.

Developing

Tests

To run the tests, run:

./stable-swap-program/do.sh e2e-test

Archive

The original Saber StableSwap program can be found on the archive branch.

License

Saber StableSwap is licensed under the Apache License, Version 2.0.