Difference between revisions of "Optimism (OP)"
m (1 revision imported) |
|||
Line 3: | Line 3: | ||
*Aka The OΞ protocol | *Aka The OΞ protocol | ||
*Founded in: [https://insights.deribit.com/market-research/making-sense-of-rollups-part-2-dispute-resolution-on-arbitrum-and-optimism/ 2019] | *Founded in: [https://insights.deribit.com/market-research/making-sense-of-rollups-part-2-dispute-resolution-on-arbitrum-and-optimism/ 2019] | ||
* [[Mainnet]] release: fully permissionless release was on [https://yieldfarmer.substack.com/p/-farm-up-to-140-apr-in-dopex-l2-pastures?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo0NTY4NzgwOCwiXyI6IjBjVnVWIiwiaWF0IjoxNjM5OTc0NjUyLCJleHAiOjE2Mzk5NzgyNTIsImlzcyI6InB1Yi0zODQ1MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.xIoFue 17-12-2021]. | * [[Mainnet]] release: fully [[permissionless]] release was on [https://yieldfarmer.substack.com/p/-farm-up-to-140-apr-in-dopex-l2-pastures?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo0NTY4NzgwOCwiXyI6IjBjVnVWIiwiaWF0IjoxNjM5OTc0NjUyLCJleHAiOjE2Mzk5NzgyNTIsImlzcyI6InB1Yi0zODQ1MSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.xIoFue 17-12-2021]. | ||
* [https://ethhub.substack.com/p/ethhub-weekly-97?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoyMzkwMjYsIl8iOiJORGVwYiIsImlhdCI6MTU3OTYwMDgzNiwiZXhwIjoxNTc5NjA0NDM2LCJpc3MiOiJwdWItMzkxMCIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.p-KislQFyArQs2fE6W7Dg6vF3lQlCInCpy55f8GyRJI From] [[EthHub]] #97 (21-1-2020): | * [https://ethhub.substack.com/p/ethhub-weekly-97?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoyMzkwMjYsIl8iOiJORGVwYiIsImlhdCI6MTU3OTYwMDgzNiwiZXhwIjoxNTc5NjA0NDM2LCJpc3MiOiJwdWItMzkxMCIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.p-KislQFyArQs2fE6W7Dg6vF3lQlCInCpy55f8GyRJI From] [[EthHub]] #97 (21-1-2020): | ||
"''[https://optimism.io/ Optimism] is a Public Benefit Corporation dedicated to scaling [[Ethereum]] in a way that enshrines fair access to public goods."'' | "''[https://optimism.io/ Optimism] is a Public Benefit Corporation dedicated to scaling [[Ethereum]] in a way that enshrines fair access to public goods."'' | ||
* [https://bankless.substack.com/p/how-transaction-ordering-can-save?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo4NTI5Nzc1LCJfIjoiYzl4Um4iLCJpYXQiOjE2MDI0OTA0NzcsImV4cCI6MTYwMjQ5NDA3NywiaXNzIjoicHViLTE2MDE1Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.OedSo0xapoAHoq1Xvf7r6lZn1krnaOXOrx2Jm2zUV0c From] [[Bankless]] (8-10-2020): | * [https://bankless.substack.com/p/how-transaction-ordering-can-save?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo4NTI5Nzc1LCJfIjoiYzl4Um4iLCJpYXQiOjE2MDI0OTA0NzcsImV4cCI6MTYwMjQ5NDA3NywiaXNzIjoicHViLTE2MDE1Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.OedSo0xapoAHoq1Xvf7r6lZn1krnaOXOrx2Jm2zUV0c From] [[Bankless]] (8-10-2020): | ||
"''Optimism is an Ethereum [[layer-2]] scaling solution that uses [[Rollups|Optimistic Rollups]] to process many [[transactions]] [[off-chain]] while retaining the [[L1]] security guarantees of Ethereum. Importantly, it also separates the roles of transaction ordering, and [[block]] validation into two distinct parties."'' | "''Optimism is an Ethereum [[layer-2]] scaling solution that uses [[Rollups|Optimistic Rollups]] to process many [[transactions]] [[off-chain]] while retaining the [[L1]] security guarantees of Ethereum. Importantly, it also separates the roles of [[transaction]] ordering, and [[block]] validation into two distinct parties."'' | ||
== History == | == History == | ||
* Formerly known | * Formerly known as [[Plasma]] Group — a nonprofit researching Ethereum scalability, managed to raise $3.5m and transition to a for-profit startup under the name Optimism. | ||
*[https://insights.deribit.com/market-research/making-sense-of-rollups-part-2-dispute-resolution-on-arbitrum-and-optimism/ From] [[Deribit Exchange|Deribit Insights]] (8-7-2021): | *[https://insights.deribit.com/market-research/making-sense-of-rollups-part-2-dispute-resolution-on-arbitrum-and-optimism/ From] [[Deribit Exchange|Deribit Insights]] (8-7-2021): | ||
Line 21: | Line 21: | ||
=== Bugs/Exploits === | === Bugs/Exploits === | ||
* [https://www.blockthreat.io/p/blockthreat-week-6-2022?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJfIjoiWVd4VUYiLCJpYXQiOjE2NDU5Mjk3NDksImV4cCI6MTY0NTkzMzM0OSwiaXNzIjoicHViLTgxMDUiLCJzdWIiOiJwb3N0LXJlYWN0aW9uIn0.wsmLaa_vdJ5TOg-MiSnLeDqvZHHDlfegbRmRtXbRXpc&utm_source=url&s=r From] Blockthreat (18-2-2022): | |||
''"Optimism patched a [https://www.saurik.com/optimism.html critical money printing vulnerability] after it was responsibly disclosed by Saurik."'' | |||
== Governance == | == Governance == | ||
Line 28: | Line 33: | ||
*From their [https://medium.com/ethereum-optimism/mainnet-soft-launch-7cacc0143cd5 blog] (16-1-2021): | *From their [https://medium.com/ethereum-optimism/mainnet-soft-launch-7cacc0143cd5 blog] (16-1-2021): | ||
''"The most effective security approach for our current needs starts with a layered defense in [https://en.wikipedia.org/wiki/Defense_in_depth_(computing) depth strategy], combined with audits when it makes sense. These layers of defense are [[centralized]], and as we gain confidence in the system they will be removed. Until then, please do not consider this the full and final protocol. While we have dealt with all of the major security issues surfaced through multiple internal reviews of the contracts, as well as consultations with external auditors, we are launching with several additional safeguards.'' | ''"The most effective security approach for our current needs starts with a layered defense in [https://en.wikipedia.org/wiki/Defense_in_depth_(computing) depth strategy], combined with audits when it makes sense. These layers of defense are [[centralized]], and as we gain confidence in the system they will be removed. Until then, please do not consider this the full and final protocol. While we have dealt with all of the major security issues surfaced through multiple internal reviews of the [[contracts]], as well as consultations with external auditors, we are launching with several additional safeguards.'' | ||
#''Defense Layer #1: [[Permissioned]] [[contract]] deployment. The most probable way to bypass the core security is through deploying a malicious contract that breaks the OVM’s [[L2]] sandbox. To minimize this risk, we are temporarily maintaining a whitelist of deployers until a later release.'' | #''Defense Layer #1: [[Permissioned]] [[contract]] deployment. The most probable way to bypass the core security is through deploying a malicious contract that breaks the OVM’s [[L2]] sandbox. To minimize this risk, we are temporarily maintaining a whitelist of deployers until a later release.'' | ||
Line 71: | Line 76: | ||
"''Importantly, the Optimism system enables the capture and repurposing of [[MEV]]. In the Optimism [[L2]] system, the roles that [[miners]] have (to order [[transactions]] and validate [[blocks]]) is divided into two separate actors: Sequencers order transactions and Validators add them to the Optimism L2 [[blockchain]].'' | "''Importantly, the Optimism system enables the capture and repurposing of [[MEV]]. In the Optimism [[L2]] system, the roles that [[miners]] have (to order [[transactions]] and validate [[blocks]]) is divided into two separate actors: Sequencers order transactions and Validators add them to the Optimism L2 [[blockchain]].'' | ||
''The right to become a sequencer is then auctioned off to the free market. This is called MEVA, or MEV Auctions, where the right to be able to capture MEV is repeatedly auctioned off for baskets of time.'' | ''The right to become a sequencer is then auctioned off to the free market. This is called [[MEVA]], or MEV Auctions, where the right to be able to capture MEV is repeatedly auctioned off for baskets of time.'' | ||
<em>Note: The specific designs around how a MEV Auction works in practice is still under construction, but the general idea is that there are different ways to extract and focus MEV with a free-market auction mechanism. As Optimism gets rolled out to more and more [[DeFi]] apps, the data will come in about how to best construct a MEVA.</em> | <em>Note: The specific designs around how a MEV Auction works in practice is still under construction, but the general idea is that there are different ways to extract and focus MEV with a free-market auction mechanism. As Optimism gets rolled out to more and more [[DeFi]] apps, the data will come in about how to best construct a MEVA.</em> | ||
Line 83: | Line 88: | ||
== Oracle Method == | == Oracle Method == | ||
* [[UMA (UMA)|UMA]] optimistic oracle went [https://twitter.com/UMAprotocol/status/1488334871995072513 live] (5-2-2022). | * [[UMA (UMA)|UMA]] optimistic [[oracle]] went [https://twitter.com/UMAprotocol/status/1488334871995072513 live] (5-2-2022). | ||
* [[Chainlink (LINK)|Chainlink]] price feeds are now live on the Optimistic Ethereum network (1-9-2021). | * [[Chainlink (LINK)|Chainlink]] price feeds are now live on the Optimistic Ethereum network (1-9-2021). | ||
Line 91: | Line 96: | ||
== Their Projects == | == Their Projects == | ||
* From their [https://blog.synthetix.io/synthetix-exchange-l2-demo/ announcement] (6-5-2020): | * From their [https://blog.synthetix.io/synthetix-exchange-l2-demo/ announcement] (6-5-2020): | ||
"''Synthetix and Optimism are extremely excited to announce a new demo of Synthetix.Exchange on OVM (Optimistic Virtual Machine), a [[Layer 2]] (L2) scaling solution. This integration demonstrates the power of OVM to deliver high-speed Ethereum [[transactions]] to supercharge the Synthetix trading experience.'' | "''Synthetix and Optimism are extremely excited to announce a new demo of Synthetix.Exchange on OVM (Optimistic [[Virtual Machine]]), a [[Layer 2]] (L2) scaling solution. This integration demonstrates the power of OVM to deliver high-speed Ethereum [[transactions]] to supercharge the Synthetix trading experience.'' | ||
''Optimism built the OVM to scale Ethereum on L2, a scaling layer intended to work with Ethereum L1 to allow vastly more transactions to be executed without security tradeoffs. The Optimism team has previously launched a demo with [[Uniswap]] at [[Devcon]] V in October 2019, which used a custom OVM. This new demo showcases a general alpha version of the OVM requiring no custom code, ahead of a launch later this year."'' | ''Optimism built the OVM to scale Ethereum on L2, a scaling layer intended to work with Ethereum L1 to allow vastly more transactions to be executed without security tradeoffs. The Optimism team has previously launched a demo with [[Uniswap]] at [[Devcon]] V in October 2019, which used a custom OVM. This new demo showcases a general [[alpha]] version of the OVM requiring no custom code, ahead of a launch later this year."'' | ||
* [https://thedailygwei.substack.com/p/optimistic-on-rollups-the-daily-gwei?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo0MTcxNDYwLCJfIjoiMG96ZDgiLCJpYXQiOjE2MDEzODc3OTgsImV4cCI6MTYwMTM5MTM5OCwiaXNzIjoicHViLTUyODkzIiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.7gTAry5SQLI9xAry9fNcNf-gMw1bjC5CXkOzdeihXAk From] [[Daily Gwei]] (25-9-2020): ''"They have plans to work with [[Uniswap]] and [[Chainlink]] to bring their services to layer 2."'' | * [https://thedailygwei.substack.com/p/optimistic-on-rollups-the-daily-gwei?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjo0MTcxNDYwLCJfIjoiMG96ZDgiLCJpYXQiOjE2MDEzODc3OTgsImV4cCI6MTYwMTM5MTM5OCwiaXNzIjoicHViLTUyODkzIiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.7gTAry5SQLI9xAry9fNcNf-gMw1bjC5CXkOzdeihXAk From] [[Daily Gwei]] (25-9-2020): ''"They have plans to work with [[Uniswap]] and [[Chainlink]] to bring their services to layer 2."'' | ||
Line 124: | Line 129: | ||
*[https://insights.deribit.com/market-research/making-sense-of-rollups-part-2-dispute-resolution-on-arbitrum-and-optimism/ From] [[Deribit Exchange|Deribit Insights]] (8-7-2021): | *[https://insights.deribit.com/market-research/making-sense-of-rollups-part-2-dispute-resolution-on-arbitrum-and-optimism/ From] [[Deribit Exchange|Deribit Insights]] (8-7-2021): | ||
''"The simplest way to describe the difference is that Optimism’s dispute resolution relies more heavily on the Ethereum Virtual Machine (EVM) than Arbitrum’s. When someone submits a challenge on Optimism, the entire transaction in question is run through the EVM. By contrast, Arbitrum uses an [[Off Chain|offchain]] dispute resolution process to whittle down the dispute to a single step within a [[Transaction (Tx)|transaction]]. The protocol then sends this single step assertion, as opposed to the entire transaction, to the EVM for final verification. Conceptually, Optimism’s dispute resolution process is thus considerably simpler than Arbitrum’s. Optimism’s approach to dispute resolution—i.e. running entire transactions through the EVM—is not just conceptually simpler: it’s quicker too. There aren’t “multiple rounds” of back and forth, as there are in Arbitrum’s process. In fact, for this reason, Optimism’s rollups are often called “single round” whereas Arbitrum’s are “multi round.” Practically speaking, this means that in the case of a disputed transaction, final confirmation on Ethereum is delayed in Arbitrum’s case longer than it is in Optimism’s case.'' | ''"The simplest way to describe the difference is that Optimism’s dispute resolution relies more heavily on the [[Ethereum Virtual Machine (EVM)]] than Arbitrum’s. When someone submits a challenge on Optimism, the entire transaction in question is run through the EVM. By contrast, Arbitrum uses an [[Off Chain|offchain]] dispute resolution process to whittle down the dispute to a single step within a [[Transaction (Tx)|transaction]]. The protocol then sends this single step assertion, as opposed to the entire transaction, to the EVM for final verification. Conceptually, Optimism’s dispute resolution process is thus considerably simpler than Arbitrum’s. Optimism’s approach to dispute resolution—i.e. running entire transactions through the EVM—is not just conceptually simpler: it’s quicker too. There aren’t “multiple rounds” of back and forth, as there are in Arbitrum’s process. In fact, for this reason, Optimism’s [[rollups]] are often called “single round” whereas Arbitrum’s are “multi round.” Practically speaking, this means that in the [[case]] of a disputed transaction, final [[confirmation]] on Ethereum is delayed in Arbitrum’s case longer than it is in Optimism’s case.'' | ||
''On the flip side, the advantage of Arbitrum’s dispute resolution is that it is cheaper in terms of onchain (i.e. on Ethereum) transaction costs. The bite-sized chunk of code that the EVM eventually processes after the completion of the back-and-forth dispute resolution process requires much less gas (in [https://insights.deribit.com/market-research/making-sense-of-rollups-part-2-dispute-resolution-on-arbitrum-and-optimism/#notes most cases]) than it does to re-process the entire transaction onchain. Arbitrum should be more [[gas]] efficient than Optimism—and therefore cheaper for users—not only in the rare case of a dispute, but also in the predominant “happy” case."'' | ''On the flip side, the advantage of Arbitrum’s dispute resolution is that it is cheaper in terms of [[onchain]] (i.e. on Ethereum) transaction costs. The bite-sized chunk of code that the EVM eventually processes after the completion of the back-and-forth dispute resolution process requires much less gas (in [https://insights.deribit.com/market-research/making-sense-of-rollups-part-2-dispute-resolution-on-arbitrum-and-optimism/#notes most cases]) than it does to re-process the entire transaction onchain. Arbitrum should be more [[gas]] efficient than Optimism—and therefore cheaper for users—not only in the rare case of a dispute, but also in the predominant “happy” case."'' | ||
*From this [https://twitter.com/krzKaczor/status/1395812308451004419 thread] (22-5-2021): | *From this [https://twitter.com/krzKaczor/status/1395812308451004419 thread] (22-5-2021): | ||
''"The biggest distinction is what happens when two parties disagree on the [[state]] after executing a tx ie. implementation of the fraud proof (FP) mechanism. Optimism uses single round fraud proofs. This means that L1 executes the whole L2 transaction on-chain to verify the state root. This makes FPs instant which is nice. But there are some problems too:'' | ''"The biggest distinction is what happens when two parties disagree on the [[state]] after executing a tx ie. implementation of the fraud proof (FP) mechanism. Optimism uses single round fraud proofs. This means that L1 executes the whole L2 transaction [[on-chain]] to verify the state root. This makes FPs instant which is nice. But there are some problems too:'' | ||
''• you need to supervise tx execution hence need for OVM (aka rewriting [[Ethereum (ETH)|EVM]] to avoid sideeffects) • L2 tx [[gas]] is bound by [[Layer One|L1]] [[block]] gas limit • you need [[On Chain|on-chain]] state roots after each TX - costs more :( • source of potential security issues'' | ''• you need to supervise tx execution hence need for OVM (aka rewriting [[Ethereum (ETH)|EVM]] to avoid sideeffects) • L2 tx [[gas]] is bound by [[Layer One|L1]] [[block]] gas limit • you need [[On Chain|on-chain]] state roots after each TX - costs more :( • source of potential security issues'' | ||
Line 140: | Line 145: | ||
''Drawbacks: • It requires EVM -> AVM translation (thankfully it's automatic) • it's slow - in the worst case it takes up to 2 weeks to finish FP. Realistically it's 1 week. • requires original claimer to be online and cooperative'' | ''Drawbacks: • It requires EVM -> AVM translation (thankfully it's automatic) • it's slow - in the worst case it takes up to 2 weeks to finish FP. Realistically it's 1 week. • requires original claimer to be online and cooperative'' | ||
''Optimism's approach has one *HUGE* drawback. Imagine that there is a [[Hard Fork|hardfork]] and Ethereum consensus rules change. One of the opcodes is removed/repriced or modified in some other way. Suddenly re-executing past tx on L1 will result in a different final state. Arbitrum fully controls AVM specs and doesn't have this problem.'' | ''Optimism's approach has one *HUGE* drawback. Imagine that there is a [[Hard Fork|hardfork]] and Ethereum [[consensus]] rules change. One of the opcodes is removed/repriced or modified in some other way. Suddenly re-executing past tx on L1 will result in a different final state. Arbitrum fully controls AVM specs and doesn't have this problem.'' | ||
''Optimism requires a special [[solidity]] compiler to generate OVM bytecode. So, unfortunately, it works only with Solidity and only with particular versions of solidity. On the other hand, their L2 [[node]] is just modified [[geth]] which is great for compatibility.'' | ''Optimism requires a special [[solidity]] compiler to generate OVM bytecode. So, unfortunately, it works only with Solidity and only with particular versions of solidity. On the other hand, their L2 [[node]] is just modified [[geth]] which is great for compatibility.'' | ||
Line 146: | Line 151: | ||
''Arbitrum on the surface is fully compatible with EVM/JSON RPC spec but their node is a custom implementation. It does automatic EVM→ AVM transpilation to support fraud proofs. Thanks to this low-level translation, it supports any EVM language ([[vyper]], YUL+ etc).'' | ''Arbitrum on the surface is fully compatible with EVM/JSON RPC spec but their node is a custom implementation. It does automatic EVM→ AVM transpilation to support fraud proofs. Thanks to this low-level translation, it supports any EVM language ([[vyper]], YUL+ etc).'' | ||
''Optimism uses [[Wrapped Ethereum (WETH)|weth]] but Arbtirum has native eth support. Optimism launches with [[wallet]] abstraction built in too. Arbitrum launches with a unified [[Public Blockchains|permissionless]] bridge to bridge any tokens to L2 (it deploys generic [[ERC20 tokens|ERC20]] as a L2 counterpart). Optimism prefers dedicated bridges but of course, deploying "unibridge" on optimism is possible as well."'' | ''Optimism uses [[Wrapped Ethereum (WETH)|weth]] but Arbtirum has native eth support. Optimism launches with [[wallet]] abstraction built in too. Arbitrum launches with a unified [[Public Blockchains|permissionless]] [[bridge]] to bridge any [[tokens]] to L2 (it deploys generic [[ERC20 tokens|ERC20]] as a L2 counterpart). Optimism prefers dedicated [[bridges]] but of course, deploying "unibridge" on optimism is possible as well."'' | ||
== Pros and Cons == | == Pros and Cons == | ||
=== Pros === | === Pros === | ||
Line 153: | Line 158: | ||
* Has been [https://cryptobriefing.com/sushiswap-says-optimism-showed-favoritism-to-uniswap-during-layer-2-launch/ accused] by [[SushiSwap (SUSHI)|SushiSwap]] of favoritism towards [[Uniswap (UNI)|Uniswap]] (11-8-2021): | * Has been [https://cryptobriefing.com/sushiswap-says-optimism-showed-favoritism-to-uniswap-during-layer-2-launch/ accused] by [[SushiSwap (SUSHI)|SushiSwap]] of favoritism towards [[Uniswap (UNI)|Uniswap]] (11-8-2021): | ||
''"Joseph Delong said he believed Optimism favored Uniswap because of influence from the investors [[Andreessen Horowitz|Andreesen Horowitz]] ([[A16z crypto|a16z]]) and [[Paradigm]]. Both funds have made investments in Uniswap and Optimism, as well many other leading crypto projects. According to Delong, the two VCs may have “colluded” to influence and benefit their vested projects."'' | ''"[[Joseph Delong]] said he believed Optimism favored Uniswap because of influence from the investors [[Andreessen Horowitz|Andreesen Horowitz]] ([[A16z crypto|a16z]]) and [[Paradigm]]. Both funds have made investments in Uniswap and Optimism, as well many other leading crypto projects. According to Delong, the two VCs may have “colluded” to influence and benefit their vested projects."'' | ||
== Team, Funding, Partners == | == Team, Funding, Partners == | ||
Line 174: | Line 179: | ||
Making these free wiki pages is fun but takes a lot of effort and time. | Making these free wiki pages is fun but takes a lot of effort and time. | ||
If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information. | If you have enjoyed reading, tips are appreciated :) This will help us to [[keep]] expanding this archive of information. | ||
[[ETH]] tip [[address]]: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31 | [[ETH]] tip [[address]]: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31 |
Revision as of 05:29, 7 March 2022
Basics
- Based in:
- Aka The OΞ protocol
- Founded in: 2019
- Mainnet release: fully permissionless release was on 17-12-2021.
"Optimism is a Public Benefit Corporation dedicated to scaling Ethereum in a way that enshrines fair access to public goods."
"Optimism is an Ethereum layer-2 scaling solution that uses Optimistic Rollups to process many transactions off-chain while retaining the L1 security guarantees of Ethereum. Importantly, it also separates the roles of transaction ordering, and block validation into two distinct parties."
History
- Formerly known as Plasma Group — a nonprofit researching Ethereum scalability, managed to raise $3.5m and transition to a for-profit startup under the name Optimism.
- From Deribit Insights (8-7-2021):
"In mid 2017, Vitalik Buterin and Joseph Poon co-authored a paper proposing Plasma, an early scaling solution for Ethereum. A group of core Ethereum researchers took up the mantle and formed a non-profit research group to build out the vision. Development stalled in late 2019, as some critical design limitations of Plasma became apparent. Undeterred, three of Plasma’s lead researchers—Karl Floersch, Jinglan Wang, and Ben Jones—decided to pivot toward what seemed to be Plasma’s natural successor, the Optimistic Rollup. They formed Optimism PBC in early 2020."
Audits & Exploits
- Bug bounty program can be found [insert here].
Bugs/Exploits
- From Blockthreat (18-2-2022):
"Optimism patched a critical money printing vulnerability after it was responsibly disclosed by Saurik."
Governance
Admin Keys
- Fully permissionless release was on 17-12-2021.
- From their blog (16-1-2021):
"The most effective security approach for our current needs starts with a layered defense in depth strategy, combined with audits when it makes sense. These layers of defense are centralized, and as we gain confidence in the system they will be removed. Until then, please do not consider this the full and final protocol. While we have dealt with all of the major security issues surfaced through multiple internal reviews of the contracts, as well as consultations with external auditors, we are launching with several additional safeguards.
- Defense Layer #1: Permissioned contract deployment. The most probable way to bypass the core security is through deploying a malicious contract that breaks the OVM’s L2 sandbox. To minimize this risk, we are temporarily maintaining a whitelist of deployers until a later release.
- Defense Layer #2: Authenticated withdrawals. If the first line of defense is breached, then the next risk is invalid withdrawals. To prevent this, we have added a check that allows us to investigate pending withdrawals and stop misbehavior before it hits L1.
- Defense Layer #3: Upgrade keys. The final layer of defense relies on admin keys which can be used to upgrade the contracts in emergencies. We also plan to use these keys on a bi-monthly basis to ship scheduled improvements and new features."
DAO
Treasury
Token
Launch
Token allocation
Utility
Token Details
Stablecoin
Coin Distribution
Technology
- Whitepaper can be found [insert here].
- Code can be viewed [insert here].
- Built on: Ethereum
- Programming language used:
Transaction Details
How it works
Fee Mechanism
Upgrades
- Removed the whitelist (11-2021). However, on 18-12-2021 it was claimed that Optimism finally was fully permissionless.
- From EthHub #133 (28-9-2020):
"Optimism released their Optimistic Rollup testnet last week with Synthetix as a launch partner. They also detailed the testnet rollout plans and the path towards mainnet."
Staking
Liquidity Mining
Different Implementations
Interoperability
Other Details
Optimism & MEVA
"Importantly, the Optimism system enables the capture and repurposing of MEV. In the Optimism L2 system, the roles that miners have (to order transactions and validate blocks) is divided into two separate actors: Sequencers order transactions and Validators add them to the Optimism L2 blockchain.
The right to become a sequencer is then auctioned off to the free market. This is called MEVA, or MEV Auctions, where the right to be able to capture MEV is repeatedly auctioned off for baskets of time.
Note: The specific designs around how a MEV Auction works in practice is still under construction, but the general idea is that there are different ways to extract and focus MEV with a free-market auction mechanism. As Optimism gets rolled out to more and more DeFi apps, the data will come in about how to best construct a MEVA.
Just as frontrunners attempted to outbid each other’s transactions to capture MEV, those who wish to capture MEVA are forced to bid for the right to sequence transactions, and ultimately hands this value off to the auctioneer. That auctioneer is Optimism, and the Optimism team intends to enable the redirecting of this captured value to parties that were never going to be able to access it in the first place, but arguably should have: The developers who built the contracts in the first place!
If there’s a group of average retail market participants who are using a Public Good like Uniswap, then there is therefore MEV. If there is MEV, there are bids to sequence the transaction. If there are bids to sequence the transactions, then there are MEVAs where the value is converged.
But this entire chain of economic activity is a result of some developer that built the contracts being transacted on in the first place… and nowhere in this economic chain is the developer being compensated or rewarded for their work. Optimism and MEVA fixes this, offering a potential business model for smart-contract developers."
Oracle Method
- Chainlink price feeds are now live on the Optimistic Ethereum network (1-9-2021).
Privacy Method
Compliance
Their Projects
- From their announcement (6-5-2020):
"Synthetix and Optimism are extremely excited to announce a new demo of Synthetix.Exchange on OVM (Optimistic Virtual Machine), a Layer 2 (L2) scaling solution. This integration demonstrates the power of OVM to deliver high-speed Ethereum transactions to supercharge the Synthetix trading experience.
Optimism built the OVM to scale Ethereum on L2, a scaling layer intended to work with Ethereum L1 to allow vastly more transactions to be executed without security tradeoffs. The Optimism team has previously launched a demo with Uniswap at Devcon V in October 2019, which used a custom OVM. This new demo showcases a general alpha version of the OVM requiring no custom code, ahead of a launch later this year."
- From Daily Gwei (25-9-2020): "They have plans to work with Uniswap and Chainlink to bring their services to layer 2."
Roadmap
- Can be found [Insert link here].
- From their 2020 year-end article (1-1-2021):
"Two weeks ago, we froze our code in order to prepare for a preliminary mainnet trial run with Synthetix. This means we are in the final legs of taking our first users through the entire product lifecycle: from the initial stage of converting contracts to the OVM, to deploying onto mainnet.
We will be holding upgrade keys for awhile (at least the first 6 months) to ensure the safety of user funds. Until we relinquish those keys, please do not consider this the full and final system."
- Mainnet got delayed (26-3-2021) to sometime in July 2021 after first being scheduled for March.
Usage
"Uniswap V3 on Optimism has over $4.25 million in TVL, and is doing over $1.75 million in volume in under 48 hours!"
Projects that use or built on it
- BadgerDAO; planning to deploy (17-3-2021)
- Coinbase Wallet is integrating with Optimism’s Optimistic Rollup testnet (14-10-2020).
- Rubicon (10-2021)
- Thales (2-2022).
- Uniswap, Maker, Synthetix, Chainlink, Rari Capital (11-3-2021)
Competition
- From Deribit Insights (8-7-2021):
"The simplest way to describe the difference is that Optimism’s dispute resolution relies more heavily on the Ethereum Virtual Machine (EVM) than Arbitrum’s. When someone submits a challenge on Optimism, the entire transaction in question is run through the EVM. By contrast, Arbitrum uses an offchain dispute resolution process to whittle down the dispute to a single step within a transaction. The protocol then sends this single step assertion, as opposed to the entire transaction, to the EVM for final verification. Conceptually, Optimism’s dispute resolution process is thus considerably simpler than Arbitrum’s. Optimism’s approach to dispute resolution—i.e. running entire transactions through the EVM—is not just conceptually simpler: it’s quicker too. There aren’t “multiple rounds” of back and forth, as there are in Arbitrum’s process. In fact, for this reason, Optimism’s rollups are often called “single round” whereas Arbitrum’s are “multi round.” Practically speaking, this means that in the case of a disputed transaction, final confirmation on Ethereum is delayed in Arbitrum’s case longer than it is in Optimism’s case.
On the flip side, the advantage of Arbitrum’s dispute resolution is that it is cheaper in terms of onchain (i.e. on Ethereum) transaction costs. The bite-sized chunk of code that the EVM eventually processes after the completion of the back-and-forth dispute resolution process requires much less gas (in most cases) than it does to re-process the entire transaction onchain. Arbitrum should be more gas efficient than Optimism—and therefore cheaper for users—not only in the rare case of a dispute, but also in the predominant “happy” case."
- From this thread (22-5-2021):
"The biggest distinction is what happens when two parties disagree on the state after executing a tx ie. implementation of the fraud proof (FP) mechanism. Optimism uses single round fraud proofs. This means that L1 executes the whole L2 transaction on-chain to verify the state root. This makes FPs instant which is nice. But there are some problems too:
• you need to supervise tx execution hence need for OVM (aka rewriting EVM to avoid sideeffects) • L2 tx gas is bound by L1 block gas limit • you need on-chain state roots after each TX - costs more :( • source of potential security issues
Arbitrum features multi-round fraud proofs. You can dumb it down to doing a binary search between two parties to find the first opcode of a whole block that they disagree on. Once found only this particular opcode is executed on-chain. It has some nice properties:
• it requires posting on-chain just one state proof for a whole bunch of txs, • L1 block gas limit doesn't matter since L2 txs will never entirely execute on L1
Drawbacks: • It requires EVM -> AVM translation (thankfully it's automatic) • it's slow - in the worst case it takes up to 2 weeks to finish FP. Realistically it's 1 week. • requires original claimer to be online and cooperative
Optimism's approach has one *HUGE* drawback. Imagine that there is a hardfork and Ethereum consensus rules change. One of the opcodes is removed/repriced or modified in some other way. Suddenly re-executing past tx on L1 will result in a different final state. Arbitrum fully controls AVM specs and doesn't have this problem.
Optimism requires a special solidity compiler to generate OVM bytecode. So, unfortunately, it works only with Solidity and only with particular versions of solidity. On the other hand, their L2 node is just modified geth which is great for compatibility.
Arbitrum on the surface is fully compatible with EVM/JSON RPC spec but their node is a custom implementation. It does automatic EVM→ AVM transpilation to support fraud proofs. Thanks to this low-level translation, it supports any EVM language (vyper, YUL+ etc).
Optimism uses weth but Arbtirum has native eth support. Optimism launches with wallet abstraction built in too. Arbitrum launches with a unified permissionless bridge to bridge any tokens to L2 (it deploys generic ERC20 as a L2 counterpart). Optimism prefers dedicated bridges but of course, deploying "unibridge" on optimism is possible as well."
Pros and Cons
Pros
Cons
"Joseph Delong said he believed Optimism favored Uniswap because of influence from the investors Andreesen Horowitz (a16z) and Paradigm. Both funds have made investments in Uniswap and Optimism, as well many other leading crypto projects. According to Delong, the two VCs may have “colluded” to influence and benefit their vested projects."
Team, Funding, Partners
Team
- Full team can be found [here].
- Eva Beylin, previously worked with them
- From DeFi Weekly (9-3-2021): "The team that Optimism has rallied is pretty incredible if you dig deeper."
Funding
- "They’ve raised (21-1-2020) $3.5 million from Paradigm and CoLab Ventures to focus on Optimistic Rollup research and development."
- Does funding (1-2020) and was one of the earliest believers in Plasma Group.
- Is one of the funders (18-10-2020) of Gitcoin Grant round 7 (and possibly continues to do so).
- From Yield Farmer (28-2-2021): "Raises $25M in a Series A funding round led by prolific crypto VC firm a16z."
Partners
(:
Knowledge empowers all and will help us get closer to the decentralized world we all want to live in!
Making these free wiki pages is fun but takes a lot of effort and time.
If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information.
ETH tip address: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31