Listed from the MCP registry; nobody on Odel publishes it.
USDT payment links, payments and collection summaries on Whitechain testnet. Can't move money.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y whiteflow-mcp
MCP client config
{
"mcpServers": {
"whiteflow": {
"command": "npx",
"args": [
"-y",
"whiteflow-mcp"
]
}
}
}USDT payments for merchants on Whitechain. Customers pay no gas, and the money lands in the merchant's own wallet in the same transaction. Capital lets a merchant get paid early from future sales. Testnet only (Whitechain Sepolia, chain 1874).
Live app · Demo shop · API docs · MCP · Video (2:45): ⟨url⟩
| Whitepay | Coinbase Commerce | Whiteflow | |
|---|---|---|---|
| Money lands in | A WhiteBIT account (docs) | Escrow, then USDC | The merchant's wallet, same tx |
| Payer pays gas | Not stated | No (USDC on Base) | No (USDT on Whitechain) |
| Runs on Whitechain | Not mentioned | No | Yes |
| Fee | 0.4–1.5% (whitepay.com) | About 1% (Shopify listing) | Flat 0.10 USDT, covers gas |
| Merchant financing | None listed | None | Advances and invoice claims |
| Ahead on | 200+ coins, POS, fiat payouts | Shopify, scale | — |
We'd sit next to Whitepay, not replace it. Why a chain: one payment is split in a single transaction between the merchant, their investors and the gas fee, by rules fixed in the contract. A card or bank rail can't do that.
Contracts, all verified on Blockscout: MerchantPay · CapitalMarket · ClaimToken · InvestorRegistry. An older MerchantPay (0x83b5…73b7) is paused and unused.
| What happened | Tx |
|---|---|
| Gasless 25 USDT checkout; the payer holds 0 WBT | AT-1 |
| Refund | AT-2 |
| 25 USD payment link: 0.10 fee + 24.90 to the merchant, paid in 3.81 s | AT-11 |
| Demo shop on the SDK in 20 lines (checkout, webhook): a 2.00 USDT espresso in 4.98 s, signed webhook delivered once | AT-14 |
| Discount code read from Arkiv: 10% off a 6 + 5 USD page, paid 9.90 USDT | AT-12 |
| Priced in euros: 20.00 EUR charged as exactly 22.51 USDT (ECB rate, rounded up) | AT-13 |
| Advance: funded, then a 5 USDT sale repays the investor 1 USDT in the same tx, then 0 once the cap is reached | AT-3 → AT-4 → AT-5 |
| Invoice: two investors buy a 100 USDT invoice; the debtor pays 100.10 and they get 60 + 40 in one tx | A + B → AT-7 |
A claim sent to a non-eligible wallet reverts with ERC7943CannotReceive | AT-8 |
| 4.32 s from signature to receipt through the production relayer | NFR-4 |
Every acceptance test: docs/SRS.md §6.
Paid events (AT-15), signed webhooks, test-mode keys and API docs.paySale/payInvoice, refuses payers with code (incl. EIP-7702), simulates first, caps gas at 6 gwei, limits each payer, pauses after 3 reverts in an hour and keeps a daily WBT budget, all stored in Postgres. Bad calls leave its nonce unchanged (AT-10).canTransfer answers before anyone signs.Discount codes (mcplus.voucher.v1) and financing offers (mcplus.offer.v1) are Arkiv entities. Before applying a code, the checkout reads its live entity. A missing or expired one refuses the code; if Arkiv is down, the code is refused but the sale can still be paid (FR-ARK-7). Codes are stored only as a keyed hash. Code G4AT12 was created in this tx, used in AT-12 and expired on 7 Nov as planned. Offers feed the investor offer book and expire at maturity. Writer: 0xF216677A6c7635c34e7dD58927B98D141d538Cbe. Notes: arkiv/.
Every chain read the browser makes goes through Anon-RPC by default (Nym, with Tor as fallback), Arkiv reads included. A dashboard meter counts them; a production run showed Private reads 4 of 4. The pay and checkout pages make no browser chain reads at all, so they can't leak the payer's IP. In Phase 1 the app read blocks through Nym with 0 direct RPC requests in 12 browser runs, and it refuses a swapped worker bundle (pinned hash).
Disclosed exceptions: relayer writes over HTTPS, two mainnet bootstrap reads, explorer history lookups, the server-side reads behind the pay pages, the payer's own wallet if they pick one, Privy and WalletConnect only if the payer presses that option, and the Nym worker's own traffic. A /p payment page loads the merchant's logo from the merchant's https host, which sees the payer's IP. The Content-Security-Policy allows only these hosts: the pay and checkout pages allow just Privy and WalletConnect, and payment links (/l) allow none.
CROPS: anyone can submit a signed authorization if our relayer is down (C) · MIT licence (O) · private reads by default, no personal data on chain or on Arkiv (P) · non-custodial, keys stay on the user's device (S).
packages/mcp lets an AI assistant manage payment collection: 14 tools for links, invoices, customers, payments and reminders. It can't move money. Sandbox mode (the default) runs on your computer with no account. Testnet mode uses your sk_test_ key, whose merchant must be linked to a Whiteflow workspace in Settings.
npx -y whiteflow-mcp@0.3.0 (npm)Parts are adapted from Pixa (MIT, see packages/mcp/THIRD_PARTY_LICENSES); ETHGlobal mentors confirmed this reuse is within Start Fresh.
Shop server ──POST /api/v1/sessions──► Web API (apps/web) ──► checkout link
Customer /pay (no chain reads in the browser) ── signs a USDT authorization, no gas
▼
Relayer (apps/relayer): allowlist · payer has no code · signature, balance, window, replay
· per-payer limits · daily gas budget · simulate first ── pays the WBT gas
▼
MerchantPay (one tx): pull USDT ─► 0.10 fee to relayer ─► advance holdback to investors ─► rest to merchant
▼
receipt → signed webhook to the shop
Dashboards read the chain privately via Anon-RPC (Nym), one Multicall per screen; offers live on Arkiv.
apps/web: the Next.js app and gateway API · apps/relayer: Node + viem, pays the gas · packages/sdk: zero-dependency SDK and pay button · apps/shop: the demo shop · contracts/: Solidity 0.8.38 (Foundry), every money rule. Postgres holds accounts, sessions, links, webhooks and rate limits. Details: ARCHITECTURE.md.
Needs Node 26 and Foundry 1.8.6. The tests need no .env; fork tests use the public Whitechain RPC.
git clone --recursive https://github.com/Vishal4742/whiteflow && cd whiteflow
(cd contracts && forge build && forge test) # 164 tests
(cd apps/web && npm ci && npm run typecheck && npm test)
(cd apps/relayer && npm ci && npm test)
(cd packages/sdk && npm ci && npm test)
(cd apps/shop && npm ci && npm test)
To run a server, use npm run dev in its folder. The web app (localhost:3000) reads apps/web/.env.local (names in .env.example). The relayer reads apps/relayer/.env (RPC_URL, RELAYER_PRIVATE_KEY, RELAY_API_SECRET, DATABASE_URL), the shop apps/shop/.env (GATEWAY_URL, GATEWAY_SECRET_KEY, GATEWAY_WEBHOOK_SECRET). Never commit a .env.
Test funds: claim WBT at faucet.testnet.whitechain.io, then swap some for the prize USDT (0xcedfb56113143d55b2358b8cfbb0deb5ad2f55a7) on testnet.yetitrade.fi.
Coverage of the four deployed contracts (forge coverage --ir-minimum): 99.1% of lines, 100% of branches and functions. CI runs the same checks on every push.
0xb4E7…714D) is both compliance admin and contract owner. It decides who's an eligible investor, and it can force-transfer claims between eligible investors, freeze claim units, revoke eligibility and pause MerchantPay. Ownership uses Ownable2Step; production would put these roles behind a multisig.Pay from another chain, starting with one tested corridor (Ethereum Sepolia USDC into Whitechain USDT) with an exact amount and a refund path.
Built by the Whiteflow contributors (graph) · AI usage per file: AI_USAGE.md · Changes: CHANGELOG.md · Contributing: .github/CONTRIBUTING.md · Security: .github/SECURITY.md