Bonfida / swap-ui

Minimal swap UI

Home Page:https://dex.bonfida.org/

Repository from Github https://github.comBonfida/swap-uiRepository from Github https://github.comBonfida/swap-ui

Swap UI




git clone https://github.com/Bonfida/swap-ui.git
cd swap-ui
yarn
yarn dev

This swap UI is using Jupiter under the hood


Environment variables


Environment variables should be defined in .env.local and .env.production.

VITE_RPC= Your RPC URL
VITE_FEES= The address used to collect fees
VITE_FEES_BPS= The fees you want to charge on transaction
VITE_GEN_GO_TOKEN= The URL to fetch the auth token (might not be applicable)
GENERATE_SOURCEMAP=false
JUP_SWAP_API=https://quote-api.jup.ag/v6

About

Minimal swap UI

https://dex.bonfida.org/

License:MIT License


Languages

Language:TypeScript 87.0%Language:CSS 10.1%Language:JavaScript 2.4%Language:HTML 0.5%