- contracts: ProvenanceRegistry, AttestationRegistry, SettlementEscrow, MockUSDC (Foundry, OZ AccessControl/SafeERC20/ReentrancyGuard/Pausable), 55 tests - shared: typed ABI/type/address layer (viem, Base Sepolia) - agent: Fastify + Claude tool-calling verification service, deterministic scoring reconciliation, on-chain attest/settle, 73 tests - web: Next.js 15 dApp (wagmi/viem/RainbowKit) — supplier/buyer/verifier/deal, 80 tests - infra: Supabase schema + client, IPFS (Pinata + local fallback), 45 tests - integrated, security + TS reviewed, 18 findings fixed; 314 tests green Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
726 B
Plaintext
16 lines
726 B
Plaintext
# @proofchain/infra — environment variables
|
|
# All are OPTIONAL: the package degrades gracefully when they are unset, but any
|
|
# value that IS provided must be well-formed (validated at load, fails fast).
|
|
|
|
# --- Supabase (persistence) --------------------------------------------------
|
|
# Both are required together to enable the store; otherwise it no-ops.
|
|
SUPABASE_URL=
|
|
SUPABASE_SERVICE_ROLE_KEY=
|
|
|
|
# --- IPFS / Pinata -----------------------------------------------------------
|
|
# Set PINATA_JWT to pin to real IPFS; unset → local ipfs://mock/<sha256> fallback.
|
|
PINATA_JWT=
|
|
# Optional overrides (sensible defaults applied if unset):
|
|
PINATA_API_URL=https://api.pinata.cloud
|
|
IPFS_GATEWAY_URL=https://gateway.pinata.cloud/ipfs
|