1. Install the SDK (Optional)
Interactive Playground: Want to test the SDK functions before integrating? Try our Base Pay SDK Playground to experiment with
pay()
and getPaymentStatus()
functions.Option A: CDN (No installation required)
Just include the script tag in your HTML - no build tools needed!Option B: NPM Package
If you prefer to install locally:2. Copy-paste this HTML file
index.html
3. Serve the file
Any static server will work:Next steps
- Add Sign In With Base Button – implement full SIWE authentication with backend verification
- Add Base Pay Button – collect user information during payment flow
Please Follow the Brand GuidelinesIf you intend on using the
SignInWithBaseButton
or BasePayButton
, please follow the Brand Guidelines to ensure consistency across your application.