Orbis Profile picture
May 18, 2022 23 tweets 9 min read Read on X
ZK-Rollups represent the future of Layer-2 #Blockchain scaling

@orbisproject is building the first ZK-Rollup on #Cardano

& Orbis plays an indispensable role in scaling #Cardano

Here’s a breakdown of the ZK-Proof Orbis is using to build its scaling solution on #Cardano: 🧵👇 Image
So what is a zero-knowledge proof?

It is a cryptographic technique,

where one party (The Prover) can prove that a specific statement is true to the other party (The Verifier)

without disclosing any additional information

apart from the fact that the statement is indeed true Image
When it comes to computational zero-knowledge, there are 2 types of ZK-Proofs

- Interactive ZK-Proofs
- non-interactive ZK-Proofs

So let's try and understand the major differences between the two

and why non-interactive ZK-Proofs are superior to the former?
Interactive ZK-Proof is the original ZK-Model proposed by Goldwasser, Micali, and Rackoff

This kind of ZKP involves

• multiple rounds of interaction between the prover and the verifier

• allowing the verifier to "cross-examine"/challenge the prover before accepting the proof Image
In an Internet-like setting where it involves multiparty computation interactive zero-knowledge proofs come with a lot of disadvantages

1. no concurrency:
building ZKPs is more challenging when multiple protocols should be executed concurrently
2. Limited transferability:
To prove the same proof again to another verifier
"the entire process needs to be repeated"

3. limited scalability:
Interactive ZKP’s require both verifier and prover to be online at the same time
which makes the entire process ''unscalable''
These shortcomings of interactive ZKPs lead to the development of non-interactive ZKPs, as the name suggests

Non-interactive zero-knowledge proofs are ZKPs
which require no interaction between the prover and verifier

so how does it work?👇
In a non-interactive ZKP

the verifier is replaced by a hash function or digital signature

the hash function result is the challenge

This way the proof can be represented as a single message

as opposed to a multi-step interaction between the prover & the proof-checking entity Image
Non-interactive ZKPs are superior to interactive ZKPs due to

concurrency: it allows for the execution of multiple protocols

transferability: allows for reusability of the same proof

scalability: does not require both verifier and prover to be online at the same time
zk-SNARK is a noninteractive ZKP

the acronym stands for

Zero-Knowledge: Provers do not disclose the private information they wish to prove

Succinct: small easy to verify proofs

Non-interactive: proof can be represented as a single message

Arguments of Knowledge Image
In the context of a zk-Rollup like Orbis
The most relevant characteristics of zkSNARKs are their

• non-interactivity
• succinctness

which helps to create cryptographic proofs

• which can be represented as a single message
• and verified quickly
"Succinct" ZKP can be verified within a "few milliseconds"

with a proof length of only a "few hundred bytes"

even for statements about programs that are very large
these qualities of zk-SNARKS bring incredible amount of efficiency

to the real world use-cases that require ZKPs
The #Blockchain space saw the first practical application of zk-SNARKs with #Zcash

#Zcash a private payments cryptocurrency developed in 2014

Developed by @ElectricCoinCo

#Zcash is a proof-of-work mining network based off of Bitcoin’s UTXO model Image
#Zcash uses the zk-SNARKS to create fully shielded transactions

in which the sender, recipient, and amount are encrypted

zk-SNARKs ensure that

the parties involved in a transaction are verified
without revealing any information to each other or the network
lets take a look at how Zcash construct zk-SNARK

It's divided into 4 basic steps
1-The code to be proved is transformed into arithmetic circuits
2-The arithmetic circuits is converted to R1CS
3-R1CS is converted to QAP
4-The implementation of zkSNARK algorithm based on QAP Image
The first step is a “flattening” procedure

where we convert the original code

which may contain arbitrarily complex statements and expressions

into a sequence of statements

You can think of each of these statements as being kind of like logic gates in a circuit Image
The flattened code is converted into a "rank-1 constraint system" (R1CS)

R1CS is a set of constraints

that can be specified by 3 linear combinations, commonly called A,B,C

It's a powerful way to translate

arbitrary computational tasks into a common mathematical description👇 Image
Next is converting R1CS into “quadratic arithmetic program” (QAP)

to check all the constraints simultaneously

QAP is a process of transforming the code of a function into a mathematical representation

which upon providing input to the code, delivers a corresponding solution Image
Now the computational problem has been converted into the right “form”

for the problem to operate on called QAPs

QAPs are sets of polynomials

After this, there is comes the process for creating the actual “zero knowledge proof”

This is done with the process of Encryption
The encryption function has some homomorphic properties

Homomorphic encryption is a form of encryption

that permits users to perform computations on its encrypted data

without first decrypting it Image
With these techniques cryptographic proofs (zk-SNARKs) are generated

Zcash uses zk-SNARKs to prove that the conditions for a valid transaction have been satisfied

without revealing any crucial information about the addresses or values involved Image
TL;DR:

• zk-SNARK is a novel form of zero-knowledge cryptography
• That can be represented as a single message & verified quickly
• Zcash is the first widespread application of zk-SNARKs
#Cardano will see the first application of this technology through @orbisproject
If you are looking to learn more about zero knowledge proofs and zk-Rollups

Here’s a similar thread 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 17, 2022
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
Read 28 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

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!

:(