A frontend for aysnc swap hook.
Note
If you don't have bun installed follow the set up here bun
Install dependencies
bun install
Set up environment variables
cp .env.example .env
Add your enviroment variables in ./env
NEXT_TELEMETRY_DISABLED=1
NEXT_PUBLIC_WC_PROJECT_ID=
NEXT_PUBLIC_PONDER_ENDPOINT_URL=http://localhost:42069
NEXT_PUBLIC_ROUTER_ADDRESS=
NEXT_PUBLIC_HOOK_ADDRESS=
Important
We are assuming you are running this frontend while developing async-swap repo
- To start ponder server
- Clone github.com/classcool/async-swap and run
bun install && bun run dev
inside async-swap repo - Your server will be running on localhost:42069
- Clone github.com/classcool/async-swap and run
Run command to start server
bun run dev
Go to http://localhost:3000 to view application