Research & Investments at Primal Capital. Articles are my own thoughts.

MEV Endgame: Exploring Mempool Privacy Schemes
Table of Contents:IntroductionEncrypted MempoolsWhat are Time Encrypted MempoolsQuestionsEnshrined PBSHow Frontrunning HappensConclusionAppendixRead moreExecutive SummaryMEV - or Maximal Extractable Value - has exploded on Ethereum lately. And that's bad news for fairness and security as validators exploit transaction ordering for profit. I analyzed some of the promising mitigation strategies emerging from the Ethereum community:Encrypted mempools could obscure transactions before they g...

Privacy Pools: Towards Practical Privacy & Compliance with Smart Contracts
Table of ContentsKey Ideas: fundamental concepts behind Privacy Pools, the use of zkSNARKs, the role of associated sets, the separating equilibrium.Deep Dive into Privacy Pools: thorough walkthrough of how Privacy Pools work, the user's journey from deposit to withdrawal, how zkSNARKs facilitate the protocol.Differences with Existing Solutions: contrast with Tornado Cash's evolution in privacy protocols; the unique features of Privacy Pools.Associated Sets Explained: associated sets...

Chain Abstraction Paradigm: Is Particle Network Blockchain’s Missing Link?
Executive SummaryThrough this article, I dive deep into chain abstraction and how Particle Network is tackling some of the biggest challenges with interoperating between multiple chains. Consider this article as my thesis for the extended chain abstraction vertical. My main thesis behind Chain Abstraction is based on two key assumptions:The likelihood of hundreds, if not thousands, of L1s and L2s coexisting on-chain.The critical importance of user attention in driving demand and shaping behav...

Subscribe to Arhat

MEV Endgame: Exploring Mempool Privacy Schemes
Table of Contents:IntroductionEncrypted MempoolsWhat are Time Encrypted MempoolsQuestionsEnshrined PBSHow Frontrunning HappensConclusionAppendixRead moreExecutive SummaryMEV - or Maximal Extractable Value - has exploded on Ethereum lately. And that's bad news for fairness and security as validators exploit transaction ordering for profit. I analyzed some of the promising mitigation strategies emerging from the Ethereum community:Encrypted mempools could obscure transactions before they g...

Privacy Pools: Towards Practical Privacy & Compliance with Smart Contracts
Table of ContentsKey Ideas: fundamental concepts behind Privacy Pools, the use of zkSNARKs, the role of associated sets, the separating equilibrium.Deep Dive into Privacy Pools: thorough walkthrough of how Privacy Pools work, the user's journey from deposit to withdrawal, how zkSNARKs facilitate the protocol.Differences with Existing Solutions: contrast with Tornado Cash's evolution in privacy protocols; the unique features of Privacy Pools.Associated Sets Explained: associated sets...

Chain Abstraction Paradigm: Is Particle Network Blockchain’s Missing Link?
Executive SummaryThrough this article, I dive deep into chain abstraction and how Particle Network is tackling some of the biggest challenges with interoperating between multiple chains. Consider this article as my thesis for the extended chain abstraction vertical. My main thesis behind Chain Abstraction is based on two key assumptions:The likelihood of hundreds, if not thousands, of L1s and L2s coexisting on-chain.The critical importance of user attention in driving demand and shaping behav...
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers


My Private key was compromised.
This is where I originally posted all my research & investment thesis:
https://mirror.xyz/0x34ddd9223D9DDb6B56F640824Af6FCC31e1deBF4
Hence, I’m re-uploading all my writings to this account.
Please subscribe to this new account and support me in my research.
A Layer-2 scaling solution (also called "L2 protocols") are network protocols that improve the throughput (i.e., execution speed) of the underlying blockchain. These solutions require a new protocol layer on top of the blockchain, often open-sourced for dynamic use. These scaling solutions are commonly used to solve the underlying blockchain's transaction speed and scaling difficulties.
As blockchain usage has increased, particularly on significant networks like Ethereum and Bitcoin, the networks have become clogged and have slowed down. While Visa can handle nearly 65,000 transactions per second and Solana can handle 50k+ transactions per second, Ethereum can only process 30 transactions per second and Bitcoin just 5.
Several developers have sought ways to improve this but have been mainly unsuccessful in achieving high levels of security, decentralization, and speed on one blockchain (often referred to as the “blockchain trilemma”). L2s have been developed as secondary frameworks or protocols to help achieve a blockchain’s optimal scalability and efficiency.
The most common types of scaling solutions for L2 are:
Payment channels: These establish a generally consistent payment between two parties over a blockchain, usually bitcoin, and
Scaling networks: L2 scaling networks like Raiden allow users to create payment channels with multiple peers.
L2s provide a supplementary portal where on-chain transactions and processes are independent of their L1 chain or “primary chain.” This is conducted not by altering the underlying blockchain structure but by adding a second layer directly on top ( referred to as “off-chain”). Depending on how specific L2s are implemented, this structure allows L2 scaling solutions for greater throughput without renouncing network security.
For example, an underlying blockchain offloads a chunk of the transactional load to an adjacent L2 scaling solution to process transactions. This scaling solution processes the transactions and reports back to the main chain, where results are finalized.
Although there are others, three examples are sidechains, nested blockchains, and state channels.
1. SIDECHAINS: These process transactions off the main chain but rely on independent consensus mechanisms responsible for validating transactions off the main chain on each sidechain.
Sidechains are contiguous to their primary L1s and use an autonomous consensus mechanism different from the original blockchain. The primary L1 is responsible for security, validation of batched transactions, and settling disputes. As the sidechain has its consensus mechanism, it so too has its own set of validators. Consequently, a sidechain is only secure if it has sufficiently many validators and a secure consensus mechanism. Also, a sidechain cannot operate without its parent blockchain despite having its consensus mechanism and set of validators.
Example of a Sidechain: Polygon PoS complements Ethereum’s decentralized security through a decentralized network of Proof of Stake (PoS) validators. Moreover, Polygon PoS is fully compatible with the Ethereum Virtual Machine (EVM), the platform developers use to create dApps on Ethereum. This allows dApp developers to deploy smart contracts directly on the Polygon chain, and these dApps can be easily transferred to and from Polygon and Ethereum. As per Polygon, Polygon PoS provides an average transaction fee of ~$0.0006, or approximately 10k times lower costs per transaction than Ethereum.
2. NESTED BLOCKCHAINS: These use the main blockchain to set parameters for the wider network but delegate transactions to a web of secondary blockchains accountable for executing transactions.
It is a network of connected secondary chains that execute transactions but still rely on an underlying L1 to set parameters for the network. In nested blockchains, there are various boss-employee relationships.
The boss delegates work, often in the form of transactions, to an employee, who will process that work and then return it back to the boss after completion. As transactions are processed off of the L1 in a nested blockchain, the processing load is eased, and the L1 consequently improves its scalability.
Example of a Nested Blockchain: OMG Plasma is a framework for moving transactions off of the Ethereum network into various “employee chains” that exist alongside the Ethereum blockchain and stimulate faster and cheaper transactions. These employee chains reduce the processing load on Ethereum and help the L1 scale better.
3. STATE CHANNELS: These process transactions off of the L1 on a secondary chain but utilize underlying smart contracts to execute transactions rather than validation from the layer-1 network.
State channels process transactions off the main blockchain to free up network capacity and increase speed. State channels do this, however, by shutting off bordering chain resources and instead utilizing smart contracts or a multi-signature (wallets that require two or more private keys to execute a transaction). Because the transactions rely on the underlying smart contract or multi-sigs to steer implementation, there is no need for node validation from the underlying L1 chains network.
Example of a State Channel: Harry wants to send Ethan a payment using an L1. However, a State channel is utilized to offload the work from the primary L1. The process begins with Harry and Ethan locking their funds in a smart contract that requires both their approval to execute. After verifying the commitment to make the payment, the smart contract executes and pays Ethan the specified amount. No third party is introduced throughout this process, and transactions are only visible on the state channel, enhancing privacy.
There are a variety of layer-2 scaling solutions. While many, like the Bitcoin Lightning Network, focus on blockchains other than Ethereum, there are precisely three primary L2 scaling solutions for Ethereum: Polygon, Arbitrum, and Optimism.
Polygon’s primary product offering, Polygon PoS, is an example of a side chain. Polygon PoS complements Ethereum’s decentralized security through a decentralized network of Proof of Stake (PoS) validators.
Arbitrum is an example of an optimistic rollup, a type of L2 scaling solution that grants any validator the ability to post a rollup block (loads of L2 transactions) and confirm the validity of other blocks. Compared to Polygon PoS, which is fully compatible with the Ethereum Virtual Machine, Arbitrum has its own custom virtual machine, Arbitrum Virtual Machine.
Optimism similarly uses an optimistic rollup structure but is compatible with the EVM. Optimism offers gas fees that are 10x lower than Ethereum.
Thank you for reading through. I’d appreciate it if you shared this with your friends who would enjoy reading it.
You can contact me here: 0xArhat
My Private key was compromised.
This is where I originally posted all my research & investment thesis:
https://mirror.xyz/0x34ddd9223D9DDb6B56F640824Af6FCC31e1deBF4
Hence, I’m re-uploading all my writings to this account.
Please subscribe to this new account and support me in my research.
A Layer-2 scaling solution (also called "L2 protocols") are network protocols that improve the throughput (i.e., execution speed) of the underlying blockchain. These solutions require a new protocol layer on top of the blockchain, often open-sourced for dynamic use. These scaling solutions are commonly used to solve the underlying blockchain's transaction speed and scaling difficulties.
As blockchain usage has increased, particularly on significant networks like Ethereum and Bitcoin, the networks have become clogged and have slowed down. While Visa can handle nearly 65,000 transactions per second and Solana can handle 50k+ transactions per second, Ethereum can only process 30 transactions per second and Bitcoin just 5.
Several developers have sought ways to improve this but have been mainly unsuccessful in achieving high levels of security, decentralization, and speed on one blockchain (often referred to as the “blockchain trilemma”). L2s have been developed as secondary frameworks or protocols to help achieve a blockchain’s optimal scalability and efficiency.
The most common types of scaling solutions for L2 are:
Payment channels: These establish a generally consistent payment between two parties over a blockchain, usually bitcoin, and
Scaling networks: L2 scaling networks like Raiden allow users to create payment channels with multiple peers.
L2s provide a supplementary portal where on-chain transactions and processes are independent of their L1 chain or “primary chain.” This is conducted not by altering the underlying blockchain structure but by adding a second layer directly on top ( referred to as “off-chain”). Depending on how specific L2s are implemented, this structure allows L2 scaling solutions for greater throughput without renouncing network security.
For example, an underlying blockchain offloads a chunk of the transactional load to an adjacent L2 scaling solution to process transactions. This scaling solution processes the transactions and reports back to the main chain, where results are finalized.
Although there are others, three examples are sidechains, nested blockchains, and state channels.
1. SIDECHAINS: These process transactions off the main chain but rely on independent consensus mechanisms responsible for validating transactions off the main chain on each sidechain.
Sidechains are contiguous to their primary L1s and use an autonomous consensus mechanism different from the original blockchain. The primary L1 is responsible for security, validation of batched transactions, and settling disputes. As the sidechain has its consensus mechanism, it so too has its own set of validators. Consequently, a sidechain is only secure if it has sufficiently many validators and a secure consensus mechanism. Also, a sidechain cannot operate without its parent blockchain despite having its consensus mechanism and set of validators.
Example of a Sidechain: Polygon PoS complements Ethereum’s decentralized security through a decentralized network of Proof of Stake (PoS) validators. Moreover, Polygon PoS is fully compatible with the Ethereum Virtual Machine (EVM), the platform developers use to create dApps on Ethereum. This allows dApp developers to deploy smart contracts directly on the Polygon chain, and these dApps can be easily transferred to and from Polygon and Ethereum. As per Polygon, Polygon PoS provides an average transaction fee of ~$0.0006, or approximately 10k times lower costs per transaction than Ethereum.
2. NESTED BLOCKCHAINS: These use the main blockchain to set parameters for the wider network but delegate transactions to a web of secondary blockchains accountable for executing transactions.
It is a network of connected secondary chains that execute transactions but still rely on an underlying L1 to set parameters for the network. In nested blockchains, there are various boss-employee relationships.
The boss delegates work, often in the form of transactions, to an employee, who will process that work and then return it back to the boss after completion. As transactions are processed off of the L1 in a nested blockchain, the processing load is eased, and the L1 consequently improves its scalability.
Example of a Nested Blockchain: OMG Plasma is a framework for moving transactions off of the Ethereum network into various “employee chains” that exist alongside the Ethereum blockchain and stimulate faster and cheaper transactions. These employee chains reduce the processing load on Ethereum and help the L1 scale better.
3. STATE CHANNELS: These process transactions off of the L1 on a secondary chain but utilize underlying smart contracts to execute transactions rather than validation from the layer-1 network.
State channels process transactions off the main blockchain to free up network capacity and increase speed. State channels do this, however, by shutting off bordering chain resources and instead utilizing smart contracts or a multi-signature (wallets that require two or more private keys to execute a transaction). Because the transactions rely on the underlying smart contract or multi-sigs to steer implementation, there is no need for node validation from the underlying L1 chains network.
Example of a State Channel: Harry wants to send Ethan a payment using an L1. However, a State channel is utilized to offload the work from the primary L1. The process begins with Harry and Ethan locking their funds in a smart contract that requires both their approval to execute. After verifying the commitment to make the payment, the smart contract executes and pays Ethan the specified amount. No third party is introduced throughout this process, and transactions are only visible on the state channel, enhancing privacy.
There are a variety of layer-2 scaling solutions. While many, like the Bitcoin Lightning Network, focus on blockchains other than Ethereum, there are precisely three primary L2 scaling solutions for Ethereum: Polygon, Arbitrum, and Optimism.
Polygon’s primary product offering, Polygon PoS, is an example of a side chain. Polygon PoS complements Ethereum’s decentralized security through a decentralized network of Proof of Stake (PoS) validators.
Arbitrum is an example of an optimistic rollup, a type of L2 scaling solution that grants any validator the ability to post a rollup block (loads of L2 transactions) and confirm the validity of other blocks. Compared to Polygon PoS, which is fully compatible with the Ethereum Virtual Machine, Arbitrum has its own custom virtual machine, Arbitrum Virtual Machine.
Optimism similarly uses an optimistic rollup structure but is compatible with the EVM. Optimism offers gas fees that are 10x lower than Ethereum.
Thank you for reading through. I’d appreciate it if you shared this with your friends who would enjoy reading it.
You can contact me here: 0xArhat
No activity yet