|
5 ماه پیش | |
---|---|---|
.. | ||
migrations | 2 سال پیش | |
prebuilt-programs | 1 سال پیش | |
programs | 1 سال پیش | |
tests | 2 سال پیش | |
Anchor.toml | 1 سال پیش | |
Cargo.toml | 1 سال پیش | |
README.md | 4 سال پیش | |
package.json | 5 ماه پیش |
An example swap program that provides a convenient API to the Serum orderbook for performing instantly settled token swaps.
This example requires building the Serum DEX from source, which is done using git submodules.
Pull the source
git submodule init
git submodule update
Build it
cd deps/serum-dex/dex/ && cargo build-bpf && cd ../../../
Run the test
anchor test