Zentra
  • Welcome to Zentra
  • Why Zentra?
  • Key Features
    • Python to Blockchain
    • Upgradable Ecosystem
  • Architecture
    • Chain and Indexer
  • Minus Theory
  • Core Concepts
    • Input and State
    • App State
    • Parallel VM
    • Code and Committee
  • Tokenomic
    • Global State Explosion
    • Bitcoin Paradox
    • Global Space Scarcity
    • Zentra Tokenomic
  • FAQ and Troubleshooting
    • Is Zentra Decentralized?
    • Is Zentra a DA?
  • How does Security and verification works?
  • Community and Support
    • Join Zentra community
由 GitBook 提供支持
在本页
  1. Core Concepts

App State

The global state is sufficient for simple applications, such as token management. However, in more complex applications, excessive use of the global state may lead to the inefficient consumption of public resources.

To address this, we introduce the concept of local state, which we define as App State for better clarity.

  • An indexer must store the global state to ensure consistency across the network.

  • Storing AppState is optional, allowing indexers to manage storage resources efficiently.

  • App State (local state) cannot affect the global state, ensuring that it remains isolated and does not compromise the integrity of the blockchain.

By introducing App State, Zentra provides a scalable way to support complex applications while optimizing resource utilization. Meanwhile, with this design, it is also possible to bring Zentra Tokenomic paradigm to Zentra apps.

上一页Input and State下一页Parallel VM

最后更新于4个月前