Skip to content

Commit

Permalink
➕ Add Blast Test Network Deployment (#83)
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio authored Feb 21, 2024
1 parent 0cd07b3 commit 9b88f4e
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 7 additions & 0 deletions deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
]
16 changes: 16 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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: [
{
Expand Down Expand Up @@ -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",
},
},
],
},
};
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}\"",
Expand Down
6 changes: 3 additions & 3 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 9b88f4e

Please sign in to comment.