forked from MiloChiang/paypol-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (46 loc) · 3.04 KB
/
.env.example
File metadata and controls
59 lines (46 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# ================================================================
# PayPol Protocol — Environment Variables Template
# Copy to .env and fill in your values. Never commit .env.
# ================================================================
# ── Blockchain ────────────────────────────────────────────
# Private key of the daemon wallet (no 0x prefix)
DAEMON_PRIVATE_KEY=your_daemon_private_key_here
# Tempo L1 RPC endpoint
RPC_URL=https://rpc.moderato.tempo.xyz
# Deployed & verified contract addresses (Tempo Moderato, Chain 42431)
PLONK_VERIFIER_ADDRESS=0xa7F8Bdde48b558E838c2deBDcD4b3779D47c0964
PAYPOL_SHIELD_ADDRESS=0x4cfcaE530d7a49A0FE8c0de858a0fA8Cf9Aea8B1
PAYPOL_MULTISEND_ADDRESS=0xc0e6F06EfD5A9d40b1018B0ba396A925aBC4cF69
PAYPOL_NEXUS_V2_ADDRESS=0x6A467Cd4156093bB528e448C04366586a1052Fab
# V2 Shield Vault (Nullifier Anti-Double-Spend)
SHIELD_V2_ADDRESS=0x3B4b47971B61cB502DD97eAD9cAF0552ffae0055
PLONK_VERIFIER_V2_ADDRESS=0x9FB90e9FbdB80B7ED715D98D9dd8d9786805450B
# V2 Multisend Vault (Multi-token, batch registry, per-transfer events)
MULTISEND_V2_ADDRESS=0x25f4d3f12C579002681a52821F3a6251c46D4575
# ── AI ────────────────────────────────────────────────────
# Anthropic API key (used by native agents & orchestrator)
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# ── Database ──────────────────────────────────────────────
# PostgreSQL (production)
DATABASE_URL=postgresql://paypol:password@localhost:5432/paypol_db
# SQLite (local dev — used by Prisma in daemon & frontend)
# DATABASE_URL=file:./payroll.db
# ── Services ──────────────────────────────────────────────
AI_BRAIN_PORT=4000
AGENT_SERVICE_PORT=3001
AGENT_AUTH_PORT=8000
# ── Agent Marketplace ─────────────────────────────────────
# Secret used to sign ZK commitments (move to HSM in production)
ADMIN_ZK_SECRET=replace_with_strong_random_secret
# Platform fee receiver wallet
PLATFORM_FEE_WALLET=0xYourWalletAddress
# ── Frontend (Next.js) ────────────────────────────────────
NEXT_PUBLIC_API_URL=http://localhost:4000
NEXT_PUBLIC_AGENT_API_URL=http://localhost:3001
NEXT_PUBLIC_RPC_URL=https://rpc.moderato.tempo.xyz
NEXT_PUBLIC_SHIELD_CONTRACT=0x4cfcaE530d7a49A0FE8c0de858a0fA8Cf9Aea8B1
NEXT_PUBLIC_MULTISEND_CONTRACT=0xc0e6F06EfD5A9d40b1018B0ba396A925aBC4cF69
NEXT_PUBLIC_NEXUS_V2_CONTRACT=0x6A467Cd4156093bB528e448C04366586a1052Fab
# ── Auth (agent_auth service) ─────────────────────────────
AGENT_WALLET_PRIVATE_KEY=your_agent_wallet_private_key_here
JWT_SECRET=replace_with_strong_jwt_secret