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