Build — Buyers
A buyer commits to offers, redeems vouchers, and (rarely) disputes. There's no explicit "create a buyer" step — your first commitToOffer registers you.
For each task, expand the CodeGroup to see the equivalent code in SDK and MCP.
Tasks
- Discover offers — query offers from the subgraph.
- Commit to an offer — the core action.
- Atomic commit-and-redeem — single-tx purchase + redemption.
- Buyer-initiated offers — propose to a seller.
- Sequential commit — buy a voucher on a secondary market with full protocol protection.
- Redeem a voucher — claim the goods.
- Cancel / revoke — back out of a commit.
- Raise a dispute — when things go wrong.
Non-code path
- Buy via the Boson dApp — UI walkthrough.
Prerequisites
- A wallet with the offer's
exchangeToken(or native gas) on the chain you're buying on. See Wallets & key management. - Approval for ERC-20 offers (or use a permit). See Troubleshooting → Approve · Permit · Permit2.