Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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