You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React component library for accepting crypto payments via Web3Settle. Drop in a provider and a pay button to enable on-chain payments across Ethereum, Polygon, and Base.
import{Web3SettlePayButton}from'@web3settle/merchant-sdk';functionCheckout(){return(<Web3SettlePayButtonamount={29.99}label="Pay with Crypto"variant="primary"size="lg"/>);}
All API responses are validated with Zod schemas before use
ERC-20 approvals request only the exact amount needed (no unlimited approvals)
Transaction receipts are verified for revert status
Wallet connections use standard EIP-1193 providers
No private keys are handled by the SDK
Development
npm install
npm run dev # Build with watch
npm run build # Production build
npm run test# Run tests
npm run typecheck # Type checking
npm run lint # Lint
Peer Dependencies
react ^18.0.0 || ^19.0.0
react-dom ^18.0.0 || ^19.0.0
License
MIT
About
This is the merchant's SDK for Web3Settle, a Non Custodial complete blockchain payment infrastructure built for merchants who value security, transparency, and low fees.