Orbis Profile picture
Aug 17, 2022 28 tweets 12 min read Read on X
There's a general consensus in the #Blockchain industry about the long-term viability of L2 scaling solutions...

#Bitcoin embraced lightning network

#Ethereum & #Tezos embraced rollups

And #Cardano focuses on Hydra

A thread on #Hydra & how it measures up to a zk-rollup: 🧵👇 Image
If you look at the broader #blockchain landscape

#Cardano is more similar to #Bitcoin

than to any other #blockchain out there

• Ledger models (UTxO & E-UTxO)
• L2 scaling approach (Lightning & Hydra)
• A similar approach to "Inclusive accountability"
Basically,

#Cardano aspires to be a better #Bitcoin, offering smart contract capabilities

Without compromising on the basic principles #Satoshi believed in

So let's take a look at the scaling approach of #Cardano through Hydra
What's Hydra?

Hydra comes under the category of "state channels"

A state channel is a smart contract that enforces predefined rules for off-chain transactions

State channels enable participants to transact quickly and freely off-chain, then settle finality with Mainnet
But to be specific, Hydra implements "isomorphic" state channels

Isomorphic means making use of the exact same transaction format & contract code as the underlying L1

Meaning,

the transactions running on the L2 can be mapped to L1 transactions & vice-versa
Isomorphic state channels extend the L1 network of #Cardano to L2 in an organic way

This avoids the need to create a bridge into an independent layer 2 network

And there is no need to wrap native assets and Plutus smart contracts
There is a fundamental architectural difference between

The state channels on—for example—#Ethereum & Hydra

This comes from ways in which #Cardano & #Ethereum handle state

The localized nature of the state of the E-UTxO ledger model enables isomorphic state channels
But the Account model creates the "Global state"

in this complex distributed & dynamic computing environment

You cannot easily extend the exact underlying ledger to an L2 & execute the transactions

This would require wrapping native assets & solidity smart contracts
Hydra is not a monolithic protocol

It's a family of several subprotocols

Hydra can be divided into 4 components:

• Head protocol
• The tail protocol
• Cross-head-&-tail communication protocol
• A set of supporting protocols for routing, reconfiguration, & virtualization
Most of the components mentioned above are under development after years of R&D

The Hydra Head protocol matured over time as a proof of concept and in March 2022, it was implemented on a testnet

Here's a link to the Hydra roadmap:
github.com/orgs/input-out…
So let's take a look at the concept of ''Head protocol''

A Hydra Head is an isolated network

that creates an off-chain mini-ledger between a restricted set of participants

that works similarly but faster than the on-chain ledger(L1) and evolves in parallel to the main network Image
On the Hydra head the participants follow a different set of rules compared to the L1

Inside a Hydra head, all the participants need to agree on all transactions flowing through it

that means transactions are only valid when all the participants explicitly approve it
So let's take a look at the way it works:

Multiple parties could come together and open a Hydra Head

And the participants could commit funds to it

Meaning,

Moving the on-chain funds to a script address that locks them under specific rules
All participants have to sign all transactions to avoid foul play

Any participant may decide to quit the head by closing it any time

Then all participants walk away with the latest state they had agreed to off-chain

You could compare Hydra heads as ‘private poker tables’ Image
Now let's look at the differences between Hydra and zk-rollups in the 3 core aspects of these protocols:

• Security
• Usecases
• Scalability
• Market Demand
1) Security

A Hydra head is basically an extension of L1

Which allows interaction between a limited number of participants

This allows Hydra head to be secured by the L1 at a protocol level

But trust is necessary between the participants of the Hydra head
A zk-rollup scales an L1 by providing a similar or different execution environment

That can bundle 100s of transactions into a single transaction & executed outside of L1

The transaction data gets posted to L1

That allows rollups to be secured by native L1 security
Thus, zk-rollups on #Cardano can provide a much better security environment than #Ethereum/EVM

Considering the advantages provided by the E-UTxO ledger model

that avoids the complications of the "Global state"

And secure programming environment based on functional programming Image
2) Usecases

Hydra is very similar to the Lighting Network of #Bitcoin

It offers way more capabilities than Lightning

The main use cases are:

• Poker game
• NFT-Auction
• Pay-Per-Use API
• Inter-Wallet Payments

For detailed info, click the link👇
hydra.family/head-protocol/… Image
In contrast to Hydra,

zk-rollups are fully general-purpose scaling solutions

Meaning,

• Anyone can even run a copy of L1 inside a rollup
• Allowing existing dApps & native assets to migrate to rollups
• With almost no need to write any new code
This allows zk-rollups to be as useful as the underlying L1 in this case #Cardano

This allows Orbis to provide all the use-cases that are possible on #Cardano

Including the deployment of application-specific L3 rollups

That could be optimised for specific use-cases Image
3) Scalability

Many Hydra heads could be randomly created concurrently on an L1

to allow users to execute transactions

The limitation is in the number of participants in a single hydra head

Inter-head interactions are possible, but they are still in R&D
Like Hydra, zk-rollups allow for faster execution of transactions,

When compared to the execution speed of the underlying L1

On top of it,

the scalability & use-cases provided by the L3 & L4 rollups

can make the L1 protocol a major settlement layer for billions of users
4) Market Demand

Solutions similar to Hydra (payment & state channels) are already live on #Ethereum & #Bitcoin for years now

For eg:

#Bitcoin has the Lightning network

#Ethereum has at least 4 of them:

• Perun
• Kchannels
• Raiden Network
• Connext Network
The limitation in user participation and use-cases has resulted 

in the low demand for scaling solutions similar to Hydra

What the market tells us is there is immense demand for "general purpose" scaling solutions like optimistic & zk-rollups

Credits: @l2beat Image
These rollups are seeing more user adoption day by day

Currently,

The market is showing more demand for optimistic rollups

But as zk-rollups mature, they would be orders of magnitude more scalable and secure than optimistic rollups
TL;DR -

• Hydra is an isomorphic state channel, which includes a family of subprotocols

• The Hydra head protocol is on testnet now

• Hydra supports faster transaction execution but has limited use-cases in comparison to zk-rollups
If you are looking to learn more about zero-knowledge proofs and zk-rollups—

Here’s a similar thread on "Functional Programming" that you might find useful:

• • •

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

Keep Current with Orbis

Orbis 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 @orbisproject

Nov 24, 2022
Hey all of

Unfortunately due to constrained funding and uncertain conditions, Orbis Labs is unable to continue building and the project as come to a halt. This is unfortunate given the amazoing research and work that has been produced.
The NFT has been halted until further notice when a continuation plan is set out for the core zk-rollup solution. We as a team will we will do what is necessary for investors and community members to be made whole going forward.
This was an unexpected result due to committed investors very recently pulling out of the project and recent events in the crypto space which affected Orbis directly.
Read 5 tweets
Aug 10, 2022
A mission-critical financial application must be safe & secure.

When the #Crypto industry goes through multi-million dollar hacks,

building a robust financial platform has been the core driving principle of #Cardano

So here's a thread on Functional Programming: 🧵👇 Image
The public blockchain sphere has been growing rapidly over the past decade

If we reflect on that growth,

it has mainly been on the valuation side of things

and not that much on the utility or user side of things

So why is it that way?
One of the reasons for this lack of growth in utility is the lagging scalability

But there is another elephant in the room, which most don't address

This is the lack of a secure programming environment for the #dApps

and the rest of the #blockchain infrastructure
Read 26 tweets
Jul 27, 2022
#Bitcoin gave us the first glimpse into the future of sound money

#Ethereum showed us how to program money

#Cardano showed us how to program money securely with functional programming

Orbis is showing us how to scale #Cardano

Here's a thread on Rollup-Centric Future: 🧵👇
Currently,

there is no single #Blockchain in existence that can accommodate the financial traffic of the entire world

And there will never be such a blockchain

because it's practically impossible

due to the limited block space, any blockchain can offer
But can there be a blockchain

that could be the settlement layer to most of the financial traffic of the world?

This is possible and this is where we are heading as an industry

The only question is, 

Which blockchain is going to be the major settlement layer of the world?
Read 26 tweets
Jul 20, 2022
We are now going through a very defining period in the history of blockchains

where the era of monolithic blockchains is ending and

the era of modular blockchains is starting

marking the first step towards mass adoption!

🧵 A thread on Consensus mechanisms: 👇 Image
Since the inception of #Bitcoin,

the blockchain industry only had monolithic blockchains

where one #blockchain is designed to not outsource components to external networks

and is burdened with too many tasks to perform Image
In a monolithic #blockchain

The #consensus & execution functions are bundled into one layer

And a smart contract is then built on this bundled layer

The users are bound within one execution environment

This limits the potential to optimize & specialize for specific use cases
Read 24 tweets
Jul 6, 2022
Solving blockchain trilemma is the holy grail of #crypto

Mass adoption won't happen if a #Blockchain cannot scale WITHOUT compromising #decentralization

Orbis provides a key piece to #Cardano in solving this puzzle

🧵 Here's a thread on Blockchain Trilemma: 👇
The blockchain trilemma is a term coined by Vitalik Buterin

To address the trade-offs developers of #blockchain must make

To achieve scalability

As we see very often in the #Blockchain space, developers are forced to sacrifice one ‘aspect’ for the sake of the other two
The root of the blockchain trilemma lies in the fact that

the underlying structure of decentralized networks

comes with unique challenges when compared to centralized networks

Researchers recognized these challenges way before #Bitcoin was invented

& formulated "CAP Theorem"
Read 32 tweets
Jun 22, 2022
#Cardano requires scalability to achieve mass adoption

But scalability has to be achieved without compromising decentralization & security

Rollups are one of the best solutions we have now to achieve this goal

But which one?

Let's compare, "optimistic" and "zk-rollups"🧵👇
So what are rollups?

They are L2 solutions

•That bundle hundreds of transactions into a single transaction

•Rollup transactions get executed outside of L1

•But the transaction data gets posted to L1

•Which allows rollups to be secured by native L1 security
Rollups are general-purpose

Meaning

•You can run a copy of L1 (eg: #Cardano) inside a rollup

•Allowing existing dApps & native assets to migrate to rollups

•With almost no need to write any new code
Read 22 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!

:(