Links

AoX: Arbitrum on GC

Arbitrum Optimistic Rollup Deployment
Arbitrum has been deployed to Gnosis Chain called AoX! This unofficial instance was deployed for research and development purposes, cultivating a broad ecosystem for developers and users.
We are currently working on configs and bridge installation, Blockscout is already configured for AoX. Look for more info and instructions coming soon.
For information on Arbitrum and usage basics, see the Arbitrum docs. Note that AoX is still being finalized, and some functionality is not yet available.

Basic Info

Item
Value
RPC
WSS
Chain ID
200
Explorer
Rollup Contract
Inbox Contract
Outbox Contract
Contracts version
​7897c3​
Arb OS version
​48​
Sequencer/Validator docker image
​v1.0.0-2b628f8​

MetaMask Custom Network

Deposits to AoX

Simple deposit functionality for users / bridge implementation is still in development. Devs can use the following ABI to call the depositEth method. Use 0 for maxSubmissionCost and attach an amount of xDai tokens to the transaction. It may take several minutes for execution finalization.
[
{
"inputs":[
{
"internalType":"uint256",
"name":"maxSubmissionCost",
"type":"uint256"
}
],
"name":"depositEth",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"stateMutability":"payable",
"type":"function"
}
]

BlockScout Deposit Example

  1. 1.
    Connect your wallet to blockscout.
  2. 3.
    In the depositEth method
    1. 1.
      Enter 0 for maxSubmissionCost field
    2. 2.
      Enter the amount of xDai to deposit
    3. 3.
      Click Write and confirm in MetaMask
Once completed, it may take several minutes for the transaction to arrive at your address on the rollup. Switch to Arbitrum on xDai in Metamask to view the deposit.

Withdrawals

Instructions in process

Contract Deployment

Hardhat

To adjust deployment, simply use the xDai Arbitrum RPC url in your hardhat.config.ts:
module.exports = {
solidity: '0.7.3',
networks: {
arbitrum: {
url: 'https://arbitrum.xdaichain.com/',
gasPrice: 0,
},
},
}
For more info on Arbitrum and usage basics, please see the Arbitrum docs. You can work with Arbitrum on xDai as you would on Ethereum.