Follow the steps outlined for local deployment in dbricks-server, with a few exceptions:
- Any variables you add to
.envmust be prepended withVUE_APP_. ie:
VUE_APP_NETWORK=mainnet
VUE_APP_LOCAL_SERUM_PROG_ID = DVieqxNimmtbZpZTw2sZiSAohNJuHLywGaMs47RAW97Z- The final command is
yarn serveinstead ofyarn debug - Ensure that client and server are running the same network (Eg both mainnet) - or you'll get errors
- Don't forget to sign the transaction once you get it back from the backend. The first time the wallet appears on top of your browser - but after that it appears behind. It's a bug.
- Ensure your wallet is funded with the quote currency (eg if you're buying SOL for USDC, you must have USDC in your wallet)
- Go to
dex.projectserum.comand click the little (i) icon next to the market to get market address
example addresses
sol-usdc (mainnet): 9wFFyRfZBsuAha4YcuxcXLKwMxJR43S7fPfQLusDBzvT
- Paste the market address into the market field on the FE, place your trade
yarn build