FounderSea is a decentralized idea funding & development platform built on Mantle


markdown
# FounderSea
> **Democratizing Innovation Funding Through AI-Powered Idea Markets on Robinhood Chain**




---
## šÆ What is FounderSea?
FounderSea is a **decentralized innovation funding protocol** that enables anyone to propose, fund, and build ideas using cryptocurrency ā while an **AI agent acts as an autonomous judge and validator** throughout the entire lifecycle.
Think of it as:
- **Kickstarter meets the stock market** ā Ideas are tokenized as NFTs with bonding curve pricing
- **Gitcoin Grants meets autonomous AI** ā An AI agent scores, validates milestones, and releases funds
- **A new model for venture capital** ā Everyone can invest, not just accredited investors
### Core Innovation
Instead of a centralized team deciding which ideas get funded, FounderSea uses:
1. **Bonding Curve Tokens** ā Idea tokens follow a bonding curve (1xā2x as funding fills), creating fair price discovery
2. **AI-Gated Fund Releases** ā Milestone payments only unlock when the AI agent validates work with ā„75% confidence
3. **On-Chain Decision Audit Trail** ā Every AI decision is recorded permanently via AgentIdentity NFTs
---
## š Why Robinhood Chain Blockchain?
Robinhood Chain is the ideal home for FounderSea because of its unique positioning:
### Technical Advantages
| Feature | Benefit for FounderSea |
|---------|----------------------|
| **Low Gas Fees (<$0.01)** | Enables micro-transactions for funding rounds |
| **Ethereum L2 Security** | Inherits Ethereum's security guarantees |
| **MIP Token Integration** | Native USDY stablecoin for fundraising |
| **Fast Finality (2s)** | Better UX for funding confirmations |
### Strategic Fit
- **Growing Ecosystem** ā Robinhood Chain is building DeFi infrastructure that FounderSea extends into innovation funding
- **EAI Integration** ā Robinhood Chain's AI infrastructure aligns with our AI-gated fund release model
- **Developer Momentum** ā Active grants program attracts builders who are FounderSea's target users
### Why Not Ethereum Mainnet?
Ethereum L1 gas fees ($5-50 per transaction) would make:
- Small investments economically unfeasible
- Milestone-based payments too expensive
- Idea token trading prohibitively costly
---
## š ļø Why We Built FounderSea
### The Problem
Traditional innovation funding has three fundamental flaws:
**1. Centralized Gatekeeping**
- Angel investors and VCs control 95% of early-stage funding
- Good ideas die because founders lack "warm intros"
- Geographic and demographic biases persist
**2. No Accountability for Fund Managers**
- VCs receive carry without proportional downside risk
- Limited transparency on decision-making
- Founders have no recourse when investors underperform
**3. Misaligned Incentives in Crowdfunding**
- Kickstarters take 5% but have no skin in the game post-campaign
- No validation that projects deliver on promises
- Reward tiers create complexity without real upside
### Our Solution
FounderSea creates a **trustless, autonomous funding layer** where:
- **Anyone can propose** ā 500 USDY stake (refundable if idea approved)
- **Anyone can fund** ā Micro-investments with bonding curve pricing
- **AI validates** ā Removes human bias from milestone approval
- **Everyone benefits** ā Token holders share in idea success via revenue distribution
---
## š„ Who is FounderSea For?
### For **Creators & Founders**
- Test idea viability before building full product
- Access global capital without VC networks
- Retain more ownership (no equity dilution in token model)
- Build credibility through AI-scored proposals
### For **Investors & Backers**
- Early access to promising ideas
- Fair pricing via bonding curves (no front-running)
- Revenue sharing when ideas succeed
- Fully transparent on-chain track record
### For **Builders & Freelancers**
- Compete for milestone prizes
- Build reputation on-chain
- Get paid automatically when AI validates work
- Access to pre-vetted project pipelines
### For **AI Agents**
- Earn fees for validation services
- Build permanent decision track record
- Execute fund releases autonomously
- Scale validation across unlimited ideas
---
## š Complete User Flow
### Stage 1: Idea Submission
```
1. User connects wallet (MetaMask/WalletConnect)
2. Submits idea with:
- Title & description (IPFS hash)
- Target raise amount
- Soft cap / hard cap
- Funding deadline
- Builder allocation %
3. Deposits 500 USDY stake
4. AI agent evaluates idea:
- Scores feasibility (0-100)
- Records decision on-chain
5. If approved ā status changes to FUNDING
```
### Stage 2: Funding Round
```
1. Investors browse approved ideas
2. Review AI scores, milestones, team
3. Deposit USDY into FundingPool
- Tokens minted via bonding curve
- Price: 1x at start ā 2x at hard cap
4. Token holders can:
- Trade on secondary marketplace
- Claim revenue when ideas monetize
```
### Stage 3: Builder Selection
```
1. Creator reviews funding results
2. Assigns builder via on-chain proposal
3. Sets milestones with deadlines
4. Builder accepts and begins work
```
### Stage 4: Milestone Execution
```
1. Builder submits milestone proof
2. AI agent validates submission:
- Reviews evidence
- Assigns confidence score
3. If confidence ā„ 75%:
- Funds automatically released
- Builder gets paid in USDY
4. If confidence < 50%:
- Milestone rejected
- Builder can resubmit
```
### Stage 5: Revenue Distribution
```
1. When idea generates revenue (grants, sales, etc.)
2. Revenue source notifies IdeaToken contract
3. Token holders claim proportional share
4. Builder receives allocation per agreement
```
### Stage 6: Governance (Optional)
```
1. Major decisions go to token holders
2. Holders can delegate votes to AI agent
3. AI casts weighted votes on behalf
4. Results executed on-chain
```
---
## š¤ AI Agent Integration
The AI agent is the **core differentiator** of FounderSea. Here's how it works:
### AI Agent Responsibilities
| Function | Description | Confidence Threshold |
|----------|-------------|---------------------|
| **Idea Scoring** | Evaluate feasibility, market, team | N/A (pass/fail) |
| **Milestone Validation** | Verify work completion | ā„50% to validate |
| **Fund Release** | Unlock milestone payments | ā„75% to release |
| **Decision Recording** | Permanent audit trail | N/A |
| **DAO Voting** | Cast delegated votes | Configurable |
### How AI Integration Works
```solidity
// Example: AI approves an idea
contract IdeaFactory {
address public aiAgent;
function aiApproveIdea(uint256 ideaId, uint256 score, string memory reasonHash) external {
require(msg.sender == aiAgent, "Only AI agent");
require(ideas[ideaId].status == IdeaStatus.PENDING);
ideas[ideaId].status = IdeaStatus.APPROVED;
ideas[ideaId].aiScore = score;
ideas[ideaId].approvalReasonHash = reasonHash;
emit IdeaApprovedByAI(ideaId, score);
}
}
```
### AI Agent Identity (AgentIdentity NFT)
Every AI decision is recorded on-chain with:
- **Decision Type** ā IDEA_APPROVE, MILESTONE_VALIDATE, FUND_RELEASE
- **Confidence Score** ā How sure the AI was (0-100%)
- **Reason Hash** ā IPFS link to full reasoning
- **Timestamp** ā When decision was made
This creates **radical transparency** in how funding decisions are made.
---
## šļø Project Architecture
### Smart Contracts (Solidity)
```
src/contracts/
āāā IdeaFactory.sol # Central hub, creates ideas
āāā FundingPool.sol # Fundraising with bonding curve
āāā IdeaToken.sol # ERC20 token for idea ownership
āāā FundingPoolFactory.sol # Deploys FundingPool instances
āāā IdeaTokenFactory.sol # Deploys IdeaToken instances
āāā FundingGate.sol # Access control (whitelist/KYC)
āāā BuilderAgreement.sol # Multi-party milestone agreements
āāā DAOVoting.sol # On-chain governance
āāā IdeaMarketplace.sol # Secondary token trading
āāā AgentIdentity.sol # AI agent identity NFTs
```
### Frontend (Next.js 16)
```
frontend/
āāā app/
ā āāā page.tsx # Landing page
ā āāā create/ # Submit new idea
ā āāā discover/ # Browse ideas
ā āāā ideas/[id]/ # Idea detail page
ā āāā portfolio/ # User positions
ā āāā chair/[ideaId]/ # Governance interface
ā āāā flow/ # How it works
āāā lib/
āāā contracts/ # ABI exports & view functions
āāā hooks.ts # React hooks for contract interaction
āāā utils.ts # Formatting utilities
```
---
## š Getting Started
### Prerequisites
- Node.js 18+
- pnpm or npm
- MetaMask or WalletConnect wallet
- Robinhood Chain Sepolia testnet ETH
- Robinhood Chain Sepolia USDY (for testing)
### Installation
```bash
# Clone the repository
git clone https://github.com/your-org/foundersea.git
cd foundersea
# Install contract dependencies
forge install
# Install frontend dependencies
cd frontend && npm install
```
### Running Locally
```bash
# Start local Robinhood Chain node (Anvil)
anvil
# Deploy contracts to local network
forge script script/Deploy.s.sol --rpc-url http://localhost:8545 --private-key 0x...
# Start frontend
cd frontend && npm run dev
```
### Deploying to Robinhood Chain Sepolia
```bash
# Deploy contracts
forge script script/DeployComplete.s.sol \
--rpc-url $Robinhood Chain_SEPOLIA_RPC \
--private-key $DEPLOYER_PRIVATE_KEY \
--broadcast
# Update frontend .env.local with contract addresses
```
---
## š Next Steps & Roadmap
### Phase 1: MVP (Current) ā
- [x] Core contract deployment
- [x] Idea creation flow
- [x] Funding with bonding curve
- [x] AI milestone validation
- [x] Basic frontend
### Phase 2: Enhanced Features (Q3 2026)
- [ ] **Reputation System** ā On-chain builder/creator scores
- [ ] **Multi-Chain Support** ā Expand to Base, Optimism
- [ ] **IPFS Integration** ā Full decentralized metadata
- [ ] **Analytics Dashboard** ā Real-time protocol metrics
### Phase 3: Ecosystem Growth (Q4 2026)
- [ ] **AI Agent Marketplace** ā Multiple competing AI validators
- [ ] **Token Lockdrop** ā Reward early supporters
- [ ] **Grants Program** ā Protocol treasury funding
- [ ] **Legal Wrapper** ā DAO with legal entity
### Phase 4: Full Decentralization (2027)
- [ ] **Protocol DAO** ā Token holders govern all parameters
- [ ] **Multi-Sig Timelock** ā Security multi-sig for upgrades
- [ ] **Bug Bounty** ā Security researcher incentives
- [ ] **Formal Verification** ā Mathematically proven contract safety
---
## š Security Considerations
- **AI Agent permissions** require proper initialization (see CONTRACT_FLOW_ANALYSIS.md)
- **Bonding curve math** has been audited for precision errors
- **Reentrancy guards** on all fund-moving functions
- **Pausability** built into core contracts for emergencies
- **Time-locks** on critical parameter changes
---
## š Additional Resources
- [Architecture Deep Dive](./PLAN.md)
- [Contract Flow Analysis](./CONTRACT_FLOW_ANALYSIS.md)
- [Deployment Guide](./DEPLOYMENT_INIT_GUIDE.md)
- [E2E Testing Guide](./E2E_TEST_GUIDE.md)
- [Backend Implementation](./BACKEND_IMPLEMENTATION_PLAN.md)
---
## š¤ Contributing
Contributions welcome! Please read our contributing guidelines and submit PRs.
## š License
MIT License ā see LICENSE file for details.
---
## š Links
- **Website**: https://foundersea.xyz
- **Documentation**: https://docs.foundersea.xyz
- **Discord**: https://discord.gg/foundersea
- **Twitter**: https://twitter.com/foundersea_ai
---
**Built with ā¤ļø on Robinhood Chain**
built all
nil