- 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>
21 lines
715 B
JSON
21 lines
715 B
JSON
{
|
|
"name": "@proofchain/contracts",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "ProofChain Solidity contracts (Foundry): ProvenanceRegistry, AttestationRegistry, SettlementEscrow, MockUSDC",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "forge build && pnpm run export:abis",
|
|
"test": "forge test -vvv",
|
|
"coverage": "forge coverage --no-match-coverage \"(test|script)\"",
|
|
"fmt": "forge fmt",
|
|
"fmt:check": "forge fmt --check",
|
|
"export:abis": "node scripts/export-abis.mjs",
|
|
"clean": "forge clean",
|
|
"deploy:base-sepolia": "forge script script/Deploy.s.sol:Deploy --rpc-url \"$BASE_SEPOLIA_RPC_URL\" --broadcast --verify -vvvv"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|