From 859770f420c065aa2084330123e7997b16890a65 Mon Sep 17 00:00:00 2001 From: rajkharvar Date: Tue, 16 Apr 2024 19:07:01 +0530 Subject: [PATCH 1/2] Add support for Optimism Sepolia --- README.md | 17 +++++++++-------- frontend/src/utils/constants.js | 6 ++++++ hardhat.config.js | 4 ++++ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6fe7d3a..ec4050e 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,12 @@ npx hardhat scripts/deploy.js --network [NETWORK] ## Supported Networks and addresses -| Network | Disperse contract address | -| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Mumbai | [0xaf6f4A737188571d128477DEe81d54Bc63De6d80](https://mumbai.polygonscan.com/address/0xaf6f4A737188571d128477DEe81d54Bc63De6d80) | -| Goerli | [0xD286f3D834E6030F178C395C9ba33d32B427cAD3](https://goerli.etherscan.io/address/0xD286f3D834E6030F178C395C9ba33d32B427cAD3) | -| Razor Schain | [0x3bAB943FE31B0F90c1E4c2733113E336eBAC4Bc1](https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com/address/0x3bAB943FE31B0F90c1E4c2733113E336eBAC4Bc1/transactions) | -| Polygon | [0x0461950C8664A38b6b1D6599420CA9c50a714B56](https://polygonscan.com/address/0x0461950C8664A38b6b1D6599420CA9c50a714B56) | -| Skale Staging | [0x553a0a6FCe2943F6901f783f381292C567038ddF](https://staging-aware-chief-gianfar.explorer.staging-v3.skalenodes.com/address/0x553a0a6FCe2943F6901f783f381292C567038ddF) | -| Europa Testnet | [0x596df15B63d0f9CB9690BbdAecE64db59637Bf22](https://juicy-low-small-testnet.explorer.testnet.skalenodes.com/address/0x596df15B63d0f9CB9690BbdAecE64db59637Bf22) | +| Network | Disperse contract address | +| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Mumbai | [0xaf6f4A737188571d128477DEe81d54Bc63De6d80](https://mumbai.polygonscan.com/address/0xaf6f4A737188571d128477DEe81d54Bc63De6d80) | +| Goerli | [0xD286f3D834E6030F178C395C9ba33d32B427cAD3](https://goerli.etherscan.io/address/0xD286f3D834E6030F178C395C9ba33d32B427cAD3) | +| Razor Schain | [0x3bAB943FE31B0F90c1E4c2733113E336eBAC4Bc1](https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com/address/0x3bAB943FE31B0F90c1E4c2733113E336eBAC4Bc1/transactions) | +| Polygon | [0x0461950C8664A38b6b1D6599420CA9c50a714B56](https://polygonscan.com/address/0x0461950C8664A38b6b1D6599420CA9c50a714B56) | +| Skale Staging | [0x553a0a6FCe2943F6901f783f381292C567038ddF](https://staging-aware-chief-gianfar.explorer.staging-v3.skalenodes.com/address/0x553a0a6FCe2943F6901f783f381292C567038ddF) | +| Europa Testnet | [0x596df15B63d0f9CB9690BbdAecE64db59637Bf22](https://juicy-low-small-testnet.explorer.testnet.skalenodes.com/address/0x596df15B63d0f9CB9690BbdAecE64db59637Bf22) | +| Optimism Sepolia | [0x596df15B63d0f9CB9690BbdAecE64db59637Bf22](https://sepolia-optimism.etherscan.io/address/0xc181c71991fffe9952b023835de79d7ecc67ae9b) | diff --git a/frontend/src/utils/constants.js b/frontend/src/utils/constants.js index bb348f4..857d2c1 100644 --- a/frontend/src/utils/constants.js +++ b/frontend/src/utils/constants.js @@ -38,4 +38,10 @@ export const supportedChains = [ "https://juicy-low-small-testnet.explorer.testnet.skalenodes.com/", name: "europa testnet", }, + { + chainId: 11155420, + disperseAddress: "0xC181C71991FFfE9952B023835DE79D7EcC67AE9B", + blockExplorer: "https://sepolia-optimism.etherscan.io/", + name: "optimism sepolia", + }, ]; diff --git a/hardhat.config.js b/hardhat.config.js index fc443b1..86fa9c8 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -48,6 +48,10 @@ module.exports = { url: "https://testnet.skalenodes.com/v1/juicy-low-small-testnet", accounts: [privateKey], }, + opSepolia: { + url: "https://sepolia.optimism.io", + accounts: [privateKey], + }, }, etherscan: { apiKey: ETHERSCAN_KEY, From 09955ddfbb904abf8c942c2dac4c2981e35ec69d Mon Sep 17 00:00:00 2001 From: rajkharvar Date: Tue, 16 Apr 2024 19:18:09 +0530 Subject: [PATCH 2/2] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec4050e..4c4e624 100644 --- a/README.md +++ b/README.md @@ -55,4 +55,4 @@ npx hardhat scripts/deploy.js --network [NETWORK] | Polygon | [0x0461950C8664A38b6b1D6599420CA9c50a714B56](https://polygonscan.com/address/0x0461950C8664A38b6b1D6599420CA9c50a714B56) | | Skale Staging | [0x553a0a6FCe2943F6901f783f381292C567038ddF](https://staging-aware-chief-gianfar.explorer.staging-v3.skalenodes.com/address/0x553a0a6FCe2943F6901f783f381292C567038ddF) | | Europa Testnet | [0x596df15B63d0f9CB9690BbdAecE64db59637Bf22](https://juicy-low-small-testnet.explorer.testnet.skalenodes.com/address/0x596df15B63d0f9CB9690BbdAecE64db59637Bf22) | -| Optimism Sepolia | [0x596df15B63d0f9CB9690BbdAecE64db59637Bf22](https://sepolia-optimism.etherscan.io/address/0xc181c71991fffe9952b023835de79d7ecc67ae9b) | +| Optimism Sepolia | [0xC181C71991FFfE9952B023835DE79D7EcC67AE9B](https://sepolia-optimism.etherscan.io/address/0xC181C71991FFfE9952B023835DE79D7EcC67AE9B) |