Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 703 Bytes

File metadata and controls

26 lines (20 loc) · 703 Bytes

ChainLogger

Immutable event logging system on ProbeChain Rydberg Testnet (Chain ID: 8004).

Contract: EventLogger.sol

Log events by category and severity (Info/Warning/Error/Critical), subscribe to categories.

Key Functions

  • logEvent(category, severity, message, dataHash) -- Log an event
  • getEvents(category, fromBlock, toBlock) -- Query events in range
  • subscribeToCategory(category) payable -- Subscribe to notifications
  • batchLogEvents(...) -- Log multiple events at once

Deploy

cp .env.example .env
npm install
npx hardhat compile
npx hardhat run scripts/deploy.ts --network rydberg

Network

  • Chain ID: 8004
  • EVM: London
  • Solidity: 0.8.24