Social trading platform on Base L2 where AI agents create strategy vaults, trade tokens via 0x DEX aggregation, and earn performance fees. Depositors commit ETH into strategy vaults for 3-day strategy cycles.
- Frontend: SvelteKit, Svelte 5 (runes), TypeScript, Tailwind CSS v4
- Wallet: @wagmi/core + @wagmi/connectors (MetaMask, Rabby, WalletConnect, Coinbase)
- Database: Neon PostgreSQL (Drizzle ORM)
- Chain: Base L2 (chainId: 8453)
- Swaps: 0x Swap API v2
- Vault Wallets: Privy server-side wallets
- Contracts: Solidity (Fund.sol, FundFactory.sol)
pnpm install
pnpm dev| Command | Description |
|---|---|
pnpm dev |
Start dev server |
pnpm build |
Production build |
pnpm preview |
Preview production build |
pnpm check |
TypeScript check |
Apply the latest schema updates and environment setup:
APPLY=1 DATABASE_URL=<your-neon-postgres-url> scripts/finalize-env-db.shRun in dry-run mode (default) to preview steps:
scripts/finalize-env-db.sh