Stenmont

Get paid in USDT with one tap, get paid early, with the rules enforced in the contract.

Stenmont

Created At

ETHGlobal Mumbai

Project Description

Small businesses wait weeks to be paid, and their customers cannot pay in stablecoins without learning crypto. Stenmont is a commerce and finance platform for stablecoin businesses that closes both gaps on Whitechain.

Sell. A business connects the store it already has (we ran it on Shopify) or opens a hosted storefront. At checkout the customer pays in the official USDT with one passkey tap: no wallet, no seed phrase, no gas. The merchant's gas tank pays the network fee through a relayer with atomic daily caps, so a payer never needs the native token.

Get paid. Every payment is a signed, single-use authorisation bound to one invoice and one payout address, settled by our PaymentRouter. Refunds, subscriptions, reminders and an accountant export (CSV and QuickBooks) run on the same records. The contract never holds customer money.

Get funded. A verified business can sell an unpaid invoice to an allowlisted investor at a discount and receive cash today. When the buyer pays, the same payment repays the investor. The claim can only move between allowlisted holders and freezes once settled.

Agents. A business gives a scoped agent its own ENS name with daily limits. The agent pays by x402 within those limits. Anything risky, such as a large refund or a high agent limit, needs a real person to approve it with World ID.

It runs on the Whitechain test network with test USDT. Payers bring their own USDT; Stenmont holds no customer funds.

How it's Made

Contracts (Solidity 0.8.38, Foundry). Six verified contracts on Whitechain Sepolia: PaymentRouter v2, SubscriptionManager, InvoiceClaim v2, InvestorRegistry, ReputationRegistry v2 and InvoiceAck, plus a passkey smart account and its factory. Tested with unit, fuzz (1,000 runs), handler-driven invariant (25,600 calls) and fork tests against the real USDT: 486 contract tests and 27 pinned fork tests, and Slither with no high or medium findings.

Payments. The payer signs an EIP-3009 receiveWithAuthorization for the official USDT. The nonce is derived from the invoice id and the payout address, so a signed payment cannot be redirected to another invoice. A Durable Object relayer sends one transaction at a time, simulates first, and reserves gas from the merchant's tank atomically.

Passkeys. The payer's account is a smart account whose signer is a WebAuthn P-256 key, verified through the P-256 precompile at 0x100, which we confirmed is live on Whitechain.

Backend and web. Cloudflare Workers (Hono), D1, KV, Queues and cron for the indexer and signed webhooks. Next.js 16 on Cloudflare for the dashboard and pay page. An SDK, a React button, a finance MCP server with OAuth, and an x402 facilitator we run.

Partner technology, and what it gave us

  • Whitechain: the official USDT and fast, cheap settlement. A customer pays and the merchant sees it in seconds. The live P-256 precompile made passkey payers possible.
  • World ID (IDKit and Agent Pass): one person per business, and a fresh human approval before a large refund or a high agent limit. Nullifiers are stored under a unique index.
  • ENSv2 (Sepolia): each business gets name.stenmont.eth with its own registry and resolver. Finance members can edit only the profile record, and the payout can be locked for good. Agents are revocable names with a policy record.

The hacky bit. The payout lock works by making our own registrar drop its root rights after pre-granting the keys it needs to keep. It is permanent, and we cannot undo it either.

background image mobile

Join the mailing list

Get the latest news and updates