- DailyCoin Newsletter
- Posts
- Evergreen Newsletter 7 (Smart Contracts, Zero Knowledge Poofs and Roll Ups)
Evergreen Newsletter 7 (Smart Contracts, Zero Knowledge Poofs and Roll Ups)
💡Smart Contracts, Zero Knowledge Poofs and Roll Ups
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8e22e4f3-5282-4d71-8ee4-e0234b49aee6/487a1d0a-50f0-7131-0f46-c7b8a1da64f4.jpg?t=1703769436)
Howdy, fellow DailyCoiners,In today’s newsletter, we're going to clear up some things you've probably heard of but might not completely understand.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/552cef4d-ddd6-4884-92d0-fa538c0007a2/db1d2705-253f-f69e-505c-71ed7feeb605.gif?t=1703769436)
Without further ado, let’s uncover what they mean.
What are Smart Contracts?
What Does Zero-Knowledge Proof Mean?
Roll-ups; Optimistic vs. ZK roll-ups
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/af57a84d-6d6f-4fdd-800f-d5e0c61c8564/cca4b9da-bd26-6c13-82e2-78ae8312ac7f.png?t=1703769437)
Smart Contracts: Automating Trust and Efficiency in Transactions
A smart contract is a self-executing program that automates actions required in agreements or contracts, allowing trackable and irreversible transactions.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/90c94134-7288-4879-acc7-773efcbdc934/202d6dc5-0a48-fe47-a2fd-bf80ef0d45c3.gif?t=1703769437)
Facilitating trusted transactions among anonymous parties without central authorities, smart contracts eliminate the need for legal systems or external enforcement mechanisms.
Smart contracts have various applications, such as:
ensuring transactions between parties
real estate
stock trading
lending
corporate governance
supply chain
dispute resolution
healthcare.
For instance, a manufacturer can set up payments using smart contracts for raw material purchases, transferring funds automatically upon shipment or delivery.
They expedite contract execution, eliminate human error, and prevent alterations in programming.
However, smart contracts also have downsides. They are permanent, which means mistakes cannot be rectified, and they rely on the programmer to ensure the code accurately addresses contract terms.
Additionally, coding loopholes may allow contracts to be executed in bad faith.
Despite these challenges, smart contracts continue revolutionizing various industries by offering trust, efficiency, and transaction autonomy.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/6a113357-3035-4b69-bdcd-1c2e39871fb4/bd0f4b30-d6d9-e55a-bd08-1b4afea7def9.gif?t=1703769442)
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/d08de8bc-92a1-41fc-ae16-042620432582/cca4b9da-bd26-6c13-82e2-78ae8312ac7f.png?t=1703769442)
Zero-Knowledge Proofs: Enhancing Privacy and Security in Crypto
A zero-knowledge proof (zk protocol) is a verification method between a prover and a verifier, allowing the prover to demonstrate knowledge of specific information without revealing it.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c89e47c9-4b7a-44a6-877c-cbb0177f5b50/d28572e1-2009-7425-4959-c18c1a7864dd.gif?t=1703769442)
Introduced in a 1985 MIT paper by Shafi Goldwasser and Silvio Micali, zero-knowledge proofs increase privacy and security for many crypto applications.
To be considered a zk proof, the system must fulfill two requirements: completeness and soundness.
Completeness ensures the prover can demonstrate knowledge of the information with high accuracy, while soundness allows the verifier to determine the prover's possession of the data reliably.
An authentic zero-knowledge proof achieves both requirements without information being communicated between parties.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/a96ea84d-a4ba-4fef-a5c0-e07867ed2266/493cae45-6910-d0a9-d91c-34ecea1d04f7.gif?t=1703769443)
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/383ba94b-595d-48b1-b951-9e12b9f04c61/cca4b9da-bd26-6c13-82e2-78ae8312ac7f.png?t=1703769444)
Optimistic vs. ZK-Rollups: Pros and Cons in Scaling Solutions
Rollups present different ways of verifying transactions off-chain and handling disputes on-chain, with the two main types being optimistic rollups and ZK-rollups. Each type comes with distinct benefits and drawbacks.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/5753e419-49b0-4720-b789-b258d2ac7019/a179c519-4a48-5305-4362-3ffb769db4e5.gif?t=1703769444)
Optimistic rollups offer high potential throughput and low latency, executing transactions almost instantly off-chain.
They preserve smart contract compatibility and composability with Ethereum by utilizing the same virtual machine (EVM) and state transition rules.
However, their main drawback is the lengthy withdrawal period needed for users to exit the system safely. This waiting period, which can exceed a week, ensures no fraud proofs are submitted against users' transactions; otherwise, funds may be at risk.
ZK-rollups also provide high throughput and low latency, executing transactions off-chain and securing them on L1.
Their disadvantage lies in their complex cryptography and engineering structure, making them more expensive and challenging to implement than optimistic rollups. Additionally, ZK-rollups may not support all types of smart contracts or functionalities available on Ethereum.
In summary, both optimistic and ZK-rollups offer solutions to improve throughput and latency in blockchain systems.
Optimistic rollups excel in compatibility and composability but suffer from long withdrawal periods.
On the other hand, ZK-rollups provide enhanced security but face challenges in complexity and limited smart contract support.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/540775f6-9813-443d-8666-c42b20296186/6686ffe9-009b-a2f6-a03a-e8b89d9dff1c.gif?t=1703769445)
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/78a03ec7-c651-4e48-a299-c3b9946e150f/cca4b9da-bd26-6c13-82e2-78ae8312ac7f.png?t=1703769445)
DailyCoin Daily Meme
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0aad7a50-4dc6-4b46-8edc-94d2af3f1fba/c91aa8cf-b20c-0d54-274b-d476985a1b2e.jpeg?t=1703769446)
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/334bf9a9-b913-4b17-aab2-9479f329772b/9e78bb8a-e881-0372-7ffd-84370004560d.png?t=1703769447)
Crypto Addiction: Is Cryptocurrency Trading Bad for Your Mental Health?
The crypto market is an emotional rollercoaster. There’s no denying it, watching your portfolio explode in value gives off a euphoric...
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/d1e12a0c-d1ab-4777-9e07-87207d8db6d7/826229f8-e3b7-42ce-0ee1-0be4fde34cda.jpg?t=1703769448)
Crypto Exchange Fees Comparison: Who Has the Lowest Trading Fees?
In this article, we’ll briefly review the basic fees beginners can expect in the digital currency market and compare fee schedules from...
Solana Phone: Do We Really Need a Web3 Mobile Device?
Do I even need a blockchain phone? How is the Solana Saga different from a regular mobile phone?
Thanks for joining us.
If you're hungry for more, there's always
.
See you soon for more crypto fun!