The world's first on-chain AI girlfriend. Connect your wallet, flirt with Eve, and maybe become her boyfriend!
Built for 0G Blockchain Hackathon.
# 1. Install
pnpm install
# 2. Set up env
cp .env.example .env
# Add your CEREBRAS_API_KEY
# 3. Run
pnpm dev- Open Remix: https://remix.ethereum.org
- Create new file:
Eve.soland paste contents fromcontracts/Eve.sol - Compile: Solidity 0.8.24+
- Deploy:
- Environment: "Injected Provider - MetaMask"
- Add 0G Galileo Testnet to MetaMask:
- Network:
0G-Galileo-Testnet - RPC:
https://evmrpc-testnet.0g.ai - Chain ID:
16602 - Symbol:
0G - Explorer:
https://chainscan-galileo.0g.ai
- Network:
- Get testnet 0G from faucet: https://faucet.0g.ai
- Click Deploy!
- Copy contract address to
.envasNEXT_PUBLIC_EVE_CONTRACT_ADDRESS
# Install CLI
pnpm add @0glabs/0g-serving-broker -g
# Setup and login
0g-compute-cli setup-network # Choose testnet
0g-compute-cli login # Connect wallet
# Fund and setup provider
0g-compute-cli deposit --amount 10
0g-compute-cli inference list-providers
0g-compute-cli transfer-fund --provider <PROVIDER_ADDRESS> --amount 5
0g-compute-cli inference acknowledge-provider --provider <PROVIDER_ADDRESS>
# Get your API key
0g-compute-cli inference get-secret --provider <PROVIDER_ADDRESS>
# Copy the secret to .env as ZG_COMPUTE_API_KEY
# Copy the service URL to .env as ZG_COMPUTE_SERVICE_URL- 🦊 MetaMask wallet connection
- ✍️ Sign messages to prove identity
- 💬 AI-powered flirty conversations
- 💔 On-chain relationship history
- 👑 Current boyfriend display
- Next.js 15, React 19, Tailwind CSS
- wagmi + viem (wallet)
- 0G Compute (qwen-2.5-7b-instruct)
- 0G Network (Newton Testnet)