
Halo: A privacy layer for stablecoins
AbstractHalo is a privacy layer for stablecoins unlocking the next private neobanks and applications that were blocked by the lack of anonymity and confidentiality of networks. Halo Network introduces a new extension a a privacy-preserving EVM chain purpose-built for stablecoin use cases. Halo combines the familiarity and composability of the EVM with the confidentiality of a UTXO-based privacy layer, allowing users to transact and build privately without sacrificing interoperability or liqui...
🧊Solana::Leader schedule
I have been diving into Solana and its Validator code realizing the incredible design behind the selection of Validators and block producers, so here is a small rundownWhat are Blocks?What are POW and POS?Solana Leader ScheduleSpecial Considerations to produce the Tastiest BlockOpen QuestionsSome ResourcesBlocks wat?Blocks containing transactions and state transition data lined on top of one another with cryptography securing their computational integrity is the foundation of blockchain aka c...
Musings on Price Discovery
Musings on Price discoveryWith a fading bull run comes the pressure to do a token generation event at high valuations because otherwise if you are a VC backed project with 8 figs in funding, you are cooked without a binance listing since you definitely know your tech is only valued at the number of CEX listings and shady market makers you can get for the launch. Jokes and criticism aside, I have been diving into the price discovery for a mix of work and my own interests in the past few months...
Just a tinkerer in this wonderful world

Halo: A privacy layer for stablecoins
AbstractHalo is a privacy layer for stablecoins unlocking the next private neobanks and applications that were blocked by the lack of anonymity and confidentiality of networks. Halo Network introduces a new extension a a privacy-preserving EVM chain purpose-built for stablecoin use cases. Halo combines the familiarity and composability of the EVM with the confidentiality of a UTXO-based privacy layer, allowing users to transact and build privately without sacrificing interoperability or liqui...
🧊Solana::Leader schedule
I have been diving into Solana and its Validator code realizing the incredible design behind the selection of Validators and block producers, so here is a small rundownWhat are Blocks?What are POW and POS?Solana Leader ScheduleSpecial Considerations to produce the Tastiest BlockOpen QuestionsSome ResourcesBlocks wat?Blocks containing transactions and state transition data lined on top of one another with cryptography securing their computational integrity is the foundation of blockchain aka c...
Musings on Price Discovery
Musings on Price discoveryWith a fading bull run comes the pressure to do a token generation event at high valuations because otherwise if you are a VC backed project with 8 figs in funding, you are cooked without a binance listing since you definitely know your tech is only valued at the number of CEX listings and shady market makers you can get for the launch. Jokes and criticism aside, I have been diving into the price discovery for a mix of work and my own interests in the past few months...
Just a tinkerer in this wonderful world

Subscribe to Madhav Goyal

Subscribe to Madhav Goyal
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
Zero Knowledge cryptography is one of the most hyped sub ecosystems in web3 , you can be at any conference and someone spelling zk suddenly seems to be the serious guy but there are many different aspects of how it’s being used in scaling & making Ethereum more privacy-centric.
Zero-knowledge cryptography is a type of cryptography that uses hash functions and cryptography schemes to prove some truth to a party as the name suggests without revealing the truth itself.
How is this possible you ask? Let me give you a simple example. Say I give you a card and say it’s a red one, and to prove that I take 26 black cards out of the deck. now I didn’t show you the card itself but did an operation that made you believe I was telling the truth.Now maybe another example let’s say I am drinking rn(I don’t) and someone asks for my id proof and I show them my marriage certificate. Note that in India the legal marriage age is the same as the drinking age for boys which proves that I am eligible to drink. (sorry for the dumb example)
Here is an amazing video which is my first reference to zk
Zk was first introduced by two researchers in the paper "The Knowledge complexity of interactive proof systems" and since then it has become a promising area of development for researchers but rn we will talk about how it’s being utilized in crypto.
Blockchain transactions are validated by doing the computation, finding its right hash, and then posting it on the chain. Every transaction is sent to a validator who includes in the block(if the right gas is paid) and spends their computational resources in proving it right which takes block space and resources. As the chain usage goes up so does the value of block space aka gas & txn costs.
Now one of the coolest things about zk is that we can prove the computational integrity of anything in a very small amount of data and resources.
So an Idea is that for a batch of txns, the zk proof is calculated off-chain, and the zk proof generated is posted on the chain for verification and state changes. A zk proof is around 160 bytes while a txn is more than a few kilobytes literally reducing the data streaming on the chain by 10x and this same proof can prove a batch of txns let’s say 50 txn in 200 bytes of zk proof.
200 bytes➗ 50 = 4 bytes
While the eth Block size is 1 MB (15 million gas) and usually comes out to around 70 txns. so for each txn the size is around
1000 KB ➗ 70(no. of txns) = 14 Kilobytes
Data is money in the world of crypto and zk is much more efficient in proving the same thing but this comes with a tradeoff, as the proofs are generated off-chain there are always some risks and assumptions involved. One current example of a protocol using zk snarks is ZK sync
Now what I have talked about is mostly related to SNARKS(Succinct Non-interactive Argument of Knowledge) but there are different types of Zk proof with different security and risk profiles. This an Amazing blog post if you wanna learn about their difference.

Credits - Consensys
Stark proofs are what runs the whole Starknet ecosystem. They are amazing advancements in tech as Starks don’t rely on the trusted-setup assumption and are mostly considered quantum-safe meaning they are safe from the emergence of quantum computers. The coolest thing about stark proofs is that their provability time rises much with the size of the proof.
ZK evm seems to be the most common words out these days so can’t miss that lol.
While rollups are off-chain solutions that generate zips (Zero-knowledge proof systems) off-chain, a zk evm is a zk-compatible Ethereum virtual machine that produces zk proofs for txns itself.As the original evm didn’t support zkp compatibility and after seeing the promise of this technology many projects have aped in!But there is a huge difference in different ZK EVMs as many target byte code composability while others work on more efficient proof generation. Vitalik write about their diff in an amazing blog post check it out thereA few Amazing projects that are building ZK evms are OLA VM by Sin7 was really funny to dive into and can’t forget the work by one of the community favs 📜Scroll they are one of the best research teams in the space
Privacy was one of the first goals with zkp systems, rn every single txn on ethereum is public while that might be good if you are hunting down a hacker or scammer general users might not want everyone to know their life savings if crypto has to go for better adoption.
One of the great implementations of this and vision was Tornado Cash which was sanctioned by OFAC and since then most of the liquidity that made it function has dried up 😭
Aztec Network is Building on the privacy front of Ethereum like anyone can donate eth on Juicebox totally privately with the help of Aztec.
Solana Has its version of Zk.money where confidential transfers can be done with the help of this program its an extension of the spl-token-2022 program. If you wanna learn more about how it works feel free to click here
Amazing work by one of the Scroll ZKevm researchers →
https://pseudotheos.mirror.xyz/
Post on Zk privacy → https://medium.com/cryptodigest/digital-identity-privacy-and-zero-knowledge-proofs-zk-snarks-3d092b509990
And most of the ideas of rollups come from Vitaliks post Endgame → https://vitalik.ca/general/2021/12/06/endgame.html
Zero Knowledge cryptography is one of the most hyped sub ecosystems in web3 , you can be at any conference and someone spelling zk suddenly seems to be the serious guy but there are many different aspects of how it’s being used in scaling & making Ethereum more privacy-centric.
Zero-knowledge cryptography is a type of cryptography that uses hash functions and cryptography schemes to prove some truth to a party as the name suggests without revealing the truth itself.
How is this possible you ask? Let me give you a simple example. Say I give you a card and say it’s a red one, and to prove that I take 26 black cards out of the deck. now I didn’t show you the card itself but did an operation that made you believe I was telling the truth.Now maybe another example let’s say I am drinking rn(I don’t) and someone asks for my id proof and I show them my marriage certificate. Note that in India the legal marriage age is the same as the drinking age for boys which proves that I am eligible to drink. (sorry for the dumb example)
Here is an amazing video which is my first reference to zk
Zk was first introduced by two researchers in the paper "The Knowledge complexity of interactive proof systems" and since then it has become a promising area of development for researchers but rn we will talk about how it’s being utilized in crypto.
Blockchain transactions are validated by doing the computation, finding its right hash, and then posting it on the chain. Every transaction is sent to a validator who includes in the block(if the right gas is paid) and spends their computational resources in proving it right which takes block space and resources. As the chain usage goes up so does the value of block space aka gas & txn costs.
Now one of the coolest things about zk is that we can prove the computational integrity of anything in a very small amount of data and resources.
So an Idea is that for a batch of txns, the zk proof is calculated off-chain, and the zk proof generated is posted on the chain for verification and state changes. A zk proof is around 160 bytes while a txn is more than a few kilobytes literally reducing the data streaming on the chain by 10x and this same proof can prove a batch of txns let’s say 50 txn in 200 bytes of zk proof.
200 bytes➗ 50 = 4 bytes
While the eth Block size is 1 MB (15 million gas) and usually comes out to around 70 txns. so for each txn the size is around
1000 KB ➗ 70(no. of txns) = 14 Kilobytes
Data is money in the world of crypto and zk is much more efficient in proving the same thing but this comes with a tradeoff, as the proofs are generated off-chain there are always some risks and assumptions involved. One current example of a protocol using zk snarks is ZK sync
Now what I have talked about is mostly related to SNARKS(Succinct Non-interactive Argument of Knowledge) but there are different types of Zk proof with different security and risk profiles. This an Amazing blog post if you wanna learn about their difference.

Credits - Consensys
Stark proofs are what runs the whole Starknet ecosystem. They are amazing advancements in tech as Starks don’t rely on the trusted-setup assumption and are mostly considered quantum-safe meaning they are safe from the emergence of quantum computers. The coolest thing about stark proofs is that their provability time rises much with the size of the proof.
ZK evm seems to be the most common words out these days so can’t miss that lol.
While rollups are off-chain solutions that generate zips (Zero-knowledge proof systems) off-chain, a zk evm is a zk-compatible Ethereum virtual machine that produces zk proofs for txns itself.As the original evm didn’t support zkp compatibility and after seeing the promise of this technology many projects have aped in!But there is a huge difference in different ZK EVMs as many target byte code composability while others work on more efficient proof generation. Vitalik write about their diff in an amazing blog post check it out thereA few Amazing projects that are building ZK evms are OLA VM by Sin7 was really funny to dive into and can’t forget the work by one of the community favs 📜Scroll they are one of the best research teams in the space
Privacy was one of the first goals with zkp systems, rn every single txn on ethereum is public while that might be good if you are hunting down a hacker or scammer general users might not want everyone to know their life savings if crypto has to go for better adoption.
One of the great implementations of this and vision was Tornado Cash which was sanctioned by OFAC and since then most of the liquidity that made it function has dried up 😭
Aztec Network is Building on the privacy front of Ethereum like anyone can donate eth on Juicebox totally privately with the help of Aztec.
Solana Has its version of Zk.money where confidential transfers can be done with the help of this program its an extension of the spl-token-2022 program. If you wanna learn more about how it works feel free to click here
Amazing work by one of the Scroll ZKevm researchers →
https://pseudotheos.mirror.xyz/
Post on Zk privacy → https://medium.com/cryptodigest/digital-identity-privacy-and-zero-knowledge-proofs-zk-snarks-3d092b509990
And most of the ideas of rollups come from Vitaliks post Endgame → https://vitalik.ca/general/2021/12/06/endgame.html
No activity yet