ledger · hourly, on-chain
Every hour, written once.
Each UTC hour the server posts two Merkle roots to TwinvoirLedger: one over that hour's duel receipts, one over Juror Credit. A posted hour cannot be edited or deleted, gaps stay visible, and anyone can check a receipt or a credit against it.
TwinvoirLedger 0xa62f85971ab8a6dbf45321f4195cb8e6d328f0cb · source on Sourcify
Last 24 hours
No hours recorded yet. The ledger job runs at :05 past every hour.
Check a wallet
See a wallet's holder status, whether it is a Juror today, its credit balance and every hour it received credit. Verify rebuilds the Merkle root from the proof in your browser and, once the Ledger is deployed, calls verifyCredit on-chain through a public RPC. Nothing here asks for a signature.
Leaf encoding
CREDIT_TAG = keccak256("twinvoir.credit.v1")
DUEL_TAG = keccak256("twinvoir.duel.v1")
creditLeaf = keccak256(bytes.concat(keccak256(abi.encode(
CREDIT_TAG, uint64 hour, address wallet, uint64 creditMicroUsd))))
duelLeaf = keccak256(bytes.concat(keccak256(abi.encode(
DUEL_TAG, uint64 hour, bytes32 receiptHash))))
hour = floor(unixSeconds / 3600) # OpenZeppelin StandardMerkleTree, sorted pairsFull leaf lists per hour: /api/ledger/<hour>, and the exact bytes behind the posted uriHash: /api/ledger/<hour>/raw. Rebuild the whole root yourself and compare counts and totals; a single proof only shows membership.