Skip to content

All projects

2026 · Rebuild · NFT licences

EverXNode

A single-page sale of NFT node licences whose only conversion goal is a whitelist registration relayed to Telegram.

  • Next.js 15
  • styled-components
  • GSAP
  • Telegram Bot API
conversion goal: the whitelist
1
requests a minute on the one API route
5
codes in the documented response contract
6
polling loops after the rewrite
0

What I walked into

A single page with one job: take a whitelist registration and relay it to Telegram.

The Telegram client was constructed at module scope with polling: { autoStart: true }, which starts an unbounded getUpdates loop per instance and made next build itself dial Telegram.


What I changed, and why

  1. Pollingless

    The relay was rewritten without polling, so no instance starts a getUpdates loop and the build no longer dials Telegram.

  2. Two routers, each for its job

    App Router serves the page statically, and Pages Router serves the one API route as a function.

  3. A limit that is written down

    The route allows 5 requests a minute and answers with one of six documented response codes.

The original made next build itself dial Telegram.

Where it landed

The page is served statically, and a whitelist registration reaches Telegram through one function-backed route.

The unbounded polling loop is gone, and the route has a 5 requests a minute limit with a documented six-code response contract.