From 9b88f4e7233802ac9df52fd98f696c39f9e8fbed Mon Sep 17 00:00:00 2001 From: sudo rm -rf --no-preserve-root / Date: Wed, 21 Feb 2024 13:38:32 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20Blast=20Test=20Network=20Depl?= =?UTF-8?q?oyment=20(#83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- README.md | 1 + deployments/deployments.json | 7 +++++++ hardhat.config.ts | 16 ++++++++++++++++ package.json | 1 + pnpm-lock.yaml | 6 +++--- 5 files changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 12577c52..eb7c6ad9 100644 --- a/README.md +++ b/README.md @@ -2237,6 +2237,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer - [Manta Pacific Testnet](https://pacific-explorer.testnet.manta.network/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [Frame Testnet](https://explorer.testnet.frame.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [OP-Endurance Testnet](https://explorer-l2-testnet.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) +- [Blast Testnet](https://testnet.blastscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) ## Integration With External Tooling diff --git a/deployments/deployments.json b/deployments/deployments.json index 2f824f1f..b840625c 100644 --- a/deployments/deployments.json +++ b/deployments/deployments.json @@ -434,5 +434,12 @@ "urls": [ "https://explorer-l2-testnet.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] + }, + { + "name": "Blast Testnet", + "chainId": 168587773, + "urls": [ + "https://testnet.blastscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" + ] } ] diff --git a/hardhat.config.ts b/hardhat.config.ts index d1eebf3a..bfa9cf5a 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -440,6 +440,11 @@ const config: HardhatUserConfig = { ), accounts, }, + blastTestnet: { + chainId: 168587773, + url: vars.get("BLAST_TESTNET_URL", "https://sepolia.blast.io"), + accounts, + }, }, contractSizer: { alphaSort: true, @@ -561,6 +566,8 @@ const config: HardhatUserConfig = { artheraTestnet: vars.get("ARTHERA_API_KEY", ""), // For OP-Endurance testnet openduranceTestnet: vars.get("OPENDURANCE_API_KEY", ""), + // For Blast testnet + blastTestnet: vars.get("BLAST_API_KEY", ""), }, customChains: [ { @@ -877,6 +884,15 @@ const config: HardhatUserConfig = { browserURL: "https://explorer-l2-testnet.fusionist.io", }, }, + { + network: "blastTestnet", + chainId: 168587773, + urls: { + apiURL: + "https://api.routescan.io/v2/network/testnet/evm/168587773/etherscan", + browserURL: "https://testnet.blastscan.io", + }, + }, ], }, }; diff --git a/package.json b/package.json index 33b2e801..dc5fa779 100644 --- a/package.json +++ b/package.json @@ -103,6 +103,7 @@ "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:opendurancetestnet": "npx hardhat run --no-compile --network openduranceTestnet scripts/deploy.ts", + "deploy:blasttestnet": "npx hardhat run --no-compile --network blastTestnet scripts/deploy.ts", "prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"", "prettier:check:interface": "cd interface && pnpm prettier:check", "prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 824fa68c..279a1dc3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4895,7 +4895,7 @@ packages: } engines: { node: ^10.12.0 || >=12.0.0 } dependencies: - flatted: 3.2.9 + flatted: 3.3.1 keyv: 4.5.4 rimraf: 3.0.2 dev: true @@ -4908,10 +4908,10 @@ packages: hasBin: true dev: true - /flatted@3.2.9: + /flatted@3.3.1: resolution: { - integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==, + integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==, } dev: true