Difference between revisions of "Arbitrum (ARB)"

From CryptoWiki

Line 203: Line 203:
== Usage ==
== Usage ==


* Transactions [https://blockworks.co/arbitrum-now-responsible-for-62-of-all-ethereum-transactions/ have shot up more than 550%] since the launch of its Nitro network upgrade in August, now representing 62% as many weekly transactions as the [[Ethereum (ETH)|Ethereum]] blockchain, research firm [[Delphi Digital]] reported earlier this week. Before the surge, Arbitrum handled just 9% of Ethereum activity.
* [https://ournetwork.substack.com/p/ournetwork-147 From] [[Our Network]] (19-11-2022):
''"In terms of [[Total Value Locked (TVL)|TVL]], Arbitrum One has recently surpassed [[Solana (SOL)|Solana]] and [[Avalanche (AVAX)|Avalanche]] with $941.47 million. Month over month TVL has only dropped -2.67%, which is the smallest drop-off of any of the major [[Smart Contract (SC)|smart contract]] platforms with [[Decentralized Finance (DeFi)|DeFi]]. In addition to DeFi, Arbitrum One has also seen successful projects in the [[Decentralised Autonomous Organisation (DAO)|DAO]] and [[Non Fungible Tokens (NFTs)|NFT]] space. [[TreasureDAO]] surpassed $250m in marketplace sales on its own collections in the first half of 2022.''
 
''Arbitrum Nova is the second [[Ethereum Virtual Machine (EVM)|EVM]] chain from the team, launched August of 2022 with a focus on gaming and social dApps. [[Reddit]], [[Google]], [[Consensys|ConsenSys]], P2P, and Quicknode make up the data availability committee. Reddit selected Nova for its decentralized community points strategy with the first sub-reddits (r/cryptocurrency & r/fortniteBR) live, bringing strong growth in new Nova [[Wallet|wallets]]. An exciting gaming ecosystem is currently building on Nova, with more coming soon. As of this month, Nova has already seen more than 200K [[Address|addresses]] complete [[Transaction (Tx)|transactions]] on its network."''
*Transactions [https://blockworks.co/arbitrum-now-responsible-for-62-of-all-ethereum-transactions/ have shot up more than 550%] since the launch of its Nitro network upgrade in August, now representing 62% as many weekly transactions as the [[Ethereum (ETH)|Ethereum]] blockchain, research firm [[Delphi Digital]] reported earlier this week. Before the surge, Arbitrum handled just 9% of Ethereum activity.
*[https://thedefiant.io/arbitrum-transactions-quadruple-after-upgrade From] [[The Defiant]] (8-9-2022):
*[https://thedefiant.io/arbitrum-transactions-quadruple-after-upgrade From] [[The Defiant]] (8-9-2022):
''"Activity on Arbitrum quadrupled after its Nitro upgrade, with daily transactions hitting all-time highs during consecutive days this week. According to data from Arbiscan, there were [https://arbiscan.io/chart/tx 319,000] transactions executed on the blockchain network on Sep 1, the day after Arbitrum’s Nitro upgrade went live."''
''"Activity on Arbitrum quadrupled after its Nitro upgrade, with daily transactions hitting all-time highs during consecutive days this week. According to data from Arbiscan, there were [https://arbiscan.io/chart/tx 319,000] transactions executed on the blockchain network on Sep 1, the day after Arbitrum’s Nitro upgrade went live."''

Revision as of 05:11, 8 December 2022

Arbitrum is a generalized optimistic-rollup that settles to Ethereum. The Layer 2 scaling solution provides users with lightning-fast semi-confirmations and cheaper transaction fees, while inheriting the security of Ethereum L1.

Basics

History

"On a frigid Princeton morning six and a half years ago, a group of undergraduates working with Professor Ed Felten delivered a presentation on the project they had signed up to build: a blockchain-based arbitration system. The objective was to circumvent some of the anticipated scaling challenges of smart contract platforms, and the plan was to design a blockchain that relied on a system of challenges and dispute resolution to lighten the computational workload for traditional miners. “Arbitrum,” as the system was called, would have suffered the same fate as most other promising academic computer science projects, if not for two ambitious PhD students, Steven Goldfeder and Harry Kalodner, who approached Felten a few years later with the idea of building out a robust layer 2 solution based upon the initial concept. Soon thereafter, Felten, Goldfeder, and Kalodner co-founded Offchain Labs and have since shepherded Arbitrum from abstract idea to concrete reality."

Audits & Exploits

"Funds can be stolen if…

  1. none of the whitelisted verifiers checks the published state. Fraud proofs assume at least one honest and able validator (CRITICAL),
  2. a contract receives a malicious code upgrade. There is no delay on code upgrades (CRITICAL).

Funds can be lost if…

  1. there are mistakes in the highly complex AVM implementation.

Funds can be frozen if…

  1. the centralized validator goes down. Users cannot produce blocks themselves and exiting the system requires new block production (CRITICAL).

MEV can be extracted if…

  1. the operator exploits their centralized position and frontruns user transactions."

However, the Frozen Funds part is being disputed by a different source (9-1-2022):

"Validating the Arbitrum chain is fully permissionless; all you need to do is download the Arbitrum Validator node software and point your node at the chain. To issue or dispute an assertion, you simply need to place a stake that you'll get back after the claim is resolved (assuming you acted honestly)."

On Arbitrum Nova it is similar as above, except 2 extra points:

"Funds can be lost if…

  1. the external data becomes unavailable (CRITICAL),

Users can be censored if…

  1. the committee restricts their access to the external data."

Bugs/Exploits

"A white hat hacker has discovered a bug within the latest upgrade for Arbitrum, an Ethereum scaling network, that could have led to the theft of over $530 million. 0xriptide discovered that the bridge between the Ethereum mainnet and Arbitrum Nitro contained a flaw that would allow any industrious hacker to replace Arbitrum’s destination address with their own. Essentially, any funds meant to flow from Ethereum into Aribitrum could instead be redirected straight into a hacker’s wallet."

"Yield missing function override post mortem, $206k was at risk on Arbitrum"

  • From Week in Ethereum (15-1-2022):

"Arbitrum Sequencer downtime due to hardware failure, backup had software upgrade in progress, Arbitrum still in beta, plans to decentralize Sequencer."

  • From their blog (15-9-2021):

"Beginning at 10:14 AM Eastern today (September 14, 2021) and continuing for approximately 45 minutes, the Arbitrum Sequencer was offline. Funds were never at risk, but the submission of new transactions stopped during the downtime."

Governance

Admin Keys

"While proposing blocks is open to anyone the system employs a privileged sequencer that has priority for submitting transaction batches and ordering transactions. Because the state of the system is based on transactions submitted on-chain and anyone can submit their transactions there it allows the users to circumvent censorship by interacting with the smart contract directly.

The system uses the following set of permissioned addresses:

  1. Arbitrum MultiSig 0xC234…0941 (MultiSig) The admin of all contracts in the system, capable of issuing upgrades without notice and delay. This allows it to censor transactions, upgrade bridge implementation potentially gaining access to all funds stored in a bridge and change the sequencer or any other system component (unlimited upgrade power). It is also the admin of the special purpose smart contracts used by validators.
  2. MultiSig participants0x0C88…CE1e (EOA), 0x68aF…6e12 (EOA), 0x8042…951B (EOA), 0xf7FA…59c6 (EOA), 0xc19A…e972 (EOA), 0xc73b…5075 (EOA) These addresses are the participants of the 4/6 Arbitrum MultiSig.
  3. Sequencer 0xa4b1…253f (EOA) Central actor allowed to set the order in which L2 transactions are executed.
  4. Validators0xa8c3…fc4f (EOA), 0x9919…f089 (EOA), 0xF76d…0858 (EOA), 0xDdfF…69cD (EOA) They can submit new state roots and challenge state roots. Some of the validators perform their duties through special purpose smart contracts."

"Arbitrum will be using Chainlink’s FSS technology for minimizing MEV on Arbitrum One and decentralizing the sequencer."

"We’re currently targeting the end of the summer to phase out these controls."

DAO

Treasury

Token

Launch

Token allocation

Utility

Token Details

Stablecoin

Technology

Transaction Details

How it works

"After some period of time, the published state root is assumed to be correct. For a certain time period, usually one week one of the whitelisted actors can submit a fraud proof that shows that the state was incorrect.

All executed transactions are submitted to an on chain smart contract. The execution of the rollup is based entirely on the submitted transactions, so anyone monitoring the contract can know the correct state of the rollup chain."

  • From L2beat (13-10-2022), Regarding Arbitrum Nova:

"Users transactions are not published on-chain, but rather sent to several well known and trusted parties, also known as committee members (DAC). New transaction batch needs a BLS signature with the required DAC quorum, for example 9/10. This signature is not verified by L1, however external Validators will skip the batch if BLS signature is not valid resulting. This will result in a fraud proof challenge if this batch is included in a consecutive state update. It is assumed that at least one honest DAC member that signed the batch will reveal tx data to the Validators if Sequencer decides to act maliciously and withhold the data."

"The majority of the fees collected on Arbitrum are used to pay for posting calldata on Ethereum (so they end up going to the Ethereum miners), and there are also costs to operate the chain and the supporting infrastructure. ETH is the native asset on Arbitrum, and fees will be paid in ETH on L2. For more info on fees, see here. In order to use the chain, users will first have to use the Arbitrum bridge to transfer ETH from Ethereum to their L2 wallet."

Fees

Upgrades

Arbitrum Nitro

"Arbitrum will be using Chainlink’s FSS technology for minimizing MEV on Arbitrum One and decentralizing the sequencer."

"Arbitrum Nitro is next iteration of Arbitrum, which the team has been working on for months. It’s built on standard technologies like WASM and Geth, so it’s more EVM-compatible, an order-of-magnitude faster than the current tech, and adds another 0. When it’s ready it’ll be deployed as a seamless upgrade to Arbitrum One."

Staking

Validator Stats

The broadened group of organizations securing the Arbitrum One chain now include:

@ConsenSys

@ethereum

@l2beat

@mycelium_xyz

@OffchainLabs (us)

@P2Pvalidator

@QuickNode

@iffunic

@unit_410

Scaling

"Rollup Plan. Arbitrum plans to support a community chain that uses just ETH for transaction fees (no new token)."

Different Implementations

  • Arbitrum One is the mainnet Ethereum L2 chain built using the Arbitrum technology.
  • Has Arbitrum One and Arbitrum Nova live (13-10-2022):

"Arbitrum Nova is an AnyTrust chain that aims for ultra low transaction fees. Nova differs from Arbitrum One by not posting transaction data on chain, but to Data Availability Committee."

Interoperability

"Polygon and Wanchain are launching a decentralized L2 to L2 cross-chain bridge that connects Arbitrum and Polygon’s PoS chain."

Other Details

Pipelining

"Pipelining allows network validators to continue processing transactions for final approval even if a previously-processed transaction is under dispute. What this creates is a “pipeline” of recently-processed but yet-to-be-finalized transactions, instead of a bottleneck that prevents the sequencer from processing transactions and network parties from submitting challenges.

Pipelining is possible because anyone monitoring the network can know immediately whether a dispute is valid or invalid even before the dispute resolution process is finished. In essence, validators can operate as if the disputed transaction is already finalized and continue building the chain (i.e. processing transactions) on whichever outcome, or “branch,” is correct. This process, blunts the force of any would-be spamming attack.

Oracle Method

Compliance

Their Other Projects

AnyTrust

"Ultra low cost transactions, hash of data posted on mainnet, operated by committee, assumes minimal members honest as can fallback to rollup.  Similar trust assumptions to Validium." AnyTrust chains will operate alongside Arbitrum One.

Roadmap

  • Can be found [Insert link here].

Usage

"In terms of TVL, Arbitrum One has recently surpassed Solana and Avalanche with $941.47 million. Month over month TVL has only dropped -2.67%, which is the smallest drop-off of any of the major smart contract platforms with DeFi. In addition to DeFi, Arbitrum One has also seen successful projects in the DAO and NFT space. TreasureDAO surpassed $250m in marketplace sales on its own collections in the first half of 2022.

Arbitrum Nova is the second EVM chain from the team, launched August of 2022 with a focus on gaming and social dApps. Reddit, Google, ConsenSys, P2P, and Quicknode make up the data availability committee. Reddit selected Nova for its decentralized community points strategy with the first sub-reddits (r/cryptocurrency & r/fortniteBR) live, bringing strong growth in new Nova wallets. An exciting gaming ecosystem is currently building on Nova, with more coming soon. As of this month, Nova has already seen more than 200K addresses complete transactions on its network."

  • Transactions have shot up more than 550% since the launch of its Nitro network upgrade in August, now representing 62% as many weekly transactions as the Ethereum blockchain, research firm Delphi Digital reported earlier this week. Before the surge, Arbitrum handled just 9% of Ethereum activity.
  • From The Defiant (8-9-2022):

"Activity on Arbitrum quadrupled after its Nitro upgrade, with daily transactions hitting all-time highs during consecutive days this week. According to data from Arbiscan, there were 319,000 transactions executed on the blockchain network on Sep 1, the day after Arbitrum’s Nitro upgrade went live."

"On Friday, ~$170M worth of ETH had been bridged onto Arbitrum. That changed over the weekend though, as yield farms for speculative tokens like ArbiNyan and Carbon.fi (which is already down 99%) managed to spur FOMO and cause bridge volume to spike. Arbinyan’s ETH pool currently has over $1.45B of ETH. Meanwhile, Arbitrum’s ETH bridge custodies over ~$2b worth of ETH. It’s worth noting that a single whale wallet was responsible for ~168K ETH bridged. Arbitrum grew >$2b in bridge TVL with only ~500 unique depositors."

Projects that use or built on it

"Arbitrum’s technology is leveraged by defi projects like Aave, Balancer, Band Protocol, Coinbase Wallet, Chainlink, Curve, DAI stablecoins, Etherscan, Dodo, Metamask, Shapeshift, Sushiswap, Uniswap, and many more."

"Plans to launch Swapr, Omen and a DXdao base on Arbitrum, a Layer 2 scaling solution that uses an optimistic rollup."

"MCDEX Launched on Arbitrum Rollup Testnet: The MCDEX perpetual swap platform platform is now able to be used on Arbitrum’s layer 2 rollup technology (testnet only for now)."

  • Reddit; using it for its community points (7-2021). Will also provide the infra for all other community points (10-8-2022).

How it works

  • Uniswap had a vote and launched on Arbitrum.

Competition

"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."

"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

  • Had investment from bankrupt Alameda Research/FTX. This could mean fall-out risk.

Team, Funding, Partners

Team

Funding

Partners

"Arbitrum will be using Chainlink’s FSS technology for minimizing MEV on Arbitrum One and decentralizing the sequencer."

(:

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