/stable-swap

Libraries for interacting with Saber's StableSwap program. 🔁

Primary LanguageRustApache License 2.0Apache-2.0

stable-swap

License Build Status Contributors

An automated market maker for mean-reverting trading pairs.

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.

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.