Proof of balances

Every balance counted. None of them shown.

Every hour the sequencer adds up every balance on USD Network in a Merkle sum tree and signs its root. The total must equal the supply. Each account can check that it’s inside, from the USD.NET wallet, without anyone else’s address ever being shown.

0.03 USD₮
Sum of every balance
0.03 USD₮
Supply at the same block
Equal
Nothing missing, nothing extra
1
Accounts with a balance
Snapshot
1223-1794473734080
At block
#1,223 · 08:55:34
Root
2f60a684042e49daba9675e155eb74cfb0a9cef1b5a1b7a660d06e2cdcbc76f3
Total (units)
30000
Signed message
{"chain":"usdnet-1","count":1,"height":1223,"id":"1223-1794473734080","kind":"usdnet-balances-v1","root":"2f60a684042e49daba9675e155eb74cfb0a9cef1b5a1b7a660d06e2cdcbc76f3","time":1794473734080,"total":"30000"}
Sequencer signature
4167ad080c795af4bab059aa945b0b153b405517e1addc74d41832b1375b1bb87ca08b336e8c19cde40576888d63d2632e1d03a8f1425e8bad0303b18a898e05
Sequencer key
c19d04e4cc263b74a1c8b99af709124d38fe4839266fa2834aeef0e18b80caf0
Check
Checking…

Check your own balance

01

Open Settings in your wallet

Under “Your account is Confidential”, press Verify my balance. Open the wallet

02

Your leaf and its path

The wallet asks, signed with your key, for your leaf (balance and salt) and the sibling hashes and sums on its way to the root. The siblings never carry an address.

03

Rebuilt in your browser

It rebuilds the root and total, checks they match the signed ones above, and that no sum is negative. If any of it fails, it says so.

Recent snapshots

BlockWhenSumAccountsSupplyRoot
#1,22308:55:340.03 USD₮1Equal2f60a684042e49daba9675e1…
#1,22107:58:030.03 USD₮1Equalcab974c9f70c2e31d2ea14a1…
#1,21906:48:430.03 USD₮1Equal96bd9ba620a2a8c3b15468ea…
#1,21705:35:500.03 USD₮1Equalf5afb1e3f5dd8707cd241cdf…
#1,21005:00:560.03 USD₮1Equal99192d6947c8a863edfe0593…
#1,02313:32:080.03 USD₮1Equala28d373cf313de18f09c28ce…
#97913:06:530.03 USD₮1Equale6214d27333e5da2df7c445e…

Now: 0.03 USD₮ issued across 17 accounts. Leaf = SHA-256(0x00 ‖ “usdnet-balance-v1” ‖ address ‖ balance u64 ‖ salt); node = SHA-256(0x01 ‖ left ‖ left sum ‖ right ‖ right sum). The full specification