Skip to content

Commit

Permalink
Merge pull request #698 from OpenZeppelin/690-new-network-support-op-…
Browse files Browse the repository at this point in the history
…sepolia

New network support Optimism Sepolia
  • Loading branch information
xaler5 authored Jan 17, 2024
2 parents b9047b0 + 60a8de9 commit 63aad48
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env-sample
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ REACT_APP_MUMBAI_EXPLORER_API_KEY=
OPTIMISM_GOERLI_HOST=
REACT_APP_OPTIMISM_GOERLI_EXPLORER_API_KEY=

OPTIMISM_SEPOLIA_HOST=
REACT_APP_OPTIMISM_SEPOLIA_EXPLORER_API_KEY=

ARBITRUM_GOERLI_HOST=
REACT_APP_ARBITRUM_GOERLI_EXPLORER_API_KEY=

Expand Down
20 changes: 20 additions & 0 deletions client/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ export const NETWORKS = {
url: `${process.env.OPTIMISM_GOERLI_HOST}`,
privKey: `${process.env.PRIV_KEY}`,
},
OPTIMISM_SEPOLIA: {
name: "sepolia-optimism",
id: "11155420",
url: `${process.env.OPTIMISM_SEPOLIA_HOST}`,
privKey: `${process.env.PRIV_KEY}`,
},
ARBITRUM_GOERLI: {
name: "goerli-arbitrum",
id: "421613",
Expand Down Expand Up @@ -117,6 +123,18 @@ export const NETWORKS_INGAME = {
apiHost: `https://api-goerli-optimistic.etherscan.io`,
},
},
OPTIMISM_SEPOLIA: {
name: "sepolia-optimism",
id: "11155420",
currencyName: "Optimism-ETH",
currencySymbol: "ETH",
rpcUrl: `https://sepolia.optimism.io`,
blockExplorer: "https://sepolia-optimism.etherscan.io",
explorer: {
apiKey: `${process.env.REACT_APP_OPTIMISM_GOERLI_EXPLORER_API_KEY}`,
apiHost: `https://api-sepolia-optimistic.etherscan.io`,
},
},
ARBITRUM_GOERLI: {
name: "goerli-arbitrum",
id: "421613",
Expand Down Expand Up @@ -189,6 +207,7 @@ export const ADDRESSES = {
[NETWORKS.GOERLI.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.SEPOLIA.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.OPTIMISM_GOERLI.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.OPTIMISM_SEPOLIA.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.ARBITRUM_GOERLI.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.ARBITRUM_SEPOLIA.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.HOLESKY.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
Expand Down Expand Up @@ -234,6 +253,7 @@ export const SHOW_VERSION = true;
// export const ACTIVE_NETWORK = NETWORKS.GOERLI
// export const ACTIVE_NETWORK = NETWORKS.MUMBAI
// export const ACTIVE_NETWORK = NETWORKS.OPTIMISM_GOERLI
// export const ACTIVE_NETWORK = NETWORKS.OPTIMISM_SEPOLIA
// export const ACTIVE_NETWORK = NETWORKS.ARBITRUM_GOERLI
// export const ACTIVE_NETWORK = NETWORKS.ARBITRUM_SEPOLIA
// export const ACTIVE_NETWORK = NETWORKS.HOLESKY
Expand Down
36 changes: 36 additions & 0 deletions client/src/gamedata/deploy.sepolia-optimism.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"0": "0xba6F0B5784B6580790584A553f6e4a3483a915c3",
"1": "0x716747Fbc1FcE4c36F2B369F87aDB5D4580e807f",
"2": "0x4209f564b6fDB63B34866CEa4B43BF333BcAAAD9",
"3": "0xae8ed765dbd45Ce48ebBd2496CeD6B1Ee29466fc",
"4": "0x865e167C3db2c3E1C046cC67b05E6EcF9C897C2D",
"5": "0x00200f9AeBA83B4bddddd7620569C15AC09663cc",
"6": "0xe04f955e4Cf9858F8f8d60C09aBf16DF23D4672b",
"7": "0xDA1f7C628abd817a91c0124245504365E8D93Ee3",
"8": "0x5fFa62f6A01248A40C9B2857BdF6028b75d71693",
"9": "0x473c8dF98DFd41304Bff2c5945B9f73e30f5c013",
"10": "0x465f1E2c7FFDe5452CFe92aC3aa1230B76B2B1CB",
"11": "0xd8630853340e23CeD1bb87a760e2BaF095fb4009",
"12": "0x39DFCa77F257423621f9fb8a248cb6E3EaDb5016",
"13": "0x08D4Eb7480fd97C6799De7D29808D5E93674CE99",
"14": "0x6A77737803b581B79D5323016f59DFbfE681b336",
"15": "0x65Ff7C338fE34CC5C0F0cc97D3FA1B2681e39976",
"16": "0x35b28CB86846382Aa6217283F12C13657FF0110B",
"17": "0x32a089747130fE7391A7FBaad83D14F699fc7dbD",
"18": "0x6F9cf195B9B4c1259E8FCe5b4e30F7142f779DeA",
"19": "0x734CfE306C0C4130051A194BA110BC808B13C439",
"20": "0x029Ded0Eda5cB2c63D2f33eB2A151Af1F3951068",
"21": "0xDc0c34CFE029b190Fc4A6eD5219BF809F04E57A3",
"22": "0xB52C8785168b12b9333122578dcA793B7f4F2762",
"23": "0x18B246421d7484950749CF50155F95BEd11AB785",
"24": "0x25141B6345378e7558634Cf7c2d9B8670baFA417",
"25": "0x78BA1a1DD8833A4a20ecAc0Db8f3aCD8A9211beD",
"26": "0xA7E5E34b3A3D5647F999A1c531ec9ba2531c97bF",
"27": "0xFc07a775E4CcF393a18229264e87d292c7a447C0",
"28": "0x2aa5685ffd9e8e4897caf92855C1959d82DA5E36",
"29": "0xDCa6065818935c33D6AF9AbDB7d5f679BB43508A",
"ethernaut": "0xD991431D8b033ddCb84dAD257f4821E9d5b38C33",
"implementation": "0x50E1785EeE794253c5E33B8fE123e77124736e38",
"proxyAdmin": "0x492e18ddBd7591638453d2f1B1847F86711105C8",
"proxyStats": "0x8E500A9082D26dfA7CCdecf0391E0b93B9470266"
}

0 comments on commit 63aad48

Please sign in to comment.