Dark Ring Docs
FeesOpen app

Auditing a batch after 24 hours

If you're an LLM, read llms.txt

The engine sends every payout, so it can publish each payout transaction's viewing key. It does so 24 hours after the batch, and from then on anyone can check the batch.

Viewing keys

Each private transaction has a viewing key derived from its first nullifier (ShieldedKeypair.transactionViewingKey). It decrypts that transaction's outputs and nothing else. The engine derives it for every payout it sends and publishes it 24 hours later. After 24 hours each fill is readable by anyone, next to its public recipient address.

Batch closes
net trade on the curve, fills paid
→
Memo: batch line
coin, Rings, crossed, net trade signature
→
+24 h: keys line
one viewing key per payout transaction
→
Your browser
decrypts every fill and adds them up
Records are SPL Memo transactions signed by the engine. The site reads them straight from Solana.

Batch records

DRING1 batch <id> <mint> <rings> <crossedLamports> <buy|sell|none> <netLamports> <netTxSig> <payoutSig,...>
DRING1 keys <id> <txViewingKey,...>

The check

For a cleared batch: crossed fills plus the net trade equal everything paid out, at the stated prices, minus 0.5% per fill. Order transactions are not covered (their keys derive from the trader's nullifier, which the engine does not hold), and neither are limits that did not fill.