solana-program-library/token-swap
Jon Cinque db42f7abbe
token-swap: Add curve and pool token trait and integrate in processor (#624)
* Add SwapCurve trait and integrate in processor

* Add PoolTokenConverter trait to correspond

* Add curve type parameter to initialization and JS

* Refactor for flat curve test, fmt

* Update token-swap/program/src/curve.rs

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

* Refactor swap curve to allow for any implementation

* Rename SwapCurveWrapper -> SwapCurve

* Run cargo fmt

* Update CurveType to enum in JS

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-10-21 20:46:50 +02:00
..
js token-swap: Add curve and pool token trait and integrate in processor (#624) 2020-10-21 20:46:50 +02:00
program token-swap: Add curve and pool token trait and integrate in processor (#624) 2020-10-21 20:46:50 +02:00
.gitignore Token-swap ts, flow bindings and build using rollup. (#463) 2020-09-18 09:31:16 +02:00
README.md Javascript -> JavaScript (#409) 2020-09-09 17:57:30 -06:00

README.md

Token-swap program

A Uniswap-like exchange for the Token program on the Solana blockchain.

Full documentation is available at https://spl.solana.com

JavaScript binding are available in the ./js directory.