diff --git a/README.md b/README.md index 628c2ac..3adc187 100644 --- a/README.md +++ b/README.md @@ -2239,6 +2239,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer - [Etherlink](https://explorer.etherlink.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [Soneium](https://soneium.blockscout.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [Swellchain](https://explorer.swellnetwork.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) +- [Hemi](https://explorer.hemi.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) #### Ethereum Test Networks @@ -2306,6 +2307,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer - [Etherlink Testnet (Ghostnet)](https://testnet.explorer.etherlink.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [Soneium Sepolia Testnet (Minato)](https://soneium-minato.blockscout.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [Swellchain Sepolia Testnet](https://swell-testnet-explorer.alt.technology/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) +- [Hemi Sepolia Testnet](https://testnet.explorer.hemi.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) ## Integration With External Tooling diff --git a/deployments/deployments.json b/deployments/deployments.json index dd48478..ed5a98b 100644 --- a/deployments/deployments.json +++ b/deployments/deployments.json @@ -466,6 +466,13 @@ "https://explorer.swellnetwork.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] }, + { + "name": "Hemi", + "chainId": 43111, + "urls": [ + "https://explorer.hemi.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" + ] + }, { "name": "Sepolia", "chainId": 11155111, @@ -916,5 +923,12 @@ "urls": [ "https://swell-testnet-explorer.alt.technology/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] + }, + { + "name": "Hemi Sepolia Testnet", + "chainId": 743111, + "urls": [ + "https://testnet.explorer.hemi.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" + ] } ] diff --git a/hardhat.config.ts b/hardhat.config.ts index 7201df0..6295ab9 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -851,6 +851,16 @@ const config: HardhatUserConfig = { ), accounts, }, + hemiTestnet: { + chainId: 743111, + url: vars.get("HEMI_TESTNET_URL", "https://testnet.rpc.hemi.network/rpc"), + accounts, + }, + hemiMain: { + chainId: 43111, + url: vars.get("HEMI_MAINNET_URL", "https://rpc.hemi.network/rpc"), + accounts, + }, }, contractSizer: { alphaSort: true, @@ -1076,6 +1086,9 @@ const config: HardhatUserConfig = { // For Swellchain testnet & mainnet swell: vars.get("SWELL_API_KEY", ""), swellTestnet: vars.get("SWELL_API_KEY", ""), + // For Hemi testnet & mainnet + hemi: vars.get("HEMI_API_KEY", ""), + hemiTestnet: vars.get("HEMI_API_KEY", ""), }, customChains: [ { @@ -1972,6 +1985,22 @@ const config: HardhatUserConfig = { browserURL: "https://swell-testnet-explorer.alt.technology", }, }, + { + network: "hemi", + chainId: 43111, + urls: { + apiURL: "https://explorer.hemi.xyz/api", + browserURL: "https://explorer.hemi.xyz", + }, + }, + { + network: "hemiTestnet", + chainId: 743111, + urls: { + apiURL: "https://testnet.explorer.hemi.xyz/api", + browserURL: "https://testnet.explorer.hemi.xyz", + }, + }, ], }, }; diff --git a/lib/forge-std b/lib/forge-std index 999be66..3b20d60 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit 999be66ec94c78090087f674bbf52ce1cca12b75 +Subproject commit 3b20d60d14b343ee4f908cb8079495c07f5e8981 diff --git a/lib/solady b/lib/solady index 5909ddd..6c8effe 160000 --- a/lib/solady +++ b/lib/solady @@ -1 +1 @@ -Subproject commit 5909ddd2be58e71accca80930e30bda58ab04c89 +Subproject commit 6c8effec2547773a198f21114e1ef0983060aad6 diff --git a/package.json b/package.json index 9e003ba..b0362f5 100644 --- a/package.json +++ b/package.json @@ -175,6 +175,8 @@ "deploy:soneiummain": "npx hardhat run --no-compile --network soneiumMain scripts/deploy.ts", "deploy:swelltestnet": "npx hardhat run --no-compile --network swellTestnet scripts/deploy.ts", "deploy:swellmain": "npx hardhat run --no-compile --network swellMain scripts/deploy.ts", + "deploy:hemitestnet": "npx hardhat run --no-compile --network hemiTestnet scripts/deploy.ts", + "deploy:hemimain": "npx hardhat run --no-compile --network hemiMain scripts/deploy.ts", "prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"", "prettier:check:interface": "pnpm -C interface prettier:check", "prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",