Create a Coin
object to be associated with the Dex
.
The symbol of the coin to create
The decimals of the coin to create
The payer Keypair
to use for the transactions
The optional mint authority Keypair
to use for the mint
The optionals freeze authority Keypair
to use for the mint
The optional keypair for the Mint to be created, defaults to a random one
Fetch one of the Coin
objects associated with the Dex
by symbol.
The symbol of the coin to fetch
Initialize a DexMarket
instance associated with the Dex
.
The payer Keypair
to use for the transactions
The base Coin
of the market to create
The quote Coin
of the market to create
The parameters required to create the market
Runs a crank on a separate node process for the given DexMarket
for specified duration.
The DexMarket
to run a crank for
The owner FileKeypair
consuming events.
The crank options used
Runs a Market Making on a separate node process for durationInSecs
seconds.
The DexMarket
to run market maker on
The owner Keypair
to use for the market making.
The market making options used.
Generated using TypeDoc
Dex is a wrapper class for a deployed Serum Dex program.