Tutorials and Concepts
This guide lists a number of tutorials, projects as concepts or WIP's, and related resources.
Last updated
Was this helpful?
This guide lists a number of tutorials, projects as concepts or WIP's, and related resources.
Last updated
Was this helpful?
For developer resources on Serum and Solana:
For a default list of RPC servers to use:
Others may be less reliable
If you want to consume Serum market data, you have the following options:
Javascript program for on-chain calls:
REST server:
Serum API:
Developers are recommended to have (by default) both a mainnet and devnet/testnet version with a toggle to test the protocol on both, as there may be differences in performance that are useful to be able to test:
If they do, then for that session:
As long as the URL is the same
As long as the transaction contents match the expected contents (e.g. a DEX order)
It will not require clicking "accept".
If you want your program to be auto-accepted, submit a PR (pull request) that adds it!
Bonfida and others also sometimes connect.
Consider composing with existing apps:
If your app needs liquidity you can trade on a DEX orderbook or swap
Want to help support the Serum ecosystem? Host a GUI and get a fraction of the fees!
Testnet deployment of prototype DEX:
Mainnet examples:
On-chain Pools:
If you need to authenticate transactions, the recommended course of action is to use the SPL wallet adapter, which is what e.g. users to connect to DEXes.
Note: you can build in auto-accepting as an option! uses this with .
Users will be prompted to click: “Automatically approve transactions from ”
This code is in .
Developers are recommended to use the same conventions as e.g. for the seed phrase and private key.
If your app needs to mint tokens, consider using
Check out for ideas and tools
For fees going to SRM governance, you can assign to if you want.
An open source GUI:
More about staking and voting:
A technical introduction to the Serum DEX can be found .
, client-side JavaScript resources to connect to the DEX
, an implementation of a UI for the Serum DEX
: Python client library for interacting with the Project Serum DEX.
- Proof of Concept
- Work-in-progress
:
to get Serum market data