Immutable event logging system on ProbeChain Rydberg Testnet (Chain ID: 8004).
Log events by category and severity (Info/Warning/Error/Critical), subscribe to categories.
logEvent(category, severity, message, dataHash)-- Log an eventgetEvents(category, fromBlock, toBlock)-- Query events in rangesubscribeToCategory(category)payable -- Subscribe to notificationsbatchLogEvents(...)-- Log multiple events at once
cp .env.example .env
npm install
npx hardhat compile
npx hardhat run scripts/deploy.ts --network rydberg- Chain ID: 8004
- EVM: London
- Solidity: 0.8.24