Optimistic Rollup
The fundamental concept underlying SatoChain is the Optimistic Rollup, a paradigm that we'll briefly elucidate at a broad level before delving into the rationale behind choosing Optimistic Rollup for
Last updated
The fundamental concept underlying SatoChain is the Optimistic Rollup, a paradigm that we'll briefly elucidate at a broad level before delving into the rationale behind choosing Optimistic Rollup for
Last updated
SatoChain operates as an "Optimistic Rollup," an innovative approach that relies on the consensus mechanism of another blockchain, termed the "parent" blockchain (e.g., PoW or PoS), instead of deploying its own consensus mechanism. In SatoChain's primary network, Bitcoin serves as the parent blockchain.
In SatoChain, Layer 2 blocks are stored on the Bitcoin blockchain with minimal Layer 1 Gas fees. These blocks are presented as transaction data on Bitcoin, and once these "transactions" are integrated into blocks with substantial proofs, the transaction data becomes immutable and resistant to censorship. This mechanism ensures that SatoChain's mainnet inherits the availability and integrity guarantees provided by Bitcoin.
The production and management of SatoChain blocks predominantly lie in the hands of an entity known as the "sequencer," which aids the SatoChain Layer 2 network by:
Confirming transactions and updating state.
Constructing and executing Layer 2 blocks.
Submitting user transactions to Layer 1.
In SatoChain, the sequencer maintains a private mempool, similar to Bitcoin's Layer 1, to prevent opportunities for MEV. Blocks on the SatoChain mainnet are generated at intervals of 3-60 seconds (exact timing to be determined), irrespective of whether they are empty, filled up to the block's gas limit, or fall somewhere in between.
Transaction submission to the sequencer occurs in two ways:
Transactions submitted on Layer 1 (deposits) are included in the corresponding Layer 2 block's chain, identified by an "epoch" and sequence number. This approach ensures censorship resistance at the level of Layer 1 Bitcoin.
Direct submission of transactions to the sequencer, with lower costs compared to Layer 1 but lacking resistance to censorship since the sequencer is the sole entity aware of these transactions.
Initially, the SatoChain Foundation serves as the exclusive block producer on the SatoChain mainnet, gradually transitioning to a decentralized sequencer.
The execution engine receives blocks through two mechanisms:
Self-updating via a peer-to-peer network, akin to how Layer 1 execution clients synchronize state.
Rollup nodes (implemented as SatoChain-Node components) deriving Layer 2 blocks from Layer 1, a slower but censorship-resistant mechanism.
SatoChain's architecture facilitates users to exchange messages between Layer 2 and Layer 1, enabling asset transfers between the two networks. The specific communication mechanism depends on the direction of message transmission.
In the context of standard bridging on the SatoChain mainnet, users can deposit assets from the Bitcoin network into the SatoChain mainnet and withdraw the same assets back to the Bitcoin mainnet.
In SatoChain's terms, transactions from Bitcoin to the SatoChain mainnet are termed deposits, even if they involve no additional assets.
These deposit transactions become part of the blockchain of the first Layer 2 block of an "epoch," corresponding to the L1 block in which the deposit occurred, typically created a few minutes after the corresponding Layer 1 block.