LayerZero Profile picture
Jan 14 11 tweets 3 min read Read on X
Introducing Quick Merkle Database (QMDB), a high-performance verifiable database optimized for blockchains.

• 2.28M state updates per second, 1M TPS (benchmarked transfers per second).

• Benchmarked with workloads up to 15B (10x Ethereum’s 2024 state) and proven capacity to scale to 280B entries on a single server.

• Single read per state access, O(1) I/O for updates, and in-memory Merkleization on a footprint as small as 2.3 bytes per entry.

• Efficiently scales across both consumer grade and enterprise hardware.

Developed by LayerZero Labs, QMDB is MIT and apache-2 licensed and completely open-source.Image
QMDB is an SSD-optimized state database with in-memory Merkleization, cutting write amplification and DRAM needs.

It unifies world state and Merkle tree storage, uses an append-only log for state updates, and eliminates disk reads/writes during Merkleization. Image
QMDB performs state reads with a single SSD read, state updates with O(1) SSD I/O, and performs Merkleization fully in-memory with zero SSD reads or writes.

These operations approach the theoretical optimality regarding disk I/O complexity.
QMDB demonstrates a significant advancement in the performance and scalability of verifiable databases.

• 2.28M state updates per second (AWS i8g.8xlarge), 1M TPS (benchmarked transfers per second)

• 63k updates per second sec on 15B entries running on a $540 Mini PC.
QMDB delivers 6x more updates per second than default RocksDB, demonstrating superior performance across all operation types. Image
Against NOMT (the leading verifiable database), QMDB achieves an 8x performance increase. Image
QMDB efficiently scales across both enterprise and commodity hardware, scaling up to 280B entries using a single server with high SSD capacity. Image
QMDB’s promising results enable the ability to provide substantially higher throughput while increasing decentralization in many systems by lowering capital costs and reducing infrastructure barriers.
QMDB unlocks many new use cases like historical proofs and real time ZK proof generation.

Historical proofs, like TWAP, can be queried at the latest block with any time granularity. If used in a ZK-rollup, QMDB can merklize per transaction for finest proof granularity and parallelization.
We want to thank the following people for their contributions:

• @_patrickogrady from @commonwarexyz
• @yezhang1998 from @Scroll_ZKP
• @yangl1996 from @megaeth_labs
• @yilongl_megaeth from @megaeth_labs
• @rphmeier from @thrumdev

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with LayerZero

LayerZero Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @LayerZero_Core

Feb 9, 2024
🔒Decentralized Verifier Networks (DVNs)🔒

Own your security. Choose how messages are verified. Configure a Security Stack based on your application's use case.

A🧵 on DVNs available in V2 ↓ Image
Applications built on LayerZero may choose any DVN (or combination of DVNs) to verify messages going between chains.

This configuration of DVNs is called a Security Stack, which @PrimordialAA explains below:
Today's thread highlights the 25+ DVNs that are live on V2.

As V2 expands to more chains and as more teams build natively on LayerZero, this list will grow. 📈
Read 34 tweets
Jan 29, 2024
Introducing V2 🧵

This is something we’ve been working on for over a year. We’re thrilled for it to finally be live and can’t wait to see what gets built.

V2 is the endgame for interoperability.
The mission for V2 is simple.

1 - Stay true to core principles: immutable, permissionless, censorship-resistant.
2 - Connect all chains (EVM, non-EVM).
3 - Best developer experience.
4 - Future-proof verification. Image
Why is this mission important? Because no other cross-chain solution is built for the long-term and, for crypto to succeed, siloes cannot exist.

Not convinced? Listen to @PrimordialAA explain V2.
Starting with core principles ↓
Read 14 tweets
Dec 20, 2023
LayerZero V2 overhauls how developers secure their cross-chain messages.

With Decentralized Verifier Networks (DVNs), both V1 and V2 application owners can configure a custom Security Stack based on their specific needs.

Dive into DVNs 🧵 Image
1/ In V2, messages are verified through DVNs selected by application owners.

Any entity – be it a bridge, oracle, attestation service, zkLightClient, enterprise company, DAO, etc. – can permissionlessly create a DVN to verify messages for applications built on LayerZero.
2/ These DVNs create a powerful and configurable Security Stack for applications called “X of Y of N.”

For example, a "1 of 9 of 15" configuration requires consensus from the following DVNs for a message to be verified:

* 9 from a selected pool of 15 DVNs, and
* 1 specific DVN
Read 13 tweets
Nov 14, 2023
Introducing ColorTrace - a practical implementation of the colored coin problem.

layerzero.network/publications/C…
Image
Coloring fungible assets has been a long standing open problem with early approaches coming from @yoniassia @VitalikButerin et al.

etoro.com/wp-content/upl…
We formally define the fungible token coloring problem of attributing (coloring) fungible tokens to originating entities (minters), and present, to our knowledge, the first practical onchain algorithm to solve it.
Read 10 tweets
Oct 25, 2023
.@LidoFinance's wstETH is now an OFT available on @BNBCHAIN, @Scroll_ZKP and @avax. 🚀
@LidoFinance's leading product is stETH. wstETH acts as a DeFi-compatible version of the stETH token and has taken Ethereum by storm.

wstETH is now integrated with LayerZero's OFT standard, enabling fast and secure horizontal composability between enabled chains. 🤝
As an OFT, wstETH can now be bridged seamlessly between Ethereum, BNB, Avalanche and Scroll. 🌉

Expanding wstETH access to these chains will enable their respective DeFi ecosystems to flourish while supporting Lido's desire for chain expansion.
Read 4 tweets
Oct 25, 2023
LayerZero is now live on Beam by Merit Circle! Image
@BuildOnBeam is a sovereign network focused on gaming created by the @MeritCircle_IO DAO and powered by @avax.

Merit Circle supports a variety of games from first-person shooters, MMORPGs, and MOBAs to competitive card battlers.
Along with launching the LayerZero endpoint, @BuildOnBeam has created the Beam Bridge between the Beam network and the Ethereum blockchain.

Users can bridge their assets between these two chains at bridge.onbeam.com
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(