Skip to content

Commit

Permalink
Merge pull request #292 from ethereum-push-notification-service/291-s…
Browse files Browse the repository at this point in the history
…upport--arbitrum-optimism-sepolia

Add support for arb and OP sepolia
  • Loading branch information
zaryab2000 authored Mar 15, 2024
2 parents 56e4a7d + b00262d commit 975245d
Show file tree
Hide file tree
Showing 10 changed files with 215 additions and 67 deletions.
39 changes: 31 additions & 8 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ module.exports = {
},

// ETH Network
goerli: {
url: `https://goerli.infura.io/v3/${process.env.INFURA_PROJECT_ID}`, // <---- YOUR INFURA ID! (or it won't work)
accounts: [process.env.PRIVATE]

},
sepolia: {
url: `https://sepolia.infura.io/v3/${process.env.INFURA_PROJECT_ID}`,
accounts: [process.env.PRIVATE]
Expand Down Expand Up @@ -140,7 +135,11 @@ module.exports = {
url: "https://arbitrum-sepolia.blockpi.network/v1/rpc/public",
accounts: [process.env.PRIVATE]
},

optimismSepolia :{
url :"https://sepolia.optimism.io/" ,
accounts:[process.env.PRIVATE]
},

// Linea Chain
linea: {
url: `https://rpc.goerli.linea.build/`,
Expand Down Expand Up @@ -172,17 +171,23 @@ module.exports = {
chainId: 80085,
accounts: [process.env.PRIVATE],
},

//Arbitrum sepolia
arbitrumSepolia :{
url : "https://sepolia-rollup.arbitrum.io/rpc",
accounts:[process.env.PRIVATE]
}
},
etherscan: {
apiKey: {
linea: process.env.ETHERSCAN_API,
mainnet: process.env.ETHERSCAN_API,
polygon: process.env.POLYGONSCAN_API,
sepolia:process.env.ETHERSCAN_API,
goerli:process.env.ETHERSCAN_API,
fuse: process.env.FUSE_API,
fuseSpark: process.env.FUSE_API,
arbitrumSepolia: process.env.ARBISCAN_API,
arbitrumSepolia:process.env.ARBISCAN_API,
optimismSepolia :process.env.OPTIMISM_API,
berachainTestnet: "apiNotRequired"
},
customChains: [
Expand Down Expand Up @@ -221,6 +226,24 @@ module.exports = {
browserURL: "https://artio.beratrail.io/",
},
},
{
network: "arbitrumSepolia",
chainId: 421614,
urls: {
apiURL:
"https://api-sepolia.arbiscan.io/api",
browserURL: "https://sepolia.arbiscan.io//",
},
},
{
network: "optimismSepolia",
chainId: 11155420,
urls: {
apiURL:
"https://api-sepolia-optimistic.etherscan.io/api",
browserURL: "https://sepolia-optimistic.etherscan.io/",
},
}
],
},

Expand Down
195 changes: 160 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions scripts/versioncontrol/1_5_deployEPNSCoreV1_5.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ const deploy = {
mainnet: {
version: 1,
},
goerli: {
version: 1,
},
polygon: {
version: 1,
},
Expand Down
3 changes: 0 additions & 3 deletions scripts/versioncontrol/1_deployEPNSCoreV1.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ const deploy = {
mainnet: {
version: 1,
},
goerli: {
version: 1,
},
polygon: {
version: 1,
},
Expand Down
3 changes: 0 additions & 3 deletions scripts/versioncontrol/2_5_deployEPNSCommV1_5.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ const deploy = {
mainnet: {
version: 1,
},
goerli: {
version: 1,
},
polygon: {
version: 1,
},
Expand Down
3 changes: 0 additions & 3 deletions scripts/versioncontrol/2_deployEPNSCommV1.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ const deploy = {
mainnet: {
version: 1
},
goerli: {
version: 1
},
polygon: {
version: 1
},
Expand Down
Loading

0 comments on commit 975245d

Please sign in to comment.