Skip to content

Commit

Permalink
add arbitrum goerli
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Sep 20, 2022
1 parent 5814ac2 commit 1f75b7b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ const config: HardhatUserConfig = {
timeout: 60000,
accounts,
},
'arbitrum-goerli': {
url:
process.env.JSONRPC_HTTP_URL || 'https://goerli-rollup.arbitrum.io/rpc',
accounts,
},
rinkarby: {
url: process.env.JSONRPC_HTTP_URL || 'https://rinkeby.arbitrum.io/rpc',
accounts,
Expand Down
6 changes: 6 additions & 0 deletions subgraph/config/arbitrum-goerli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"network": "arbitrum-goerli",
"address": "0x0a12CE1B7a95f2067AB930f0b2316FF21Cd5A430",
"factoryStartBlock": 325577,
"recipientRegistryStartBlock": 325577
}
12 changes: 12 additions & 0 deletions vue-app/src/plugins/Web3/constants/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export enum ChainId {
HARDHAT = 31337,
ARBITRUM_ONE = 42161,
ARBITRUM_RINKEBY = 421611,
ARBITRUM_GOERLI = 421613,
OPTIMISM = 10,
XDAI = 100,
POLYGON = 137,
Expand Down Expand Up @@ -75,6 +76,17 @@ export const CHAIN_INFO: ChainInfo = {
rpcUrl: 'https://rinkeby.arbitrum.io/rpc',
bridge: 'https://bridge.arbitrum.io',
},
[ChainId.ARBITRUM_GOERLI]: {
label: 'Arbitrum Goerli',
currency: 'AETH',
logo: 'arbitrum.svg',
isLayer2: true,
explorer: 'https://goerli-rollup-explorer.arbitrum.io/',
explorerLogo: 'arbitrum.svg',
explorerLabel: 'BlockScout',
rpcUrl: 'https://rinkeby.arbitrum.io/rpc',
bridge: 'https://bridge.arbitrum.io',
},
[ChainId.OPTIMISM]: {
label: 'Optimism',
currency: 'OETH',
Expand Down

0 comments on commit 1f75b7b

Please sign in to comment.