Skip to content

Commit fd26bdf

Browse files
committed
feat: added Arbiscan API key for verification, redeployed to testnet
1 parent d113751 commit fd26bdf

File tree

11 files changed

+122
-178
lines changed

11 files changed

+122
-178
lines changed

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
22
"solidity.compileUsingRemoteVersion": "v0.8.10+commit.fc410830",
3-
"mochaExplorer.files": "contracts/test/**/*.{j,t}s"
3+
"mochaExplorer.files": "contracts/test/**/*.{j,t}s",
4+
"cSpell.words": [
5+
"arbitrum"
6+
]
47
}

contracts/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1
22
INFURA_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
33
ETHERSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
4+
ARBISCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
45
REPORT_GAS=true

contracts/README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ Smart contracts for Kleros v2
44

55
## Deployed Addresses
66

7-
### Contract 1
7+
### Rinkeby
88

9-
- Mainnet: ...
10-
- Testnet: ...
9+
- [FastBridgeReceiver](https://rinkeby.etherscan.io/address/0x300CbF0829762FeDc90287D08aeDf261EE6ED8eB)
10+
- [ForeignGateway](https://rinkeby.etherscan.io/address/0x8F1a2B8F9b04320375856580Fc6B1669Cb12a9EE)
1111

12-
### Contract 2
12+
### Arbitrum Rinkeby
1313

14-
...
14+
- [FastBridgeSender](https://testnet.arbiscan.io/address/0x395014fddc3b12F9a78ED8E57DA162Fd77E12bE3)
15+
- [HomeGateway](https://testnet.arbiscan.io/address/0x300CbF0829762FeDc90287D08aeDf261EE6ED8eB)
16+
- [SafeBridgeArbitrum](https://testnet.arbiscan.io/address/0x014A442480DbAD767b7615E55E271799889FA1a7)
1517

1618
## Contributing
1719

@@ -59,19 +61,20 @@ cp .env.example .env
5961

6062
The following env vars are required:
6163

62-
- `PRIVATE_KEY`: the private key of the deployer account used for xDAI, Sokol and Kovan.
64+
- `PRIVATE_KEY`: the private key of the deployer account used for the testnets.
6365
- `MAINNET_PRIVATE_KEY`: the private key of the deployer account used for Mainnet.
6466
- `INFURA_API_KEY`: the API key for infura.
6567

6668
The ones below are optional:
6769

68-
- `ETHERSCAN_API_KEY`: used only if you wish to verify the source of the newly deployed contracts on Etherscan.
70+
- `ETHERSCAN_API_KEY`: to verify the source of the newly deployed contracts on **Etherscan**.
71+
- `ARBISCAN_API_KEY`: to verify the source of the newly deployed contracts on **Arbitrum**.
6972

7073
#### 1. Update the Constructor Parameters (optional)
7174

7275
If some of the constructor parameters (such as the Meta Evidence) needs to change, you need to update the files in the `deploy/` directory.
7376

74-
#### 2. Deploy the Proxies
77+
#### 2. Deploy to Public Testnets
7578

7679
```bash
7780
yarn deploy:staging # to deploy to L1/L2 testnet
@@ -85,8 +88,6 @@ If you miss that, you can always go to the `deployments/<network>` directory and
8588

8689
This must be done for each network separately.
8790

88-
For `Mainnet` you can use the `etherscan-verify` command from `hardhat`:
89-
9091
```bash
9192
yarn hardhat --network <arbitrumRinkeby|arbitrum|rinkeby|mainnet> etherscan-verify
9293
```

contracts/deployments/arbitrumRinkeby/FastBridgeSender.json

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.

contracts/deployments/arbitrumRinkeby/HomeGateway.json

Lines changed: 18 additions & 18 deletions
Large diffs are not rendered by default.

contracts/deployments/arbitrumRinkeby/SafeArbitrumBridge.json

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)