Express API that proxies Jupiter Aggregator for quotes and generates a serialized swap transaction, which the frontend signs and sends via Phantom.
GET /health– service healthGET /api/tokens– token list (via token.jup.ag)POST /api/quote– Jupiter quote proxyPOST /api/swap– Jupiter swap (returnsswapTransactionbase64)
cp .env.example .env
# Ensure CORS_ORIGINS has your website origin (e.g., https://zk-chan.fun)
npm i
npm run dev