Your community lives on one chain. Fresh buyers live on the other. Put an N9T2 Passage button on your site, in your Telegram or in your app, and Base or BNB Chain holders arrive on the XRP Ledger with XRP, or XRPL holders arrive on Base with ETH or USDC, or on BNB Chain with BNB, USDT or USDC, ready for your market.
Every crossing that starts from your button is counted to your project. XRPL holders arrive on Base with ETH or USDC, or in the Golden Citadel of BNB Chain with BNB, USDT or USDC. Base and BNB Chain holders arrive on the XRP Ledger with XRP. More nations are on their way.
your-projectUses the project name and partner code from the builder above.
Name your project and choose the chain your newcomers come from. The button and links update live.
Drop one line of code on your site, or post the link in your channels. It works on any website builder that accepts HTML.
Every crossing that starts from your button carries your partner code, so the volume you bring is counted to your project.
The button tells your page what happens, so you can thank people, unlock a role or show your buy widget the moment their value lands.
| n9t2:open | The visitor opened the Passage |
| n9t2:quote | A firm quote was issued (quote id, pay and receive amounts) |
| n9t2:paid | The visitor paid; the crossing is in transit |
| n9t2:arrived | Delivered and settled, with the public receipt link |
window.addEventListener('n9t2:arrived', (e) => {
// e.detail.receipt -> public receipt URL
// e.detail.quote_id -> the crossing's id
showWelcome(e.detail);
});
// Or open the Passage from your own button:
N9T2Passage.open({ ref: 'your-project', route: 'base:ETH:xrpl:XRP' });Wallets, bots and payment backends can run the same crossing over HTTP. Quote, pay from the user's wallet, submit the transaction hash, read the receipt. Send your partner code with every quote so the volume counts to you.
Agents can use the same flow over MCP at x402.n9t2.com/mcp (free bridge tools). Routes: XRP ↔ USDC or ETH on Base, and XRP ↔ BNB, USDT or USDC on BNB Chain, both ways. Flat passage fee: 1.45 XRP equivalent. Above the self-serve limit, write to [email protected].
# 1. Firm quote (lasts about 15 minutes)
curl -s https://x402.n9t2.com/bridge/quote -H 'Content-Type: application/json' -d '{
"source_chain":"base","source_asset":"ETH",
"destination_chain":"xrpl","destination_asset":"XRP",
"destination_address":"r...","source_amount":"0.02"}'
# -> quote.quote_id, quote.payment {pay_to, amount, asset, network, expires_at}
# 2. Count it to your project
curl -s https://x402.n9t2.com/passage/ref -H 'Content-Type: application/json' \
-d '{"ref":"your-project","quote_id":"<quote_id>"}'
# 3. User pays quote.payment exactly once, then submit the hash
curl -s https://x402.n9t2.com/bridge/payment -H 'Content-Type: application/json' \
-d '{"quote_id":"<quote_id>","transaction_hash":"<tx>"}'
# 4. Poll the public receipt until status is "settled"
curl -s https://x402.n9t2.com/bridge/receipt/<quote_id>