This is a Next.js project bootstrapped with create-next-app.
Self-contained: This app runs entirely from this directory. It does not depend on the ayin repo. Pool list is read from data/pool.json. To regenerate it from the bundled sources, run node scripts/merge-pools.js (uses data/sources/ayin.pool.json and data/sources/mobula.pair.2.json).
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
The app integrates Matomo via @socialgouv/matomo-next. Analytics is optional and disabled unless configured.
Enable Matomo: copy .env.example to .env.local and set:
NEXT_PUBLIC_MATOMO_URL— your Matomo instance URL (e.g.https://matomo.example.com)NEXT_PUBLIC_MATOMO_SITE_ID— your Matomo site ID
What is tracked:
- Page views — automatic on route change
- Custom events — swap (token pair + amounts), pool management (add/remove liquidity, pool name, amounts), staking (xAyin mint/burn, Pounder deposit/withdraw, LP stake/unstake with pool name and amount)
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
You can support Ayin Retro development by sending a donation (ALPH or any token) to:
1DHQcZ2GXvZxETD32CjLEuzirreGiY2XAGX4BH86SasT
Use the Donate button in the site footer to send from your connected wallet.
Thank you !