serum-swap 0.4.0

Swap on the Serum DEX
Documentation

Program to perform instantly settled token swaps on the Serum DEX.

Before using any instruction here, a user must first create an open orders account on all markets being used. This only needs to be done once, either via the system program create account instruction in the same transaction as the user's first trade or via the explicit init_account and close_account instructions provided here, which can be included in transactions.