Skip to content

๐Ÿ” StableSwap by Saber: an automated market maker for mean-reverting trading pairs.

License

Notifications You must be signed in to change notification settings

saber-hq/stable-swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.