Donation badges for Solana projects. Embeddable React component and static badges for accepting SOL donations.
Live: spnsr.ndao.computer
npm install spnsrimport { Spnsr } from 'spnsr'
;<Spnsr projectId='your-project-id' />[](https://spnsr.ndao.computer/project/your-project-id)<Spnsr
projectId='abc123' // Required
theme='default' // 'default' | 'dark' | 'minimal'
size='md' // 'sm' | 'md' | 'lg'
showAmount={true} // Show raised amount
showGoal={false} // Show progress bar
className='custom-class' // Additional CSS
/>- Go to spnsr.ndao.computer
- Connect Solana wallet
- Create project
- Copy project ID from dashboard
- Click badge to open donation interface
- Connects to Phantom, Solflare, and other Solana wallets
- Donations sent directly to your wallet address
- Badge updates automatically with new totals
See DEVELOPMENT.md for setup instructions.
- Frontend: React + TypeScript + Vite
- Backend: Netlify Functions
- Database: PostgreSQL + Prisma
- Blockchain: Solana Web3.js
- Hosting: Netlify
- GitHub: github.com/nothingdao/spnsr
- NPM: npmjs.com/package/spnsr
MIT