GiveReady Donate Widget

Open-source embeddable donation button for nonprofits

Add a USDC donation button to any website with a single script tag

Widget Features

Zero Dependencies

Self-contained, no frameworks or external libraries. Single 15KB JavaScript file.

Live Data

Fetches nonprofit data and wallet address from GiveReady API in real-time.

Solana Pay QR

Generates Solana Pay QR codes dynamically for any donation amount.

Mobile Optimized

Deep links to Phantom and Coinbase Wallet for seamless mobile donations.

No Intermediary

Direct USDC transfers. No platform fees. Nonprofit keeps 100%.

Fully Branded

Clean, modern UI that matches any website. Inline CSS, no stylesheets.

Live Demo

Finn Wardman World Explorer Fund

The widget below is a live example. Click the button to see the donation modal, select an amount, and scan the Solana Pay QR code with Phantom or Coinbase Wallet.

How to Embed

Add this HTML snippet to your website to enable USDC donations:

<div id="giveready-donate" data-slug="your-nonprofit-slug"> </div> <script src="https://giveready.org/widget/donate.js"></script>

Replace your-nonprofit-slug with your organization's GiveReady slug. Find your slug →

Technical Specifications

Testing the Widget

To test the donation flow:

  1. Click "Donate with USDC" button above
  2. Select an amount ($1, $5, $10, $25, or custom)
  3. Scan the QR code with Phantom or Coinbase Wallet
  4. Or click "Phantom Wallet" or "Coinbase Wallet" on mobile
  5. Sign the transaction in your wallet
  6. Donation settles on Solana blockchain

Open Source

The GiveReady widget is open-source and available on GitHub.

Licensed under MIT. Fork, customize, and deploy on your own infrastructure.

git clone https://github.com/giveready/widget.git cd widget npm install npm run build