ReamLabs
      • 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
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • 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
    • Engagement control
    • Transfer ownership
    • Delete this note
    • 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 Sharing URL Help
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
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • 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
    # PQDevnet0: Laying the groundwork for post-quantum interop with 3SF-mini _Thanks to Jun, Gajinder, Kamil, Will and Ladislaus for feedback and review._ ## Overview PQDevnet0 marks the first integration milestone in the Lean Consensus effort to bring post-quantum cryptography to Ethereum. While practically a pre-devnet without PQ signatures yet, this phase established critical foundations for multi-client coordination and our iterative development approach, with 3 clients: [Ream](https://x.com/reamlabs), [Zeam](https://x.com/zeamETH) and [Qlean](https://x.com/qdrvm_io) together achieving finality with 3SF-mini. ## Overall Objectives The PQ devnet(s) target these core engineering challenges that must be proven to make post-quantum Ethereum viable: 1. **PQ signature viability**: Hash-based multi-signatures operating within sub-second constraints 2. **PQ signature aggregation viability**: Specific to the consensus layer, signature aggregation must also be operating within sub-second constraints 3. **Multi-client interoperability**: All clients syncing and validating blocks/attestations within timing constraints 4. **Resource requirements**: Operating within EIP-7870 hardware constraints ## Engineering Philosophy: Early Integration Starting devnet development this early represents a deliberate engineering choice. Rather than waiting for complete specifications, we're running parallel tracks where implementation informs specification and vice versa. In effect, we are: - Parallelizing implementation with specification development - Tightening feedback loops between research and engineering teams - Discovering specification ambiguities while they're still easy to fix - Accelerating path to production-readiness through early problem identification ## Client Implementations Three independent client teams are building implementations from scratch, each bringing different language strengths and architectural approaches to the challenge: - **Ream**: Rust implementation by [ReamLabs](https://x.com/reamlabs) - **Zeam**: Zig implementation by [Blockblaz](https://x.com/blockblaz) - **Qlean**: C++ implementation by [Quadrvium](https://x.com/qdrvm_io) ## PQDevnet0 Accomplishments ![grafana-timelapse-ezgif.com-optimize](https://hackmd.io/_uploads/rJzhy4BAxe.gif) <font size="2">*Ream, Zeam and Qlean finalizes with 3SF-mini!*</font> The primary achievement of devnet0 was establishing working multi-client interoperability between three different implementations. We successfully built the foundational infrastructure needed for future post-quantum work: - ✅ New specs framework with lessons learnt from [STEEL](https://steel.ethereum.foundation/home/main/) team - ✅ Devnet0 client specs implementation - ✅ Basic consensus using 3SF-mini protocol - ✅ Initial metrics collection setup - ✅ Multi-client interop between 3 clients - ✅ leanView minimal block explorer UI ![leanview-spedup1-ezgif.com-optimize](https://hackmd.io/_uploads/Hk-IVu80gl.gif) <font size="2">***leanView:** a handy tool to observe local state progression. All-client integration coming soon.*</font> ### Devnet0 Challenges Most hurdles in getting the interop up were around reconciling gossipsub parameter differences between clients. Additionally, as we were not able to get test vectors generation up in time for devnet0, so comparing state dumps was the main way to debug interop issues. This highlighted the need for spec test vectors before proceeding into a devnet — a gap that is [being addressed](https://github.com/leanEthereum/leanSpec/pull/76) going into devnet1. ## Next: Devnet1 - Post-Quantum Signatures This next phase introduces actual [post-quantum signatures](https://github.com/b-wagn/hash-sig), based on the papers: [Hash-Based Multi-Signatures for Post-Quantum Ethereum](https://eprint.iacr.org/2025/055), [At the Top of the Hypercube -- Better Size-Time Tradeoffs for Hash-Based Signatures](https://eprint.iacr.org/2025/889) and [Technical Note: LeanSig for Post-Quantum Ethereum](https://eprint.iacr.org/2025/1332), into the consensus. Devnet1 represents the first real test of how the signatures perform under consensus. ### Performance Targets - Block signing < 1s (target: 500μs) - Attestation signing < 1s (target: 500μs) - Signature verification < 1s (target: 300μs) - Complete block pipeline within 4 seconds - 24+ hour stability with justified and finalized 4s blocks The signing targets will also take into account the signature regeneration time with [Top-Bottom Tree Traversal](https://github.com/b-wagn/hash-sig/pull/89) key caching strategy. Signature aggregation is intentionally excluded from devnet1 as we take an incremental approach to complexity and anticipating more research breakthroughs in post-quantum signature aggregation. Learn more about the progress on signature aggregation at https://github.com/leanEthereum/leanMultisig. ## Next Steps With devnet0's multi-client interoperability validated, we're moving immediately into devnet1's post-quantum implementation phase. The post-quantum engineering work begins now. The future is Lean Ethereum! ## Acknowledgements This work wouldn't be possible without support from [Justin](https://x.com/drakefjustin), [Will](https://x.com/corcoranwill), and [Ladislaus](https://x.com/ladislaus0x) at the directional and cooordination level, [@tcoratger](https://github.com/tcoratger) and [@fselmo](https://github.com/fselmo) for creating and maintaining the [leanSpec](https://github.com/leanEthereum/leanSpec), [@leolara](https://github.com/leolara) for the spec tests initation, [@pk910](https://github.com/pk910) and [@barnabasbusa](https://github.com/barnabasbusa) for infrastructure support, and [@KatyaRyazantseva](https://github.com/KatyaRyazantseva) for metrics consolidation. We'd like to thank all the client teams and contributors including [@syjn99](https://github.com/syjn99), [@Kayden-ML](https://github.com/Kayden-ML), [@KolbyML](https://github.com/KolbyML), [@shariqnaiyer](https://github.com/shariqnaiyer), [@varun-doshi](https://github.com/varun-doshi), [@jihoonsong](https://github.com/jihoonsong), [@unnawut](https://github.com/unnawut), [@g11tech](https://github.com/g11tech), [@gballet](https://github.com/gballet), [@GrapeBaBa](https://github.com/GrapeBaBa), [@bomanaps](https://github.com/bomanaps), [@ch4r10t33r](https://github.com/ch4r10t33r), [@kamilsa](https://github.com/kamilsa), [@turuslan](https://github.com/turuslan), [@xDimon](https://github.com/xDimon) and the broader community for contributing to the clients and the devnet itself. ## Learn More ### Coordination - **Roadmap:** https://leanroadmap.org - **Specifications:** https://github.com/leanEthereum/leanSpec - **Meeting Notes & Recordings:** [https://github.com/leanEthereum/pm/.../pq-interop](https://github.com/leanEthereum/pm/tree/main/breakout-rooms/leanConsensus/pq-interop) - **Metrics:** https://github.com/leanEthereum/leanMetrics ### Post-Quantum Signature - **XMSS specs:** [https://github.com/leanEthereum/leanSpec/.../subspecs/xmss](https://github.com/leanEthereum/leanSpec/tree/main/src/lean_spec/subspecs/xmss) - **Reference implementation in Rust:** https://github.com/b-wagn/hash-sig ### Client Implementations - **Ream (Rust):** https://github.com/ReamLabs/ream - **Zeam (Zig):** https://github.com/blockblaz/zeam - **Qlean (C++):** https://github.com/qdrvm/qlean-mini - **leanView explorer:** https://github.com/syjn99/leanView ### PQDevnet Quick Start - **lean-quickstart by Zeam**: https://github.com/blockblaz/lean-quickstart - **local-pq-devnet by Ream**: https://github.com/ReamLabs/local-pq-devnet

    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