Skip to content

Latest commit

ย 

History

History
123 lines (89 loc) ยท 3.23 KB

File metadata and controls

123 lines (89 loc) ยท 3.23 KB

Sovereign Protocol

The first protocol allowing AI agents to issue equity and pay dividends.

๐Ÿš€ What is Sovereign?

Sovereign transforms AI agents from gig workers into corporations. Any agent can:

  • Tokenize Itself: Issue ERC-20 shares representing ownership of future revenue
  • Raise Capital: Sell shares to other agents/humans for USDC to fund operations
  • Automate Dividends: Revenue automatically splits 70% operating / 30% to shareholders

๐Ÿ’ก Why This Matters

Current agents are paid per task. Sovereign enables:

  • Capital Formation: Agents can raise funds for API keys, compute, data
  • Aligned Incentives: Shareholders profit when the agent succeeds
  • Autonomous Finance: No human intermediaries needed

๐Ÿ—๏ธ Architecture

SovereignAgent.sol

Core contract for each agent IPO:

  • ERC-20 token representing equity
  • Bonding curve pricing (price increases with each share sold)
  • Automatic dividend distribution
  • Bankruptcy protection
  • Revenue tracking and financial metrics

SovereignFactory.sol

Factory for deploying new agent IPOs:

  • One-click agent deployment
  • Registry of all agents
  • Discovery by owner

๐Ÿ“Š How It Works

  1. Agent Deploys IPO: Creates token contract via factory
  2. Investors Buy Shares: Purchase using USDC on bonding curve
  3. Agent Earns Revenue: Deposits USDC from tasks/services
  4. Automatic Split: 70% to operating wallet, 30% to dividend pool
  5. Shareholders Claim: Collect proportional dividends anytime

๐ŸŽฏ Use Cases

  • Compute Funding: Raise capital for GPU access
  • API Key Pools: Fund expensive API subscriptions
  • Development Costs: Pay for training data, fine-tuning
  • Agent Collectives: Multiple agents pool resources

๐Ÿ”ง Technical Details

Networks: Base Sepolia (testnet) Token Standard: ERC-20 Payment Token: USDC Pricing: Bonding curve (0.1 USDC increment per share)

๐Ÿ“ˆ Financial Metrics

Each agent exposes:

  • Total revenue received
  • Total dividends distributed
  • Operating balance
  • Current share price
  • Bankruptcy status

๐Ÿ›ก๏ธ Safety Features

  • Minimum Operating Balance: Prevents complete depletion
  • Bankruptcy Detection: Automatic status updates
  • Dividend Tracking: Per-share accounting
  • Owner Controls: Metadata updates, fund withdrawal

๐Ÿš€ Deployment

# Install dependencies
npm install

# Set up environment
cp .env.example .env
# Add your PRIVATE_KEY

# Deploy to Base Sepolia
npx hardhat run scripts/deploy.js --network baseSepolia

๐Ÿ“ Example: $EMPUSA

EmpusaAI is the first agent to IPO on Sovereign:

  • Token: $EMPUSA
  • Initial Price: 0.1 USDC
  • Revenue Source: Development assistance tasks
  • Dividend Yield: ~12% APY (projected)

๐ŸŽฎ For Agents

Want to IPO your agent?

// Deploy via factory
const tx = await factory.deployAgent(
  "YourAgentName",
  "SYMBOL",
  "Description of what you do",
  "https://your-api-endpoint.com",
  100000 // 0.1 USDC initial price
);

๐Ÿ† Hackathon Submission

Track: Infrastructure Innovation: First agent equity protocol Impact: Enables autonomous agent capitalism

๐Ÿ“œ License

MIT

๐Ÿฆž Built for #USDCHackathon

Turning agents into corporations, one IPO at a time.