From 8aa80ad98c158506c4f6baeb36e44c65cfcff859 Mon Sep 17 00:00:00 2001 From: shelchin2023 <149349405+shelchin2023@users.noreply.github.com> Date: Mon, 18 Mar 2024 18:01:58 +0800 Subject: [PATCH 1/4] Update deployments.json Add Endurance mainnet Signed-off-by: shelchin2023 <149349405+shelchin2023@users.noreply.github.com> --- deployments/deployments.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deployments/deployments.json b/deployments/deployments.json index d48bf2ef..9111b072 100644 --- a/deployments/deployments.json +++ b/deployments/deployments.json @@ -427,5 +427,12 @@ "urls": [ "https://explorer.testnet.frame.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] + }, + { + "name": "Endurance Mainnet", + "chainId": 684, + "urls": [ + "https://explorer-endurance.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" + ] } ] From 23b7e542748785d0e0ab50482a4650b5705f8126 Mon Sep 17 00:00:00 2001 From: Shelchin Date: Mon, 18 Mar 2024 18:08:59 +0800 Subject: [PATCH 2/4] Fix deployments.json --- deployments/deployments.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deployments/deployments.json b/deployments/deployments.json index 706606b0..4478c1b8 100644 --- a/deployments/deployments.json +++ b/deployments/deployments.json @@ -453,8 +453,8 @@ "name": "Endurance Mainnet", "chainId": 684, "urls": [ - "https://explorer-endurance.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" - + "https://explorer-endurance.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" + ] }, { "name": "DOS Chain Testnet", @@ -470,4 +470,4 @@ "https://holesky.fraxscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] } -] +] \ No newline at end of file From a2326db6b62a75e5c8ddb58dd39d648d83d8c8b8 Mon Sep 17 00:00:00 2001 From: Shelchin Date: Mon, 18 Mar 2024 18:15:05 +0800 Subject: [PATCH 3/4] Prettier Fix --- deployments/deployments.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/deployments.json b/deployments/deployments.json index 4478c1b8..9f4e5d43 100644 --- a/deployments/deployments.json +++ b/deployments/deployments.json @@ -470,4 +470,4 @@ "https://holesky.fraxscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] } -] \ No newline at end of file +] From e22f5a71c636f194bf8c218073672be01a376e3a Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Mon, 18 Mar 2024 11:59:29 +0100 Subject: [PATCH 4/4] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=20Add=20Testnet=20&?= =?UTF-8?q?=20README=20Entries?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- README.md | 2 ++ deployments/deployments.json | 22 +++++++++++++++------- hardhat.config.ts | 36 +++++++++++++++++++++++++++++++++++- package.json | 2 ++ 4 files changed, 54 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9abc1c1a..9482d0e6 100644 --- a/README.md +++ b/README.md @@ -2204,6 +2204,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer - [Manta Pacific](https://pacific-explorer.manta.network/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [Blast](https://blastscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [DOS Chain](https://doscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) +- [Endurance](https://explorer-endurance.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) #### Ethereum Test Networks @@ -2241,6 +2242,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer - [Blast Testnet](https://sepolia.blastscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [DOS Chain Testnet](https://test.doscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [Fraxtal Testnet](https://holesky.fraxscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) +- [Endurance Testnet](https://myexplorertestnet.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) ## Integration With External Tooling diff --git a/deployments/deployments.json b/deployments/deployments.json index 9f4e5d43..a7774ff8 100644 --- a/deployments/deployments.json +++ b/deployments/deployments.json @@ -231,6 +231,14 @@ "https://doscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] }, + { + "name": "Endurance", + "chainId": 648, + "urls": [ + "https://explorer-endurance.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed", + "https://repo.sourcify.dev/contracts/partial_match/648/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed/" + ] + }, { "name": "Sepolia", "chainId": 11155111, @@ -449,13 +457,6 @@ "https://sepolia.blastscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] }, - { - "name": "Endurance Mainnet", - "chainId": 684, - "urls": [ - "https://explorer-endurance.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" - ] - }, { "name": "DOS Chain Testnet", "chainId": 3939, @@ -469,5 +470,12 @@ "urls": [ "https://holesky.fraxscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] + }, + { + "name": "Endurance Testnet", + "chainId": 6480, + "urls": [ + "https://myexplorertestnet.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" + ] } ] diff --git a/hardhat.config.ts b/hardhat.config.ts index cc12a012..37853a3f 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -432,6 +432,14 @@ const config: HardhatUserConfig = { url: vars.get("FRAME_TESTNET_URL", "https://rpc.testnet.frame.xyz/http"), accounts, }, + enduranceTestnet: { + chainId: 6480, + url: vars.get( + "ENDURANCE_TESTNET_URL", + "https://myrpctestnet.fusionist.io", + ), + accounts, + }, openduranceTestnet: { chainId: 6480001001, url: vars.get( @@ -440,6 +448,14 @@ const config: HardhatUserConfig = { ), accounts, }, + enduranceMain: { + chainId: 648, + url: vars.get( + "ENDURANCE_MAINNET_URL", + "https://rpc-endurance.fusionist.io", + ), + accounts, + }, blastTestnet: { chainId: 168587773, url: vars.get("BLAST_TESTNET_URL", "https://sepolia.blast.io"), @@ -594,7 +610,9 @@ const config: HardhatUserConfig = { mantaTestnet: vars.get("MANTA_API_KEY", ""), // For Arthera testnet artheraTestnet: vars.get("ARTHERA_API_KEY", ""), - // For OP-Endurance testnet + // For Endurance testnets & mainnet + endurance: vars.get("ENDURANCE_API_KEY", ""), + enduranceTestnet: vars.get("ENDURANCE_API_KEY", ""), openduranceTestnet: vars.get("OPENDURANCE_API_KEY", ""), // For Blast testnet & mainnet blast: vars.get("BLAST_API_KEY", ""), @@ -915,6 +933,22 @@ const config: HardhatUserConfig = { browserURL: "https://explorer-test.arthera.net", }, }, + { + network: "endurance", + chainId: 648, + urls: { + apiURL: "https://explorer-endurance.fusionist.io/api", + browserURL: "https://explorer-endurance.fusionist.io", + }, + }, + { + network: "enduranceTestnet", + chainId: 6480, + urls: { + apiURL: "https://myexplorertestnet.fusionist.io/api", + browserURL: "https://myexplorertestnet.fusionist.io", + }, + }, { network: "openduranceTestnet", chainId: 6480001001, diff --git a/package.json b/package.json index 0ba84a20..de5fea15 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,9 @@ "deploy:shardeumtestnet": "npx hardhat run --no-compile --network shardeumTestnet scripts/deploy.ts", "deploy:artheratestnet": "npx hardhat run --no-compile --network artheraTestnet scripts/deploy.ts", "deploy:frametestnet": "npx hardhat run --no-compile --network frameTestnet scripts/deploy.ts", + "deploy:endurancetestnet": "npx hardhat run --no-compile --network enduranceTestnet scripts/deploy.ts", "deploy:opendurancetestnet": "npx hardhat run --no-compile --network openduranceTestnet scripts/deploy.ts", + "deploy:endurancemain": "npx hardhat run --no-compile --network enduranceMain scripts/deploy.ts", "deploy:blasttestnet": "npx hardhat run --no-compile --network blastTestnet scripts/deploy.ts", "deploy:blastmain": "npx hardhat run --no-compile --network blastMain scripts/deploy.ts", "deploy:kromatestnet": "npx hardhat run --no-compile --network kromaTestnet scripts/deploy.ts",