An implementation of a UI for the Serum DEX.
Run yarn
to install dependencies, then run yarn start
to start a development server or yarn build
to create a production build that can be served by a static file server. Note that prior to compiling you need to add charts yourself (see below).
It is now required to add OHLCV candles built from on chain data using Bonfida's API. Here is how to do it:
-
Get access to the TradingView Charting Library repository. This is a private repository and it will return a 404 if you don't have access to it. To get access to the repository please refer to TradingView's website
-
Once you have access to the Charting Library repository:
- Copy
charting_library
folder from https://github.com/tradingview/charting_library/ to/public
and to/src
folders. - Copy
datafeeds
folder from https://github.com/tradingview/charting_library/ to/public
.
See the Create React App documentation for other commands and options.
See A technical introduction to the Serum DEX to learn more about the Serum DEX.
See serum-js for DEX client-side code. Serum DEX UI uses this library.
See sol-wallet-adapter for an explanation of how the Serum DEX UI interacts with wallet services to sign and send requests to the Serum DEX.
See spl-token-wallet for an implementation of such a wallet, live at sollet.io. up