# Environment Variables for ERC-8004 SDK # ================================== # Blockchain Configuration # ================================== # RPC URL for your network (Sepolia, Mainnet, etc.) RPC_URL=https://sepolia.infura.io/v3/your-infura-key # Private key for signing transactions (NEVER commit this!) PRIVATE_KEY=0x... # ================================== # IPFS Configuration # ================================== # Choose ONE of the following IPFS providers: # Option 1: Pinata (Recommended for Production) # Sign up at https://pinata.cloud PINATA_API_KEY=your-pinata-api-key PINATA_API_SECRET=your-pinata-secret # Option 2: NFT.Storage (Good for NFT-related content) # Sign up at https://nft.storage NFT_STORAGE_KEY=your-nft-storage-key # Option 3: Web3.Storage (Free decentralized storage) # Sign up at https://web3.storage WEB3_STORAGE_KEY=your-web3-storage-key # Option 4: Local IPFS Node # Install IPFS: brew install ipfs # Start daemon: ipfs daemon IPFS_NODE_URL=http://127.0.0.1:5001 IPFS_GATEWAY_URL=http://127.0.0.1:8080/ipfs/ # ================================== # ERC-8004 Contract Addresses # ================================== # Sepolia Testnet (Vanity addresses via CREATE2 - same on all chains) IDENTITY_REGISTRY=0x8004A818BFB912233c491871b3d84c89A494BD9e REPUTATION_REGISTRY=0x8004B663056A597Dffe9eCcC1965A193B7388713 VALIDATION_REGISTRY=0x8004Cb1BF31DAf7788923b405b754f57acEB4272 CHAIN_ID=11155111 # ================================== # Optional: Custom Gateway # ================================== # Use a dedicated IPFS gateway for better performance IPFS_GATEWAY=https://gateway.pinata.cloud/ipfs/ # or # IPFS_GATEWAY=https://cloudflare-ipfs.com/ipfs/