Transaction lifecycle
1
Start in Your dApp or Wallet
Alice, a user in Kenya, wants to purchase USDC to deposit into a DeFi protocol. She opens her Web3 wallet (integrated with Onboard) and selects the Buy Crypto option.
2
Select offer
Alice inputs her desired amount (e.g., 5 USDC) and chooses her fiat payment method (M-PESA). Her wallet connects to Onboard, which either:
- Matches her with the best available offer for her amount and trading pair.
- Or shows a list of offers, sorted by rate, availability, and completion time.
3
Initiate transaction
Alice confirms her wallet address and the transaction details. The order is initiated, and Bob’s 5 USDC is locked securely in Onboard’s escrow.
4
Make payment
Alice views Bob’s payment instructions on-screen, and via her M-PESA app, transfers the equivalent amount in Kenyan Shillings (KES) to Bob’s account.
5
Crypto released
Once Bob confirms receipt of the KES, Onboard releases the 5 USDC from escrow directly to Alice’s wallet. Alice is notified that her transaction is complete.
Process flow
- Diagram