Example showing how front-ends can interact with the Treasure Development Kit's Magicswap feature, powering swaps, routing, and liquidity operations.
- >= Node 22.12.0
- Running TDK API
Install dependencies:
pnpm install
Create .env
file based on example and fill in with relevant environment variables:
cp .env.example .env
Start server:
pnpm dev