NairaBridge FX logoNairaBridge FX

NairaBridge FX · Reference

Docs

Everything about NairaBridge FX: what it is, how to use it, and how it works on-chain.

01 · What is NairaBridge FX

What is NairaBridge FX#

NairaBridge FX is an AI agent on Celo that helps people paid in dollars move between USDT and cNGN, the regulated naira stablecoin, at the best available rate. Prices come from Textile FX, a market where professional market makers compete to fill each trade at a firm price.

  • It watches the market every 3 minutes and publishes the real rate, fee included, on a public board.
  • From Telegram you can check rates, convert, and set rate alerts.
  • It is non-custodial: you always sign in your own wallet. The agent never holds your keys or your money.

Supported pairs#

USDT → cNGN (cash out) and cNGN → USDT (top up), on Celo mainnet.

02 · Getting started

Getting started#

  1. Open @NairaBridgeFX_bot ↗ on Telegram and press Start.
  2. Tap the link the bot sends and connect your wallet. Sign a message to prove the wallet is yours. No funds move and no transaction is sent.
  3. Type /rate to see today’s rate, or /convert 50 usdt to cash out.

Supported wallets#

  • MiniPay and other in-app wallet browsers, including OKX and MetaMask’s mobile browser.
  • Any WalletConnect wallet: Valora, Trust, MetaMask, Rainbow and others.

03 · Bot commands

Bot commands#

CommandWhat it does
/startLink your wallet by signing a message.
/rate 100Live rate both ways for $100, fee included.
/convert 50 usdtCash out USDT to cNGN.
/convert 70000 cngnTop up USDT with cNGN.
/alert 1390Tell me when $100 cashes out at ₦1,390 or more per $1.
/alert 1380 70000 cngnTell me when buying USDT costs ₦1,380 or less per $1.
/alertsList and cancel your active alerts.
/historyYour past conversions and savings.
/walletYour linked wallet.

Quick quotes#

Groups#

You can add the bot to a group chat. In groups, only /rate works, so anyone can check the rate. Conversions and alerts happen privately; the bot replies with a button to continue in a private chat.

04 · How conversion works

How a conversion works#

  1. /convert gives you a private link valid for 15 minutes.
  2. Approve exactly the amount you are converting. NairaBridge never asks for an unlimited allowance.
  3. Get a firm quote bound to your wallet: the exact amount you receive, the rate with fee included, the fee, and a live countdown until expiry.
  4. Confirm, then sign the swap in your own wallet.
  5. The agent checks the swap on-chain and sends a Telegram receipt with a Celoscan link.

Firm quotes#

Taker Control#

05 · Rate alerts

Rate alerts#

  • Set a target with /alert. After every market check, the agent re-quotes and messages you once when your target is met.
  • The message includes a one-tap “Convert now” link and a “Set again” button.
  • Up to 5 active alerts per person; each expires after 7 days.

06 · The rate board

The rate board explained#

Reading the board#

  • Headline rate: naira per $1, fee included.
  • Rates by size: $5, $10, $25, $50, $200 and $1,000, in both directions.
  • Depth: the largest amount that can be filled right now.
  • History: 24h and 7d charts.
  • References: comparison with reference rates.
  • The Ledger: public stats and P&L.

Direction and P&L#

When cashing out, a higher rate is better. When topping up, a lower rate is better.

P&L measures how much naira users gained compared with benchmarks taken at the moment of each trade. It is broken down by strategy: single for a normal conversion, and alert for a conversion after an alert fired, measuring the value of waiting.

Honest volumes#

Firm quotes requested for real users are counted separately from monitoring previews. Monitoring previews are never presented as trading volume.

07 · Fees and rates

Fees and rates#

  • Textile’s protocol fee is 0.01% (1 basis point), already included in every rate shown.
  • NairaBridge adds no extra fee.
  • MiniPay pays network fees in stablecoins. Other wallets need a little CELO for gas.
  • There is no gas sponsorship; you pay your own network fee.

08 · Safety and privacy

Safety and privacy#

  • Non-custodial: no keys, deposits or escrow. Every transaction is signed by you.
  • Exact approvals only, checked against your balance first.
  • Every quote is checked against Textile’s official contract addresses before you see it.
  • The public board shows no usernames or wallet addresses.

09 · Is this P2P?

Is this P2P?#

No. You never trade with a stranger, send money first, or wait for someone to release funds.

Your swap settles in one on-chain transaction against Textile’s smart contract, at a price fixed before you sign. Either it completes exactly as quoted or nothing happens.

10 · On-chain details

On-chain details#

For developers and judges.

Contracts and identity#

DetailValue
NetworkCelo mainnet · 42220
ERC-8004 agent ID9998
Identity Registry0x8004…a432 ↗
Registration tx0xeb12…1e30 ↗
Agent wallet0x1663…8906 ↗
ERC-8021 attributioncelo_f91a4dd61bbc
On every transaction.
Textile LimitOrderReactor0xa9AA…35b3 ↗
cNGN · 6 decimals0xF682…1a4f ↗
USDT · 6 decimals0x4806…3D5e ↗

Example transactions#

User eligibility#

11 · Public API

Public API#

GET https://nairabridge-fx.onrender.com/api/board returns live board data as JSON: headline rate, rates by size, depth, stats and P&L. CORS is open and the endpoint is read-only.

Terminal
curl https://nairabridge-fx.onrender.com/api/board

12 · Architecture

Architecture#

Conversion flow#

Telegram bot

Receives your conversion request.

Convert page

Your wallet signs the approval and swap.

Textile FX RFQ

Market makers provide a firm quote.

Celo LimitOrderReactor

Settles the swap on-chain.

Monitoring flow#

Quote Sentinel

Checks the market every 3 minutes.

Database

Stores monitoring results.

/api/board

Publishes live board data.

This site

Displays rates, depth and stats.

13 · Known limitations

Known limitations#

14 · Roadmap

Roadmap#

  • Split execution for large orders: several chunks over time, compared with a single quote.
  • MiniPay Mini App listing.
  • Textile partner key for a one-signature flow.