Chris Carella
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    1
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    ### Layer 2 Interoperability through Shared Validity Sequencing I have ETH on Base but I want to play a game on Mode which is currently impossible without a serires of complex bridge actions. Interoperability removes these barriers, unlocking the full potential of the Layer 2 ecosystem. A user should not care what chain their game or financial asset is on to use Ethereum. #### Why L2 Interoperability Matters: For users, interoperability means a smoother, more intuitive experience where it no longer matters which chain their assets reside on; they can be used seamlessly across different rollups. This greatly reduces fees by eliminating the need for complex bridges, resulting in cheaper transactions. With faster cross-rollup communication, users also experience less waiting time and reduced slippage, thanks to unified liquidity pools that provide better pricing. The process of bridging assets is either eliminated or becomes so seamless that it feels like a single, integrated transaction, enhancing overall usability. For developers, L2 interoperability simplifies the process of building cross-chain applications by removing the need to develop complex bridge logic, allowing them to focus more on product development. This makes it easier to reach a broader audience since applications can be accessed by users across all participating rollups. Developers can also leverage the strengths of each rollup, such as lower fees or unique dApps, and collaborate across chains, opening up opportunities for creative projects like integrating an onchain game with a DeFi product. On a broader level, the ecosystem benefits greatly from interoperability as it encourages network growth through shared infrastructure and a more interconnected user base. This interconnectedness accelerates innovation, as collaboration between developers on different chains leads to the creation of more advanced use cases. Additionally, interoperability increases the utility of tokens, as they can operate across multiple chains, reaching more liquidity and user engagement points. --- ### Shared Validity Sequencing: Simplifying Cross-Rollup Token Transfers Shared Validity Sequencing (SVS) offers a novel solution to these challenges by creating a unified system of transaction ordering and verification across multiple rollups. It allows rollups to share a globally valid transaction history, eliminating the need for third-party services and enabling token transfers that are fast, secure, and efficient. ### Current Challenges in Cross-Rollup Token Transfers When users move tokens between Layer 2 rollups, they typically interact with a **bridge**, which locks tokens on the source rollup and unlocks or mints corresponding tokens on the destination rollup. Here’s a simplified version of the bridging process: 1. **Locking Tokens**: The user locks or burns tokens on Rollup A, signaling that they want to move the assets to Rollup B. 2. **Message to the Bridge**: The user sends a transaction to a bridge smart contract, which acts as an intermediary, verifying the locked tokens on Rollup A. 3. **Waiting for Confirmation**: Rollup B needs to verify the finality of the transaction on Rollup A, often waiting for multiple confirmations to prevent any potential rollback or reorganization of the source chain. 4. **Minting Tokens**: After verification, the bridge mints or unlocks equivalent tokens on Rollup B. This process is not only time-consuming but also relies on third-party relayers or validators. These external entities introduce additional costs and potential vulnerabilities. Bridges have been a frequent target for hacks, underscoring the security risks involved in cross-chain transfers. ### How SVS Simplifies Cross-Rollup Token Transfers Under SVS, Rollup A and Rollup B both reference the same **shared global transaction sequence** and rely on a **shared validity layer** to ensure consistency across rollups. This system provides cross-rollup compatibility, allowing tokens to be transferred seamlessly without any external validators or validators involved Here’s how token transfers work with SVS: 1. **Transaction on Rollup A**: The user initiates a transfer by locking or burning their tokens on Rollup A. This transaction is not only processed by Rollup A but also included in the shared transaction sequence that both Rollup A and Rollup B can see. 2. **Shared Transaction History**: Since both rollups reference the same shared sequence, Rollup B immediately knows about the transaction on Rollup A. There is no need for an external bridge or relayer to communicate the intent of the transfer. 3. **Token Release on Rollup B**: After confirming that tokens were locked on Rollup A through the shared sequence, Rollup B mints or releases the equivalent amount of tokens. The entire process is governed by the cryptographic proofs embedded in the shared validity layer, which ensures that Rollup B can trust the transaction without additional verification steps. --- ### Local and Global Transaction Sequences in SVS In the Shared Validity Sequencing (SVS) framework, each rollup maintains both a local and global transaction sequence, which work together to ensure efficient processing of transactions within individual rollups and across the broader Superchain ecosystem. **Local Transaction Sequence**: This is the transaction history specific to each rollup, handling operations that are confined to that particular chain. For example, simple token transfers, swaps, or gaming interactions that occur on one chain, are managed within the local transaction sequence. This allows each rollup to process transactions independently, maximizing efficiency and speed. **Global Transaction Sequence**: The global sequence, on the other hand, tracks transactions that involve cross-rollup interactions. When you transfer ETH from Base to Mode or when an in-game action requires assets from another rollup, this transaction is included in the global sequence. Both chains reference this shared global transaction history, ensuring consistent state across all participating rollups. **How This Works Together:** When a user initiates a transaction on one chain that doesn’t involve another rollup, it stays within the local sequence—this makes it quick and efficient. If the transaction needs to be recognized by another rollup (e.g., transferring ETH to a differnt L2 for gameplay), it’s recorded in the global transaction sequence, which both rollups can see and trust. This dual-sequencing model enables rollups to operate independently for most tasks while maintaining seamless interoperability for cross-rollup actions. The result is an ecosystem that’s both scalable and interconnected, allowing for efficient processing of localized transactions without sacrificing the ability to interact across the entire Layer 2 network. --- ### Real User Experience: Using ETH on Base to Play a Game on Mode with SVS To demonstrate how **Shared Validity Sequencing (SVS)** enhances user experience, let's walk through a scenario where you hold **ETH on Chain A (Base)** and want to use it to **play a game on Chain B (Mode)**. This process highlights how SVS makes cross-rollup interactions seamless, secure, and efficient compared to traditional bridging methods. #### Scenario: You hold **ETH on Chain A (Base)** and want to use that ETH to interact with a game on **Chain B (Mode)**. Normally, transferring ETH between these rollups would involve using a bridge, introducing delays, complexity, and additional costs. With SVS, however, the process is streamlined. Here’s how it works: #### Step 1: Initiating the Transaction on Chain A (Base) You have ETH on Chain A (Base) and decide to use it for in-game purchases or to participate in gameplay on Chain B (Mode). To enable this, you need to transfer your ETH from Chain A to Chain B. Under the **Shared Validity Sequencing (SVS)** framework, instead of relying on a traditional bridge, you initiate a **burn or lock transaction** on Chain A (Base). This action signals that the ETH is no longer available for use on Chain A and will be transferred to Chain B (Mode). **Transaction Details**: - **Locking or burning ETH on Chain A**: This transaction locks your ETH on Chain A (Base) and is included in the shared global transaction sequence, visible to both rollups. #### Step 2: Shared Transaction History and Verification Once the ETH is burned on Chain A (Base), this event is immediately recognized by both Chain A and Chain B (Mode) through the **shared global transaction sequence**. - **No relayer or bridge** is needed to communicate this transfer. Chain B can directly reference the shared transaction history to confirm the lock on Chain A. Since **Chain B (Mode)** trusts the shared validity layer, it knows the ETH on Chain A has been locked or burned and is now available for release on Chain B. **Key Points**: - **Shared Global Sequence**: Both chains access the same transaction history. - **Instant Recognition**: Chain B recognizes the transfer as soon as it’s confirmed on Chain A. #### Step 3: Releasing ETH on Chain B (Mode) ETH becomes available on Chain B (Mode). Once Chain B confirms through the shared sequence that the ETH was locked on Chain A (Base), it "mints" or releases the equivalent amount of ETH on Chain B. Now, your ETH is available on Chain B without requiring any external validators or bridges. You can use this ETH to interact with the game on Mode, such as buying in-game items, paying for gameplay, or participating in the game’s ecosystem. #### Step 4: Playing the Game on Chain B (Mode) With your ETH now on Chain B (Mode), you’re ready to engage with the game. The ETH you transferred can be used to purchase items, pay for game actions, or interact with other in-game assets, all in a straightforward manner. - You make in-game transactions using the ETH available on Chain B, just as if you were originally holding ETH on that chain. The experience is smooth, as there’s no need for any additional steps or bridging mechanisms. #### Step 5: Finalization and Cross-Rollup State Consistency Both chains remain synchronized: Since both Chain A (Base) and Chain B (Mode) reference the **shared global transaction sequence**, they stay updated on the transfer of ETH. There’s no need for further reconciliation, and your gaming experience on Chain B is uninterrupted. **Outcome**: You successfully used ETH from Base to participate in a game on Mode in a secure, efficient, and cost-effective way, without the complexities and delays of traditional bridges. --- ### Why This Experience is Superior with SVS - **No Delays**: You don't have to wait for multiple confirmations or rely on third-party relayers to transfer your ETH. - **Lower Fees**: Without external bridges, you avoid the additional fees typically associated with cross-chain transfers. - **Seamless Gameplay**: The process feels like you’re interacting with a single network, allowing you to focus on playing the game without worrying about complex bridging mechanics. SVS transforms what would be a multi-step, costly, and time-consuming process into an **instant, secure, and user-friendly experience**, making it easier to interact on Ethereum with the scaling and affordances offered by Layer 2s. --- ### Traditional vs. SVS Process #### Traditional Bridging Process: 1. You’d have to use a bridge to lock ETH on Chain A. 2. A bridge would verify the transaction, requiring third-party relayers. 3. You’d wait for the bridge to mint ETH on Chain B. 4. This process would take longer due to multiple layers of verification and incur higher transaction fees. #### SVS Process: 1. You lock ETH on Chain A, which is immediately recognized by Chain B via the shared transaction sequence. 2. Chain B releases ETH without any bridge, relayer, or third-party protocol. 3. The process is fast, secure, and cheaper, as it reduces reliance on external validators and eliminates redundant verification. ### Security and Efficiency with SVS - **No need for bridges**: SVS removes the requirement for bridging mechanisms, which are traditionally slow and prone to security vulnerabilities. - **Consistency**: Both rollups remain synchronized through the shared validity layer and global transaction history, reducing the risk of inconsistencies between rollups. - **Faster finality**: Since both chains are using the same global transaction sequence, the transaction can be verified and processed much faster than traditional cross-rollup token transfers. In summary, with **Shared Validity Sequencing**, transferring ETH, tokens and other assets between rollups to interact across chains becomes seamless and efficient. The elimination of bridges and reliance on shared sequencing results in a faster, more secure, and cheaper process. **Shared Validty Sequncing** was designed by [Umbra](https://www.umbraresearch.xyz/writings/shared-validity-sequencing) and is the [current approach being explored](https://specs.optimism.io/interop/overview.html) by Optimism. There is no release date for this but there is a lot of effort on it and I'm hopefully we will all be transaction seamlessly across chains in the next 12 months. ### Thanks Thanks to phil, naomi and max for edit. To the Farcaster community for early feedback and to Sandman from Delphi Research for this research report on the various approaches to Layer 2 https://www.notion.so/Superchain-and-the-Monolithic-Experience-cc499f712c8648cd852b0b5393db2b51

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully