Skip to content

Commit

Permalink
Merge pull request #627 from OffchainLabs/testnet-docs
Browse files Browse the repository at this point in the history
Update testnet docs w/ v2 info
  • Loading branch information
hkalodner authored Nov 5, 2020
2 parents f4315de + 9b59a9b commit a708324
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions docs/Public_Testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ For a convenient landing page for all your testnet needs, see our [website](http

## Connection Information

Hosted Aggregator Node (JSON-RPC Endpoint): [https://node.offchainlabs.com:8547](https://node.offchainlabs.com:8547)
Hosted Aggregator Node (JSON-RPC Endpoint): [https://kovan2.arbitrum.io/rpc](https://kovan2.arbitrum.io/rpc)

Rollup Chain ID: 215728282823301
Rollup Chain ID: 152709604825713

Testnet Version: v1
Testnet Version: v2

Chain Launched on October 14, 2020
Chain Launched on November 3, 2020

## Deploying your contracts

Deploying your contracts onto the Arbitrum testnet is as easy as changing your RPC endpoint to https://node.offchainlabs.com:8547
Deploying your contracts onto the Arbitrum testnet is as easy as changing your RPC endpoint to https://kovan2.arbitrum.io/rpc

For a deeper dive into deploying with truffle see [here](Contract_Deployment.md).

Expand All @@ -33,8 +33,8 @@ Porting your frontend is just as easy as deploying your contracts. Just take you
If you're using metamask, add a custom RPC network to connect to the Arbitrum testnet:

- Network Name: Arbitrum Testnet
- New RPC URL: https://node.offchainlabs.com:8547
- ChainID (Optional): 215728282823301
- New RPC URL: https://kovan2.arbitrum.io/rpc
- ChainID (Optional): 152709604825713
- Symbol: ETH
- Block Explorer URL: https://explorer.offchainlabs.com/#/

Expand All @@ -49,16 +49,17 @@ There you'll be able to see all the transactions being executed in Arbitrum and
We're running an aggregator and validator for our testnet, so you don't have to run any of your own infrastructure. However Arbitrum Rollup is totally decentralized, so if you'd like to run your own infrastructure you can avoid our servers entirely.

The very first step to start building with Arbitrum is [installing](Installation.md). After that you can initialize your local setup by running:

```bash
yarn prod:initialize 0x175c0b09453cbb44fb7f56ba5638c43427aa6a85 https://kovan.infura.io/v3/YOUR_INFURA_API_ID
yarn prod:initialize 0xC34Fd04E698dB75f8381BFA7298e8Ae379bFDA71 https://kovan.infura.io/v3/YOUR_INFURA_API_ID
```

Running the `prod:initialize` command will create a `arbitrum/rollups/0x175c0b09453cbb44fb7f56ba5638c43427aa6a85` folder with two subfolders, one configured for an aggregator, and the other a validator.
Running the `prod:initialize` command will create a `arbitrum/rollups/ 0xC34Fd04E698dB75f8381BFA7298e8Ae379bFDA71` folder with two subfolders, one configured for an aggregator, and the other a validator.

To deploy the validator and aggregator, run

```bash
yarn deploy:validators 0x175c0b09453cbb44fb7f56ba5638c43427aa6a85 --password=[password]
yarn deploy:validators 0xC34Fd04E698dB75f8381BFA7298e8Ae379bFDA71 --password=[password]
```

The password argument is used to secure the validator keystore. On the first deployment you set the password to any value, and on later deployments you must resubmit the same password.
Expand All @@ -69,19 +70,32 @@ All contracts are deployed from https://github.com/OffchainLabs/arbitrum/tree/v0

#### Important Addresses

- Main L1 Rollup Contract: [0x175c0b09453cbb44fb7f56ba5638c43427aa6a85](https://kovan.etherscan.io/address/0x175c0b09453cbb44fb7f56ba5638c43427aa6a85)
- Our Hosted Aggregator Address: [0x1d143638962dc93c52c4053a3dcce71cccb30bd3](https://kovan.etherscan.io/address/0x1d143638962dc93c52c4053a3dcce71cccb30bd3)
- Our Hosted Validator Address: [0x705c33d9364dd570bc2998a1a1e788221c14d2da](https://kovan.etherscan.io/address/0x705c33d9364dd570bc2998a1a1e788221c14d2da)
- Main L1 Rollup Contract: [ 0xC34Fd04E698dB75f8381BFA7298e8Ae379bFDA71](https://kovan.etherscan.io/address/ 0xC34Fd04E698dB75f8381BFA7298e8Ae379bFDA71)
- Our Hosted Aggregator Address: [0x569753e1d905ba9e74abdd65f4d41d80a0ce4dfc](https://kovan.etherscan.io/address/0x1d143638962dc93c52c4053a3dcce71cccb30bd3)
- Our Hosted Validator Address: [0x51eefd904c9317ef4a242de47cd48c9183f60143](https://kovan.etherscan.io/address/0x705c33d9364dd570bc2998a1a1e788221c14d2da)

#### Rollup Contracts

- [ArbFactory](https://github.com/OffchainLabs/arbitrum/blob/v0.7.2/packages/arb-bridge-eth/contracts/rollup/ArbFactory.sol) - [0xee1250962014364aCf506061E66e78e65b8bCEEC](https://kovan.etherscan.io/address/0xee1250962014364aCf506061E66e78e65b8bCEEC)
- [ArbRollup](https://github.com/OffchainLabs/arbitrum/blob/v0.7.2/packages/arb-bridge-eth/contracts/rollup/ArbRollup.sol) - [0x5c1351258f436dA83f37D6A46424225A08914bd5](https://kovan.etherscan.io/address/0x5c1351258f436dA83f37D6A46424225A08914bd5) (Template contract)

#### Inbox Contract

- [GlobalInbox](https://github.com/OffchainLabs/arbitrum/blob/v0.7.2/packages/arb-bridge-eth/contracts/inbox/GlobalInbox.sol) - [0xE681857DEfE8b454244e701BA63EfAa078d7eA85](https://kovan.etherscan.io/address/0xE681857DEfE8b454244e701BA63EfAa078d7eA85)

#### Fraud Proofs Contracts

- [ChallengeFactory](https://github.com/OffchainLabs/arbitrum/blob/v0.7.2/packages/arb-bridge-eth/contracts/challenge/ChallengeFactory.sol) - [0x7064443c714996fbF3e783d5347C528E2E1Ad877](https://kovan.etherscan.io/address/0x7064443c714996fbF3e783d5347C528E2E1Ad877)
- [InboxTopChallenge](https://github.com/OffchainLabs/arbitrum/blob/v0.7.2/packages/arb-bridge-eth/contracts/challenge/InboxTopChallenge.sol) - [0x2C3927aCC3AB8051BAd86B80b9d2D9A1dE5999BD](https://kovan.etherscan.io/address/0x2C3927aCC3AB8051BAd86B80b9d2D9A1dE5999BD) (Template contract)
- [ExecutionChallenge](https://github.com/OffchainLabs/arbitrum/blob/v0.7.2/packages/arb-bridge-eth/contracts/challenge/ExecutionChallenge.sol) - [0x356e19929FCb4973c131d558300E3E353cb8e1C9](https://kovan.etherscan.io/address/0x356e19929FCb4973c131d558300E3E353cb8e1C9) (Template contract)
- [OneStepProof](https://github.com/OffchainLabs/arbitrum/blob/v0.7.2/packages/arb-bridge-eth/contracts/arch/OneStepProof.sol) - [0x082D26eeAa348A7C02291cd1948c66a79fc80aAD](https://kovan.etherscan.io/address/0x082D26eeAa348A7C02291cd1948c66a79fc80aAD)

## V1 Arbitrum Chain

For connecting to our older, "v1" Arbitrum chain (also running on Kovan), use the following:

- Aggregator RPC Endpoint: https://node.offchainlabs.com:8547
- Chain ID: 215728282823301
- Rollup Contract Address: [0x175c0b09453cbb44fb7f56ba5638c43427aa6a85](https://kovan.etherscan.io/address/0x175c0b09453cbb44fb7f56ba5638c43427aa6a85)
- Hosted Aggregator Address: [0x1d143638962dc93c52c4053a3dcce71cccb30bd3](https://kovan.etherscan.io/address/0x1d143638962dc93c52c4053a3dcce71cccb30bd3)
- Hosted Validator Address: [0x705c33d9364dd570bc2998a1a1e788221c14d2da](https://kovan.etherscan.io/address/0x705c33d9364dd570bc2998a1a1e788221c14d2da)

0 comments on commit a708324

Please sign in to comment.