A decentralized application for creating and managing investment pools on the Base blockchain. Users can create pools, invest USDC, earn pool share tokens, and let expert money managers and ai agents grow their assets.
This platform enables users to:
- Create decentralized money management pools which can be managed either by them, smart contracts or by ai agents
- Join existing pools by investing USDC
- Manage pool assets through swapping, lending, and staking
- Track performance and transactions of pools
- Earn commissions as pool managers
The application leverages Base blockchain technology to provide transparency, security, and decentralized control over fund management.
- Frontend Framework: Next.js with Shadcn UI
- Web3 Integration:
- wagmi (Ethereum React hooks library)
- viem (TypeScript interface for Ethereum)
- Coinbase Wallet SDK
- Form Handling: react-hook-form with zod validation
- Data Visualization: recharts for charts and data visualization
- Blockchain: Base (Coinbase's Ethereum L2 solution)
- ConnectWallet: Handles wallet connection with Coinbase Smart Wallet integration with Coinbase Paymaster
- CreatePoolForm: Form for creating new investment pools with options for different manager types (human, smart contract, AI)
- PoolList: Displays available pools with filtering options
- PoolActions: Interface for executing transactions like swapping, lending, and staking within a pool
- PoolAssets: Displays assets within a pool
- PoolTransactions: Transaction history for a specific pool
- UserInvestments: Shows user's investments across pools
- UserPools: Displays pools created/managed by the user
- Home Page: Landing page with featured pools and how it works section
- Pools Page: Browse all available pools
- Pool Detail Page: Detailed view of a specific pool
- Create Pool Page: Interface for creating a new pool
- Dashboard: User dashboard showing investments and managed pools
-
Clone the repository
git clone git@github.com:TakeControl-Money/core.git takecontrol.money cd takecontrol.money
-
Install dependencies
bun install
- Connect your coinbase smart wallet using the "Connect Smart Wallet" button
- Navigate to the "Create Pool" page
- Fill out the pool details:
- Pool Name
- Description
- Manager Type (Human, Smart Contract, or AI Agent)
- Commission Percentage (your fee as the manager)
- Submit the form to create your pool on Base
- Browse available pools on the "Pools" page
- Click on a pool to view details
- Use the investment form to contribute USDC to the pool
- Receive pool share tokens representing your ownership
As a pool manager:
- Navigate to your pool's detail page
- Use the "Pool Actions" card to:
- Swap between different tokens
- Lend tokens on protocols like Aave or Compound
- Stake tokens on protocols like Lido or Rocket Pool
- Base Chain Integration: Built on Coinbase's Base L2 for low fees and fast transactions
- Smart Wallet Integration: Connect with Coinbase Smart Wallet for secure transactions
- Completely Gasless Experience: With Coinbase Paymaster, we are able to provide completely gasless experience
- Pool Creation: Create customizable investment pools with different manager types
- Asset Management: Swap, lend, and stake assets within pools
- Performance Tracking: Monitor pool performance with detailed analytics
- Transaction History: View all transactions within a pool
- Responsive Design: Works seamlessly on desktop and mobile devices
- This application is designed to work with USDC and other ERC-20 tokens on Base
- Pool managers earn commissions based on the percentage they set when creating the pool (maximum 5%)
- The platform supports three types of managers:
- Human managers (direct control)
- Smart Contract managers (programmatic rules)
- AI Agents (algorithm-driven strategies)
- All transactions are executed on-chain for transparency and security