Skip to content

Commit

Permalink
➕ Add Endurance Main and Test Network Deployments (#97)
Browse files Browse the repository at this point in the history
Signed-off-by: shelchin2023 <149349405+shelchin2023@users.noreply.github.com>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Co-authored-by: Shelchin <hi@shelchin.com>
Co-authored-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
3 people authored Mar 18, 2024
1 parent 92ba873 commit 8ad83be
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
15 changes: 15 additions & 0 deletions deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -462,5 +470,12 @@
"urls": [
"https://holesky.fraxscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Endurance Testnet",
"chainId": 6480,
"urls": [
"https://myexplorertestnet.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
}
]
36 changes: 35 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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"),
Expand Down Expand Up @@ -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", ""),
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8ad83be

Please sign in to comment.