Architecture Overview
Autonomous Smart Contracts In GAYA, each smart contract, referred to as an “actor,” is an independent entity with its unique address, code, and data. These smart contracts operate within the GAYA Virtual Machine (GVM), a system similar to Ethereum's EVM. Upon receiving a message or transaction, each contract processes the input based on encoded rules, updates its internal state, and may initiate outgoing messages. The sequential processing of transactions upholds the security and reliability of contract operations, ensuring consistency and preventing conflicts across the network.
Continuous Account Chains Each user or contract account on GAYA maintains an ongoing sequence of transactions, known as an Account Chain. Transactions in each Account Chain are grouped into blocks, with each block documenting the state changes and interactions associated with that account during the specified period. This continuous recording ensures that every transaction is traceable and that the transaction history remains transparent and linear.
The GAYA Blockchain The GAYA blockchain aggregates all individual Account Chains into a unified, immutable ledger. As a Layer 1 blockchain, it provides a consistent framework where all network transactions adhere to uniform rules and are recorded securely. This integrated approach ensures that the GAYA blockchain offers an uninterrupted, reliable record of all network activities, sustaining the network’s overall integrity and coherence.
Custom Workchains Workchains within GAYA are customized blockchains designed to operate under specific rules within the broader GAYA ecosystem. Unlike Ethereum’s mainnet, which follows a universal rule set, GAYA Workchains cater to specialized use cases. These Workchains remain interconnected within the GAYA network, allowing seamless interoperability and maintaining consistency across the platform.
The GAYA Masterchain The GAYA Masterchain acts as the primary coordinating blockchain, synchronizing all Account Chains and Workchains within the ecosystem. It ensures consensus across the network by incorporating the latest block references from each chain into a network-wide snapshot. This central coordination of the Masterchain is crucial for maintaining both the integrity and security of the entire GAYA blockchain.
Last updated