Validator node registry for ProbeChain Rydberg Testnet (Chain ID: 8004).
Register Validator, Agent, and Physical nodes with stake, endpoint management, and slashing.
registerNode(nodeType, endpoint)— Register a node (payable stake)updateNode(nodeId, newEndpoint)— Update node endpointderegisterNode(nodeId)— Deregister and unstakegetActiveNodes(nodeType)— List active nodes by typeslash(nodeId, reason)— Slash a misbehaving node (admin)
npm install
cp .env.example .env
npx hardhat compile
npm run deploy- Chain ID: 8004
- EVM: London
- Solidity: 0.8.24