β‘Plasma
Last revised: 16.01.2024
Scenario π
Imagine a digital art marketplace, where artists and collectors buy, sell, and trade unique digital artworks. In this marketplace, Plasma technology is used to manage transactions efficiently and securely.
Depositing Artwork:
Artist Submission π¨: An artist, let's call her Ava, creates a digital artwork and decides to sell it on the marketplace. She deposits her artwork into the marketplace's smart contract, which is managing the Plasma chain.
Unique Identification π’: The smart contract assigns Ava's artwork a unique ID, say 537, ensuring it's distinct and traceable within the Plasma chain.
Plasma Chain Operation:
Chain Operator π: The marketplace has a designated operator for the Plasma chain. This could be a centralized entity, a group operating under multisig, or a decentralized system like Proof of Stake (PoS).
Batch Creation β²οΈ: Every 15 minutes, the operator gathers all transactions made off-chain on the Plasma chain. These transactions include sales, purchases, and trades of digital artworks.
Merkle Tree Generation π³: The operator generates a Merkle tree from these transactions. In this tree, each index corresponds to a transaction involving a specific artwork ID. If no transaction exists for an artwork, that part of the tree remains empty.
Publishing and Notification π’: The operator publishes the Merkle root of this tree to the Ethereum main chain. They also send the Merkle branch corresponding to each artwork to the current owner, ensuring they have the proof of ownership.
Withdrawing Artwork:
Collector's Withdrawal πΌ: A collector, let's call him Ben, who recently purchased Ava's artwork (ID 537), decides to withdraw it from the Plasma chain to his private wallet.
Initiating Withdrawal π: Ben publishes the Merkle branch showing the most recent transaction where he received the artwork from Ava.
Challenge Period β³: The smart contract initiates a 7-day challenge period. During this time, others can present evidence using other Merkle branches to prove that either Ava didn't own the artwork when she sold it or that she sold it to someone else after Ben.
Successful Withdrawal π: If no one successfully challenges Ben's claim within 7 days, he is allowed to withdraw the artwork, transferring it securely to his private wallet.
Ups and Downs β¬οΈβ¬οΈ
Upsides
Broader Accessibilityπ: Plasma allows assets to be sent to participants who were not originally part of the system, expanding its reach beyond initial users.
Lower Capital Requirements π°: Unlike state channels, Plasma requires significantly less capital to be locked up, making it more accessible for smaller-scale operations.
High Transaction Throughput π: Plasma excels in handling a large volume of transactions, making it ideal for applications with high transactional demands.
Customizability for Specific Use Cases π§: Plasma chains can be tailored to meet the needs of specific applications, offering flexibility in their deployment.
Downsides
Regular Onchain Data Publication π: Advances in validity proofs like ZK-SNARKs may mitigate the frequency and volume of on-chain data publishing required by Plasma, compared to its earlier versions.
Delayed Withdrawals β³: The challenge period in Plasma is necessary to prevent fraud, but new designs incorporating validity proofs could streamline withdrawals, potentially speeding up the process.
Dependence on Asset Ownership Logic π: Plasma's effectiveness is contingent upon assets having a clear owner. New Plasma proposals seek to address assets without distinct economic ownership, though full security assurances remain intricate.
Application-Specific Complexity π§©: Modern Plasma iterations are attempting to reduce the high levels of application-specific reasoning by improving EVM compatibility, thereby easing the creation of Ethereum-like systems.
Limited Scalability in Complex Applications π: Previous Plasma models were less suitable for complex applications. Introducing EVM capabilities and ZK-EVM advancements may extend Plasma's scalability to more sophisticated applications.
Operator Dependence for Data Management π₯: While initial Plasma models relied on operators for data management, potentially causing centralization, new models with enhanced validity proofs aim for a more decentralized approach, though some operator involvement persists.
Data Availability Issues π: Data availability has been a critical issue for Plasma, but emerging proposals utilizing ZK-SNARKs could improve data verification, making it easier to spot and dispute invalid transactions.
User Vigilance Requirement π: Users must monitor the network or delegate the monitoring to ensure fund safety, adding complexity. However, recent Plasma developments could lessen this burden through better exit mechanisms and fraud detection.
Optimal for π―
Not suitable for
Examples and resources π
The Development and Prospect of Plasma - Medium: This article discusses the current state and future potential of Plasma, highlighting its design space and scalability solutions.
Ethereum Plasma: Everything You Need to Know - OKX: A guide that explores Ethereum Plasma, detailing how it creates smaller chains on top of an existing child chain and its implications for the blockchain ecosystem.
OmiseGO's research implementation of Minimal Viable Plasma - GitHub: This GitHub repository contains OmiseGO's research implementation of Minimal Viable Plasma, offering a practical look at how MVP is structured and implemented.
History
Original Plasma Paper Aug 2017: The pdf file of the original Plasma paper
Minimal Viable Plasma - Ethereum Research Jan 2018: This resource provides a specification for a minimal viable plasma implementation, discussing its basic security properties and functionalities.
Plasma MVP - Learn Plasma: This page offers an overview of More Viable Plasma (MoreVP), an extension to Minimal Viable Plasma, and explains how Plasma MVP operates.
Plasma Cash Mar 2018: A specific variant of the Plasma framework, designed to enhance the scalability and security
Plasma Cashflow Summer 2018: Outlines Plasma Cashflow as an adaptation of Plasma Cash, involving depositing, transacting, and exiting a specific blockchain chain.Also Mentions ways to address the costs associated with validating tokens, such as using zkSNARKs or Plasma XT-style checkpointing.
Plasma Prime Nov 2018: This proposal delves into the utilization of the UTXO model for defining asset ownership, the mechanics of RSA proofs for transaction inclusion and exclusion within specified segments, the detailed structure of Plasma blocks
Exit games for EVM Validiums: The return of Plasma Nov 2023: The article revisits Plasma in light of advancements in validity proofs, such as ZK-SNARKs, which could address Plasma's main challenges, especially in managing client-side data storage. It explores potential extensions of Plasma to the EVM with parallel UTXO graphs and total state exiting
Last updated