Tutorials and Concepts

This guide lists a number of tutorials, projects as concepts or WIP's, and related resources.

πŸ“– Building Tips

Developer Resources

For developer resources on Serum and Solana: https://github.com/project-serum/awesome-serumarrow-up-right

RPC Servers

For a default list of RPC servers to use: https://github.com/project-serum/awesome-serum#rpc-serversarrow-up-right

  • Others may be less reliable

Serum Market Data

If you want to consume Serum market data, you have the following options:

Mainnet, Devnet, Testnet

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:

circle-info

It is useful to have a devnet or testnet version, and also a mainnet version for full testing

Authenticating Transactions

If you need to authenticate transactions, the recommended course of action is to use the SPL wallet adapter, which is what e.g. sollet.ioarrow-up-right users to connect to DEXes.

circle-info

Note: you can build in auto-accepting as an option! https://dex.projectserum.com/#/arrow-up-right uses this with sollet.ioarrow-up-right.

Users will be prompted to click: β€œAutomatically approve transactions from https://dex.projectserum.comarrow-up-right”

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".

This code is in https://github.com/project-serum/sol-wallet-adapterarrow-up-right.

If you want your program to be auto-accepted, submit a PR (pull request) that adds it!

  • Bonfida and others also sometimes connect.

circle-info

Developers are recommended to use the same conventions as e.g. sollet.ioarrow-up-right for the seed phrase and private key.

Composability

Consider composing with existing apps:

Fees Going to SRM Governance

For fees going to SRM governance, you can assign to this addressarrow-up-right if you want.

πŸŽ“ Tutorials and Project Concepts

πŸ“ˆ Host a GUI

Want to help support the Serum ecosystem? Host a GUI and get a fraction of the fees!

Host a GUIchevron-right

πŸ› οΈ DEX Integration

A technical introduction to the Serum DEX can be found herearrow-up-right.

DEX Resources

πŸ” Minting Tokens

🧾 Token Contracts

🧾 Miscellaneous

Last updated

Was this helpful?