Backr is a decentralized platform built on Ethereum that enables transparent and accountable project funding through milestone-based releases and community governance. The platform incorporates quadratic funding mechanisms, liquidity pools, and achievement badges to create a robust ecosystem for project creators and backers.
- Verified profiles with multi-type verification system (KYC, Social, Professional)
- Profile recovery mechanism with time-locked security
- Reputation scoring system
- Profile metadata standards for better interoperability
- Username indexing for efficient querying
- Social graph functionality with following/follower relationships
- Skill-based endorsement system
- Project portfolio showcase with featured items
- IPFS-based verification proof storage
- Create projects with detailed milestones
- Secure fund release through community voting
- Transparent progress tracking
- Project analytics and reporting
- Template-based project creation
- Multi-category project organization
- Community-driven decision making through multiple mechanisms:
- Standard proposal voting
- Committee-based governance for specialized decisions
- Gasless voting for improved accessibility
- Time-locked execution for security
- Multi-role access control system
- Proposal templates for standardized governance
- Delegation capabilities with granular controls
- Automated Market Maker (AMM) for ETH/BACKR trading
- Advanced slippage protection
- Emergency withdrawal mechanisms
- Liquidity incentives program
- Low 0.3% fee structure
- Minimum liquidity requirements for stability
- Dynamic NFT-based recognition system
- Multiple badge types with unique benefits
- Badge Marketplace features:
- Trade badges on the open market
- Dynamic pricing based on rarity
- Secure escrow-based trading
- Achievement-locked minting
- Badge bundling capabilities
- Fair fund distribution with matching pools
- Round-based funding cycles
- Eligibility verification
- Comprehensive analytics
- Anti-sybil mechanisms
- Configurable contribution limits
- Comprehensive team management system
- Role-based access controls
- Project portfolio management
- Dispute resolution framework
- Project categorization and discovery
- Template-based workflows
- Solidity ^0.8.13
- OpenZeppelin Contracts
- Foundry - Development Framework
- Ethereum Development Environment
- Local: Anvil
- Testnet: Sepolia
- Mainnet: Ethereum
- Foundry toolkit
- Node.js and npm
- Git
- Ethereum wallet with testnet ETH
- Network RPC URLs
The project uses Foundry with optimized settings:
- IR-based compilation enabled
- Optimizer enabled with 200 runs
- OpenZeppelin contract remappings configured
backr/
├── src/ # Smart contract source files
│ ├── core/ # Core protocol contracts
│ └── ux/ # User experience enhancements
├── script/ # Deployment scripts
├── test/ # Comprehensive test suite
├── docs/ # Detailed documentation
└── foundry.toml # Foundry configuration
The project includes an extensive test suite covering all functionality:
# Run all tests
forge test
# Run specific test file
forge test --match-path test/Project.t.sol
# Run tests with gas reporting
forge test --gas-report
# Run tests with maximum verbosity
forge test -vvvv
- Configure environment:
cp .env.example .env
# Edit .env with your credentials
- Deploy contracts:
# Local deployment
forge script script/DeployMVP.s.sol:DeployMVPScript --rpc-url http://localhost:8545 --broadcast
# Testnet deployment
forge script script/DeployMVP.s.sol:DeployMVPScript --rpc-url $SEPOLIA_RPC_URL --broadcast --verify
Comprehensive documentation is available in the /docs
directory:
- Multi-layered security controls
- Rate limiting mechanisms
- Time-locked operations
- Emergency pause functionality
- Multi-signature requirements
- Comprehensive access controls
- Automated security checks in CI/CD
- Fork the repository
- Create your feature branch
- Run tests and ensure they pass
- Submit a pull request
This project is licensed under the MIT License.