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.

2,115 USD₮
Sum of every balance
2,215 USD₮
Supply at the same block
Not equal
The sum and supply differ
38
Accounts with a balance
Snapshot
1389-1794475452422
At block
#1,389 · 09:24:12
Root
7cc0f9dfa50b6b6c24d2e0328cc1d5da0ec6aa22ad71914ec2b7d6f50e881b15
Total (units)
2115000000
Signed message
{"chain":"usdnet-testnet-1","count":38,"height":1389,"id":"1389-1794475452422","kind":"usdnet-balances-v1","root":"7cc0f9dfa50b6b6c24d2e0328cc1d5da0ec6aa22ad71914ec2b7d6f50e881b15","time":1794475452422,"total":"2115000000"}
Sequencer signature
e91c34c2b9f9284d8758847549370f6dc90599b55a395b648e6d4f762a825a21c6009ddce849d8b8f88673924e0c261d0dcf7ef106a0a2f9583cbde04283e807
Sequencer key
64d1d3120be538bd56f1392fb5c2b4be570af7bbe5bdc7af184713bbcb787a3c
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,38909:24:122,115 USD₮38Differs7cc0f9dfa50b6b6c24d2e032…
#1,38507:52:562,015 USD₮37Differs56adbefddd39a70523fcdb61…
#1,38107:46:132,015 USD₮37Differsf55bdb62f904263d5bc5e2c1…
#1,37406:37:132,015 USD₮36Differs762a9ae6bbdeb88461821507…
#1,35905:42:161,415 USD₮27Differs9165e2c29977512918446b9b…
#1,31104:46:14715 USD₮12Equal847273fc21fb6bb89a932cc7…
#1,13620:45:24615 USD₮11Equalcf68538a939513119dd7b692…
#1,12520:44:18515 USD₮9Equal6ec664450c544861221be86a…
#1,11713:29:39415 USD₮8Equalbf2f962c21b72949fc6834c6…
#1,09513:07:39315 USD₮7Equalde199b61c0ae23d1a62e57ae…

Now: 2,215 USD₮ issued across 42 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