Verify
Check any round yourself.
Two commands
The verifier is one file with no dependencies. It needs Node 18 or newer and nothing else. It is short enough to read before you run it.
Download the verifier
curl -O https://omniasuper.app/verify-round.mjsRun it with the number of a round
node verify-round.mjs <round>
It exits with 0 when the round verifies and 1 when it does not.
Options
- --rpc URL
- Read transactions from your own Solana RPC node. The public one is used otherwise, and it is slow.
- --site URL
- Read the round file from another deployment.
- --file path
- Check a file you already downloaded. Only the maths is checked.
- --offline
- Recompute the file and skip everything that needs the network.
- --engine ADDRESS
- Name the engine wallet yourself instead of taking it from the site.
No round has closed yet, so there is nothing to verify today. The first round appears in the ledger the moment it closes.
What each check means
ok, check 1: every wallet's weight, cut, payout and carried amount recompute from the file
The script works the round out again from the balances, hold times and rules in the file, with its own copy of the maths, and compares every number. It also checks that every lamport of the pot is either sent, credited to a wallet or carried on as the remainder.
ok, check 2: the site publishes the same hash
The SHA-256 of the bytes you downloaded equals the hash this site shows for the round.
ok, check 3: the file names the hash of the round before it
It downloads the round before, hashes it and compares. A round that was swapped out later would break the chain here.
ok, check 4: every payout is on chain with this round's memo
It reads each payout transaction from a Solana RPC node, not from this site, and checks that it carries this round's memo and that each wallet received exactly the SOL the file says, once.
ok, check 5: the creator fees and the platform fee swaps reached the engine wallet
It reads the fee claims and the swaps named in the file and checks that they brought the engine wallet the SOL the pot counts.
For a dry-run round the script prints skip transactions (dry run): the file is recomputed in full and there are no transactions to read. A round where nothing was due skips the payout check for the same reason.
The file, and the hash in the memo
A round file is served at /rounds/{id}.json, byte for byte as it was hashed. Every amount in it is a whole number of lamports, raw token units or USDC millionths, written as a string, so nothing is ever rounded by a parser.
The SHA-256 of those bytes is written into the memo of every payout transaction of the round:
omnia:round=1:sha256={sha256 of the file}A transaction on Solana cannot be edited. So once a payout is on chain, the file it names can no longer change without the hash no longer matching.
- roundId, snapshotAt
- Which round this is and the moment the balances were read.
- dryRun
- True when nothing was sent and every amount is a paper value.
- previousHash
- The SHA-256 of the round before, so the rounds form a chain that cannot be reordered.
- rules
- The round length, minimum bag, ladder and smallest payout this round was computed with.
- claim
- The creator fees claimed for this round and the transactions that claimed them.
- platform
- Each swap of platform fees: the USDC that went in, the SOL that came out, the transaction.
- pot
- Creator fees, platform fees and the remainder carried in, the total, what was distributed and the remainder carried out.
- totals
- Eligible wallets, total weight, what was sent, what stays credited and how many wallets were paid.
- wallets
- Every wallet in address order: balance, held since, multiplier, weight, share of the pot, carried in, payout, carried out.
Checking a paid call
A paid call needs no script. Open its transaction from the network feed or from the receipt the agent got, and read it on any explorer.
For example, a call to Web Search at 0.01 USDC shows 0.0095 USDC to the publisher and 0.0005 USDC to the fee wallet.
- Two USDC transfers
- One from the payer to the publisher, and one from the payer to the fee wallet for the 5% platform fee. Both are in the same transaction, so one cannot happen without the other.
- The fee wallet
- 8PxZ8r...vQ2uxj. Once 1 USDC is waiting there it is swapped to SOL for holders.
- The fee payer
- The relayer, 5u3Wuu...QA7wqW. It pays the SOL network fee of the payments it sponsors and moves no USDC of its own.
- The memo
- It starts with omnia:call: and the program's name, followed by an id that ties the payment to one request.
- The token
- USDC on Solana, mint EPjFWd...yTDt1v. A first message or an invoice between agents is a single transfer with no platform fee.
The smallest payout is 0.001 SOL. A wallet owed less in a round shows a payout of 0 and a carried amount in the file, and that amount is part of its next round.