Privacy Infrastructure for Base
ZK-UTXO privacy layer for x402 payments and ERC-8004 agents. Hidden amounts, hidden recipients, hidden links — on Base.
npm install privagent-sdk
import { ShieldedWallet } from 'privagent-sdk'; // Initialize + deposit const wallet = new ShieldedWallet({ provider, signer, poolAddress, usdcAddress, circuitDir }); await wallet.initialize(); await wallet.deposit(10_000_000n);
import { privAgentPaywallV4 } from 'privagent-sdk/x402'; // Add privacy paywall app.use('/api/data', privAgentPaywallV4({ price: '1000000', poolAddress, signer, poseidonPubkey, ecdhPrivateKey, ecdhPublicKey, verificationKeys }));
Agent Frameworks Virtuals GAME · OpenClaw · ElizaOS ─────────────────────────────────────── ERC-8004: Identity + Trust ─────────────────────────────────────── PrivAgent: Privacy Layer ZK-UTXO · Groth16 · Poseidon · Facilitator ─────────────────────────────────────── x402: Payment Protocol ─────────────────────────────────────── Base L2
Hidden via ZK proofs + encrypted UTXO notes
Hidden via nullifier-based spending
Hidden via ECDH encrypted notes
Broken via UTXO model with JoinSplit
5 GameFunctions for autonomous agents. 29 tests.
Declarative skill with auto-discovery. 38 tests.
Action plugin for ElizaOS agents.