Version 1.14.0 - Open Source Token Approval Security Platform
Allowance Guard is an open source security platform for monitoring and managing token approvals across multiple blockchain networks. Built for the DeFi community with a focus on security and transparency.
- 🔍 Real-time Monitoring: Track token approvals across multiple chains
⚠️ Risk Assessment: Identify unlimited and stale approvals- 📧 Email Alerts: Get notified about risky approvals
- 🔗 Wallet Management: Save and monitor multiple wallet addresses
- ⚡ One-Click Revoke: Instantly revoke risky approvals
- 📊 Analytics: Comprehensive reporting and risk scoring
- 🔍 Error Monitoring: Real-time error tracking with Rollbar
- 🛡️ Wallet Security: Comprehensive security dashboard for connected wallets
- 🎨 PuredgeOS Design: Modern, minimalist design system with Mobbin-style animations
- 📱 Mobile-First: Responsive design optimized for all devices
- 🔓 Open Source: Full source code available
- Node.js 18+
- Database (PostgreSQL recommended)
- SMTP service for email notifications
- RPC endpoints for blockchain access
- WalletConnect project
- Rollbar account (free) for error monitoring
# Clone the repository
git clone https://github.com/EazyAccessEA/Allowance-guard.git
cd Allowance-guard
# Install dependencies
pnpm install
# Set up environment variables
cp production.env.example .env.local
# Run database migrations
pnpm run migrate
# Start development server
pnpm run devCopy production.env.example to .env.local and configure:
- Database connection string
- SMTP credentials for email notifications
- RPC endpoints for blockchain access
- WalletConnect project ID
- Other service credentials
- Frontend: Next.js 15 with TypeScript
- Database: PostgreSQL with connection pooling
- Authentication: WalletConnect integration
- Email: SMTP service integration
- Deployment: Vercel-ready configuration
This project implements wallet-focused security features:
- 🛡️ Wallet Security Dashboard: Comprehensive security overview for connected wallets
- 📊 Risk Assessment: Real-time risk scoring based on token allowances
⚠️ High-Risk Detection: Identify and flag dangerous token approvals- 🔍 Security Monitoring: Continuous monitoring of wallet security status
- 📈 Security Analytics: Detailed security metrics and trends
- Input validation and sanitization
- Rate limiting on API endpoints
- CSRF protection
- Security headers
- Environment variable protection
- No sensitive data in source code
- Wallet-only authentication (no email/password required)
- This is open source software provided for educational purposes
- DO NOT use in production without comprehensive security audit
- Users are responsible for their own security assessments
- The authors assume no liability for security breaches or fund loss
- Always use testnet environments for development and testing
- Keep all secrets and private keys secure and never commit them to version control
For security issues: Contact [email protected]
- Financial Support - Support development with donations
- Technical Contributing Guide - Complete guide for code contributors
- Developer Guide - Technical deep dive for developers
- Testing Policy - Comprehensive testing standards
- Operations Monitoring - Production monitoring setup
We welcome all types of contributions! Choose how you'd like to help:
Support Development - Your donations directly fund:
- Core development team compensation
- Security audits and infrastructure costs
- Future feature development
- Essential Web3 security infrastructure
- Technical Contributing Guide - Complete guide for code contributors
- Developer Guide - Technical deep dive for developers
- Testing Policy - Comprehensive testing standards
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
Allowance Guard includes a comprehensive testing framework for developers:
# Run E2E tests
pnpm test:e2e
# Run E2E tests with UI
pnpm test:e2e:ui
# Run specific test file
pnpm playwright test tests/scan.spec.tsTest Coverage:
- ✅ End-to-End testing with Playwright
- ✅ Accessibility testing (WCAG 2.0 AA)
- ✅ API endpoint testing
- ✅ Payment flow testing
- ✅ User workflow testing
See TESTING_POLICY.md in the repository for detailed testing documentation.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
This software is provided "as is" without warranty. Use at your own risk. The authors are not responsible for any loss of funds or security breaches.
- Issues: GitHub Issues
- Email: [email protected]
- Documentation: Project Docs
Built with ❤️ for the DeFi community