Skip to content

Commit

Permalink
♻️ Add Endurance Network Configurations
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Mar 18, 2024
1 parent 9527a37 commit 08d825f
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 9 deletions.
2 changes: 1 addition & 1 deletion contracts/lib/forge-std
55 changes: 55 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,33 @@ const config: HardhatUserConfig = {
accounts,
ledgerAccounts,
},
enduranceTestnet: {
chainId: 6480,
url: vars.get(
"ENDURANCE_TESTNET_URL",
"https://myrpctestnet.fusionist.io",
),
accounts,
ledgerAccounts,
},
openduranceTestnet: {
chainId: 6480001001,
url: vars.get(
"OPENDURANCE_TESTNET_URL",
"https://rpc-l2-testnet.fusionist.io",
),
accounts,
ledgerAccounts,
},
enduranceMain: {
chainId: 648,
url: vars.get(
"ENDURANCE_MAINNET_URL",
"https://rpc-endurance.fusionist.io",
),
accounts,
ledgerAccounts,
},
blastTestnet: {
chainId: 168587773,
url: vars.get("BLAST_TESTNET_URL", "https://sepolia.blast.io"),
Expand Down Expand Up @@ -784,6 +811,10 @@ const config: HardhatUserConfig = {
mantaTestnet: vars.get("MANTA_API_KEY", ""),
// For Arthera testnet
artheraTestnet: vars.get("ARTHERA_API_KEY", ""),
// 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", ""),
blastTestnet: vars.get("BLAST_API_KEY", ""),
Expand Down Expand Up @@ -1103,6 +1134,30 @@ 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,
urls: {
apiURL: "https://explorer-l2-testnet.fusionist.io/api",
browserURL: "https://explorer-l2-testnet.fusionist.io",
},
},
{
network: "blast",
chainId: 81457,
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@
"deploy:shardeumtestnet": "npx hardhat run --network shardeumTestnet scripts/deploy.ts",
"deploy:artheratestnet": "npx hardhat run --network artheraTestnet scripts/deploy.ts",
"deploy:frametestnet": "npx hardhat run --network frameTestnet scripts/deploy.ts",
"deploy:endurancetestnet": "npx hardhat run --network enduranceTestnet scripts/deploy.ts",
"deploy:opendurancetestnet": "npx hardhat run --network openduranceTestnet scripts/deploy.ts",
"deploy:endurancemain": "npx hardhat run --network enduranceMain scripts/deploy.ts",
"deploy:blasttestnet": "npx hardhat run --network blastTestnet scripts/deploy.ts",
"deploy:blastmain": "npx hardhat run --network blastMain scripts/deploy.ts",
"deploy:kromatestnet": "npx hardhat run --network kromaTestnet scripts/deploy.ts",
Expand Down
128 changes: 120 additions & 8 deletions pnpm-lock.yaml

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

0 comments on commit 08d825f

Please sign in to comment.