Skip to content

Commit

Permalink
Merge pull request #304 from ethereum-push-notification-service/303-s…
Browse files Browse the repository at this point in the history
…upport-okx-testnet

303 support okx testnet
  • Loading branch information
zaryab2000 authored Mar 18, 2024
2 parents 975245d + 71a6fdc commit 05d82e6
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 1 deletion.
30 changes: 29 additions & 1 deletion hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ module.exports = {

},

polygonAmoy: {
url: `https://rpc-amoy.polygon.technology/`, // <---- YOUR INFURA ID! (or it won't work)
accounts:[process.env.PRIVATE],
},

// BSC Chain
bscTestnet: {
url: "https://data-seed-prebsc-1-s1.binance.org:8545/",
Expand Down Expand Up @@ -176,6 +181,11 @@ module.exports = {
arbitrumSepolia :{
url : "https://sepolia-rollup.arbitrum.io/rpc",
accounts:[process.env.PRIVATE]
},
//OKX testnet X1
X1: {
url: "https://testrpc.x1.tech",
accounts:[process.env.PRIVATE]
}
},
etherscan: {
Expand All @@ -188,7 +198,9 @@ module.exports = {
fuseSpark: process.env.FUSE_API,
arbitrumSepolia:process.env.ARBISCAN_API,
optimismSepolia :process.env.OPTIMISM_API,
berachainTestnet: "apiNotRequired"
berachainTestnet: "apiNotRequired",
polygonAmoy:"OKLINK",
X1: "Not required"
},
customChains: [
{
Expand Down Expand Up @@ -243,6 +255,22 @@ module.exports = {
"https://api-sepolia-optimistic.etherscan.io/api",
browserURL: "https://sepolia-optimistic.etherscan.io/",
},
},
{
network: "polygonAmoy",
chainId: 80002,
urls: {
apiURL: "https://www.oklink.com/api/explorer/v1/contract/verify/async/api/polygon_amoy",
browserURL: "https://www.oklink.com/amoy"
}
},
{
network: "X1",
chainId: 195,
urls: {
apiURL: "https://www.oklink.com/api/explorer/v1/contract/verify/async/api/x1_test",
browserURL: "https://www.oklink.com/x1-test"
}
}
],
},
Expand Down
6 changes: 6 additions & 0 deletions scripts/versioncontrol/2_deployEPNSCommV1.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ const deploy = {
},
berachainTestnet: {
version: 1
},
polygonAmoy:{
version: 1
},
X1:{
version: 1
}
},
args: {
Expand Down
6 changes: 6 additions & 0 deletions scripts/versioncontrol/4_deployEPNSCommV2.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ const deploy = {
},
optimismSepolia:{
version: 1,
},
polygonAmoy:{
version: 1
},
X1:{
version: 1
}
},
args: {
Expand Down
6 changes: 6 additions & 0 deletions scripts/versioncontrol/6_deployEPNSCommV3.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ const deploy = {
},
optimismSepolia:{
version: 1,
},
polygonAmoy:{
version: 1
},
X1:{
version: 1
}
},
args: {
Expand Down

0 comments on commit 05d82e6

Please sign in to comment.