|
3 ani în urmă | |
---|---|---|
.. | ||
deps | 4 ani în urmă | |
migrations | 3 ani în urmă | |
programs | 3 ani în urmă | |
tests | 3 ani în urmă | |
Anchor.toml | 3 ani în urmă | |
Cargo.toml | 4 ani în urmă | |
README.md | 4 ani în urmă | |
package.json | 3 ani în urmă |
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