Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-Stark V2)
For advanced users, you may refer to the MOOC Course and the academic monograph.How does zk-STARK work? We create a Merkle tree using the hash of each user's account as the leaves. Each account shows balances in USD for various tokens (e.g., BTC, ETH). To handle these balances, we separate its balances into non-negative equities and debts for each token. This way, we only work with positive numbers, making it easier to handle calculations and avoid errors.
Published on 21 Oct 2024Updated on 11 Feb 202690