Brevis 백서

Brevis

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 5쪽 중 5쪽

ased on their day-to-day usage and behavior within the application. Consider a DEX, for instance; one can build a VIP trader program to reduce fees for professional traders based on volume. A qualifying trader can send a query via Brevis to generate corresponding zkDID proof, demonstrating that she has traded a volume exceeding a VIP tier threshold during an accounting period. In another example, blockchain gaming LiveOps campaigns can be designed based on arbitrary user behaviors such as 7-day retention, gameplay frequency, session time, winning ratio, and various other in-game metrics. One might argue that such internal data accounting and analysis logic can be built into the dApp itself without relying on Brevis. While this is true, solutions built with Brevis offer several key advantages: • Low-cost: Incorporating in-app accounting incurs additional on-chain costs for every transaction and all users. This cost is significantly higher compared to the as-needed proof generation for only a relatively small number of users match- ing specific criteria. It is important to note that proof generation and on-chain verification can actually be batched across many users to further amortize the costs. • F uture-proof: Smart contracts are generally immutable unless altered through governance processes. However, user life cycle management often requires diverse campaigns targeting different users based on current circumstances. Adding data accounting directly within a dApp will not be able to address dynamically chang- ing requirements. However, Brevis-powered zkDID solutions can flexibly change user targeting of various campaigns without modifying any on-chain smart con- tract, making them much more future-proof. 38 • Portable: Tracking statistics with in-dApp accounting means that data are still isolated within walled gardens, and there is no simple way for users to reuse these already proven identities. However, zkDIDs generated via Brevis are publicly stored in zkAggregatorRollup and are therefore portable to different applications. 7.5. Account Abstraction Another compelling use case for Brevis lies in the realm of Account Abstraction (AA). The principle of account abstraction involves using a smart contract as an “abstrac- tion” layer for users to access blockchain applications. Compared to employing a bare- metal crypto wallet, AA often provides enhanced security and usability. One frequently discussed usability benefit of AA is social recovery, wherein access to the wallet can be regained even when the main controlling key is lost. Current social recovery designs rely on a static set of predefined multi-signatures. However, this set of multiple signatures must be carefully maintained and updated to ensure recoverability in the event of a lost key. By using Brevis, a smart wallet can implement social recovery capability based on recent social and financial transaction connections. Instead of relying on a fixed set of external wallets, the social recovery function can query Brevis to trust-freely obtain the top five financial counterparties with the highest outgoing transaction value during a specific period or the top three KYC’d exchange accounts to which the account deposited funds in the last year, and use those as sources for social recovery. With thoughtful design, this approach will significantly reduce maintenance overhead and further lower the barrier of entry for new users in the blockchain ecosystem. Numerous other use cases exist in all the aforementioned directions, and the appli- cable scenarios in other areas such as social and NFT gaming are equally thrilling. We encourage community developers to explore and discover more exciting use cases. 8. Conclusion In this white paper, we propose Brevis, a ZK omnichain data attestation platform that empowers dApps to access, compute, and utilize arbitrary data across the entire history of multiple blockchains by leveraging Zero-Knowledge (ZK) succinct proofs. Brevis’s 39 architecture consists of three main components: zkFabric, zkQueryNet, and zkAggre- gatorRollup. Together, these components provide a trust-free, omnichain, modularized, and low-cost solution for data access and computation. The economic incentive design of Brevis is not covered in this white paper and will be discussed in future works. 40 References [1] Axelar, https://axelar.network. [2] Celer cbridge , https://celer.network. [3] Chainlink, https://chain.link. [4] Circom, https://docs.circom.io. [5] Clique proof-of-authority consensus protocol, https://eips.ethereum.org/EIPS/eip-225. [6] Consensys gnark , https://docs.gnark.consensys.net. [7] Consensys zkevm , https://consensys.net/zkevm. [8] Cosmos iavl+ tree , https://github.com/cosmos/iavl. [9] Cosmos ibc, https://ibc.cosmos.network. [10] Dune analytics , https://dune.com/browse/dashboards. [11] The graph, https://thegraph.com. [12] Halo2, https://zcash.github.io/halo2. [13] Ics-23: Vector commitments, https://github.com/cosmos/ics23. [14] Merkle patricia trie , https://ethereum.org/en/developers/docs/data-structures-and- encoding/patricia-merkle-trie. [15] Multichain, https://multichain.xyz. [16] Near rainbow bridge, https://near.org/bridge. [17] Nomad bridge , https://app.nomad.xyz. [18] Plonk aggregation circuit, https://github.com/matter-labs/recursiveaggregation circuit. [19] Polygon zkevm, https://docs.hermez.io/zkEVM/zkProver/Overview/zkProver-Overview. [20] Risc zero, https://www.risczero.com. [21] Ronin bridge, https://bridge.roninchain.com. [22] Scroll zkevm . [23] Starkware, https://starkware.co. [24] Succinct labs proof of consensus , https://blog.succinct.xyz/post/2022/10/29/gnosis- bridge. [25] Tendermint light client in solidity , https://github.com/ChorusOne/tendermint-sol. [26] Thorchain, https://thorchain.org. [27] Verkle tree, https://vitalik.ca/general/2021/06/18/verkle.html. [28] Wormhole, https://wormhole.com. [29] zkllvm, https://github.com/NilFoundation/zkllvm. [30] zksync, https://zksync.io. [31] zkwasm, https://github.com/DelphinusLab/zkWasm. [32] Sha256 proof benchmarks: https://blog.celer.network/2023/03/01/the-pantheon-of-zero- 41 knowledge-proof-development-frameworks (2023). [33] R. Akeela and W. Chen, Yafa-108/146: Implementing ed25519-embedding cocks-pinch curves in arkworks-rs , Cryptology ePrint Archive (2022). [34] M. Ambrona, M. Beunardeau, A.L. Schmitt, and R.R. Toledo, aplonk: Aggregated plonk from multi-polynomial commitment schemes , Cryptology ePrint Archive (2022). [35] J. Bootle, A. Chiesa, and K. Sotiraki, Sumcheck arguments and their applications , in Ad- vances in Cryptology–CRYPTO 2021: 41st Annual International Cryptology Conference, CRYPTO 2021, Virtual Event, August 16–20, 2021, Proceedings, Part I 41 . Springer, 2021, pp. 742–773. [36] M. Campanelli, D. Fiore, and A. Querol, Legosnark: Modular design and composition of succinct zero-knowledge proofs, in Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security . 2019, pp. 2075–2092. [37] Y. El Housni and A. Guillevic, Families of SNARK-friendly 2-chains of elliptic curves , in Advances in Cryptology–EUROCRYPT 2022: 41st Annual International Conference on the Theory and Applications of Cryptographic Techniques, Trondheim, Norway, May 30–June 3, 2022, Proceedings, Part II . Springer, 2022, pp. 367–396. [38] F. Haider, Compact sparse merkle trees , Cryptology ePrint Archive (2018). [39] A. Kothapalli, S. Setty, and I. Tzialla, Nova: Recursive zero-knowledge arguments from folding schemes , in Advances in Cryptology–CRYPTO 2022: 42nd Annual International Cryptology Conference, CRYPTO 2022, Santa Barbara, CA, USA, August 15–18, 2022, Proceedings, Part IV. Springer, 2022, pp. 359–388. 42
프로젝트로 돌아가기