D0 Checkout
Connect a wallet. Pay on-chain.
Add a direct Connect Wallet payment to your React checkout. D0 provides wallet discovery and the payment UI; your adapter controls the final transaction on the chain and token selected for the Checkout Session.
How it works
The Connect Wallet rail is a direct, partner-controlled payment path. It does not send funds to a D0 deposit address. Your application supplies the token contract, destination and transaction adapter.
A returned transaction hash means the wallet submitted the transaction. Treat payment as final only after your backend confirms it on-chain.
Supported scope
This guide follows the complete chain and token catalog exposed by the D0 Checkout demo: Ethereum, BNB Smart Chain, Solana and TRON with the supported USDT and USDC combinations. Your backend is the source of truth for the pair available to each Checkout Session.
pnpm add @d0fi/checkout-react wagmi viem @tanstack/react-queryBefore you start
- A React 18 or React 19 application.
- A backend endpoint that creates D0 Checkout Sessions.
- Server-owned asset references and validated receiving addresses for every enabled pair.
- Browser-safe RPC endpoints and a compatible signer for each enabled wallet family.