Skip to content
Start a project

Blockchain and DeFi · Digital assets

A staking app and wallet sign-in API for a BNB Smart Chain token, built in 12 weeks

A token project on BNB Smart Chain needed an app around its staking pools. We built the landing site, the staking app and an API that signs users in with their wallet or email.

Client
A token project on BNB Smart Chain
Chain
BNB Smart Chain
Stack
Next.js, wagmi, NestJS, Docker, GitHub Actions
Team
5 engineers plus PM, QA and design
Timeline
12 weeks, Feb to Apr 2025
Status
Delivered 2025
Weeks to build
12
Commit history, Feb to Apr 2025
Sign-in methods
2
Wallet signature and email one-time code

The challenge

Holders needed one place to lock tokens in pools with set terms, see their position and claim.

Sign-in had to work for wallet users and for people who prefer email.

Our approach

Wallet-first sign-in

Users sign in by signing a one-time message with their wallet, or with an email code, and get a session token.

One app for every pool

The staking app reads each lock pool from the contract and shows its terms, caps and the holder's position.

Shipped in containers

Docker images and GitHub Actions deploy the app and the API the same way every time.

What we built

  • A landing site for the token.
  • A staking app with lock pools, claims and unstaking.
  • An auth API with wallet signatures, email one-time codes and sessions.
  • Docker builds and GitHub Actions deploys.

How it fits together

  1. People

    • Token holders
  2. Apps

    • Landing site
    • Staking appNext.js and wagmi: lock pools, claims, unstaking
  3. Services

    • Auth API (NestJS)Wallet signatures, email one-time codes, sessions
    • Docker and GitHub ActionsBuilds and deploys
  4. Chain

    • BNB Smart ChainThe staking pools the app reads and writes
How the staking platform fits together

Services behind this work

Security and quality

  • Wallet sign-in uses a one-time nonce for each login.
  • The staking flow was tested on BNB Smart Chain testnet.

Outcome

We delivered the staking app, landing site and API in 12 weeks.

Have an agent, protocol or product to ship?

Send a short brief and we'll reply with times for a 30-minute scoping call.

Back to all shipped work