-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
78 lines (66 loc) · 3.01 KB
/
Copy path.env.example
File metadata and controls
78 lines (66 loc) · 3.01 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Database
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=aperture
POSTGRES_PASSWORD=aperture_dev_password
POSTGRES_DB_POLICY=aperture_policy
POSTGRES_DB_COMPLIANCE=aperture_compliance
# Solana Devnet
SOLANA_RPC_URL=https://api.devnet.solana.com
SOLANA_WEBSOCKET_URL=wss://api.devnet.solana.com/
# Solana Devnet Token Mint Addresses
USDC_MINT_ADDRESS=4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU
USDT_MINT_ADDRESS=EJwZgeZrdC8TXTQbQBoL6bfuAnFUQS7QEkCybt4rCxsT
# aUSDC: Aperture's SPL Token-2022 with the compliance transfer hook attached.
# The mint address is unchanged from the original vUSDC deployment; only the
# on-chain metadata (name "Aperture USDC", symbol "aUSDC", URI) was updated
# during the rebrand. Existing balances on the mint are preserved.
AUSDC_MINT_ADDRESS=E9Ab23WT97qHTmmWxEmHfWCmPsrQb77nJnAFFuDRfhar
NEXT_PUBLIC_AUSDC_MINT=E9Ab23WT97qHTmmWxEmHfWCmPsrQb77nJnAFFuDRfhar
# Service Ports
POLICY_SERVICE_PORT=3001
COMPLIANCE_API_PORT=3002
# Prover Service (RISC Zero zkVM)
PROVER_SERVICE_URL=http://localhost:3003
PROVER_SERVICE_PORT=3003
# x402 Configuration
X402_FACILITATOR_URL=https://x402.org/facilitator
X402_NETWORK=solana-devnet
# MPP Configuration
MPP_API_URL=https://api.tempo.finance/v1
MPP_NETWORK=solana-devnet
MPP_SECRET_KEY=your-random-32-byte-base64-secret
# Stripe (MPP Payment Processing)
STRIPE_SECRET_KEY=sk_test_...
STRIPE_PUBLISHABLE_KEY=pk_test_...
STRIPE_API_VERSION=2026-03-04.preview
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
# Stripe webhook signing secret (whsec_xxx). Generate via:
# stripe listen --forward-to localhost:3002/api/v1/mpp/webhook
# (dev) or copy from a Stripe Dashboard webhook endpoint (production).
STRIPE_WEBHOOK_SECRET=whsec_...
# Stripe Customer + saved PaymentMethod the agent uses for off-session
# MPP charges. Provisioned by the operator (one-time Customers.create +
# SetupIntent confirmation). Optional — leave empty to disable agent MPP.
STRIPE_CUSTOMER_ID=
STRIPE_PAYMENT_METHOD_ID=
# Compliance-api MPP authority keypair (64-byte base58 ed25519 secret).
# Pubkey is hardcoded in programs/verifier/.../verify_mpp_payment_proof.rs
# (MPP_AUTHORITY_PUBKEY). Pre-generated by scripts/deploy/mpp-authority.json
# — do NOT commit the keypair file. Replace with your keypair before deploy.
MPP_AUTHORITY_KEYPAIR_BASE58=
# Light Protocol ZK Compression (Helius Devnet RPC)
NEXT_PUBLIC_LIGHT_RPC_URL=https://devnet.helius-rpc.com/?api-key=YOUR_HELIUS_API_KEY
LIGHT_RPC_URL=https://devnet.helius-rpc.com/?api-key=YOUR_HELIUS_API_KEY
# Compressed attestation mint (created via scripts/create-compressed-mint.ts)
NEXT_PUBLIC_COMPRESSED_ATTESTATION_MINT=EraJfY2Lk1BpWHjBZuxA1T8Re36D515JLkW1FFo7Ah1P
COMPRESSED_ATTESTATION_MINT=EraJfY2Lk1BpWHjBZuxA1T8Re36D515JLkW1FFo7Ah1P
# Payer private key for minting compressed tokens (JSON array format from Solana keygen)
LIGHT_PAYER_PRIVATE_KEY=[your-solana-keypair-json-array]
# Agent Service
AGENT_SERVICE_PORT=3004
AGENT_WALLET_PRIVATE_KEY=<base58-or-json-array-private-key>
AGENT_INTERVAL_MS=30000
# Logging
LOG_LEVEL=info
NODE_ENV=development