Skip to content

Commit 23d8a42

Browse files
authored
➕ Add Botanix Test and Main Network Deployments (pcaversaccio#220)
### 🕓 Changelog Add Botanix test and main network deployments: - [Botanix Testnet](https://testnet.botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed), - [Botanix](https://botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed). #### Verification Compare the `keccak256` hash of the runtime bytecode with the canonical `keccak256` hash of the runtime bytecode [here](https://github.com/pcaversaccio/createx#security-considerations) (`0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f`): ```console ~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc.ankr.com/botanix_testnet) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc.botanixlabs.com) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ``` --------- Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent dec9a23 commit 23d8a42

8 files changed

Lines changed: 188 additions & 136 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,6 +2256,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
22562256
- [HyperEVM](https://purrsec.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22572257
- [Kaia](https://kaiascope.com/account/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22582258
- [ApeChain](https://apescan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2259+
- [Botanix](https://botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22592260

22602261
#### Ethereum Test Networks
22612262

@@ -2341,6 +2342,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
23412342
- [Abstract Sepolia Testnet](https://sepolia.abscan.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23422343
- [HyperEVM Testnet](https://testnet.purrsec.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23432344
- [ApeChain Sepolia Testnet (Curtis)](https://curtis.apescan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2345+
- [Botanix Testnet](https://testnet.botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23442346

23452347
## Integration With External Tooling
23462348

deployments/deployments.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,13 @@
589589
"https://apescan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
590590
]
591591
},
592+
{
593+
"name": "Botanix",
594+
"chainId": 3637,
595+
"urls": [
596+
"https://botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
597+
]
598+
},
592599
{
593600
"name": "Sepolia",
594601
"chainId": 11155111,
@@ -1168,5 +1175,12 @@
11681175
"https://curtis.apescan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
11691176
"https://repo.sourcify.dev/33111/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
11701177
]
1178+
},
1179+
{
1180+
"name": "Botanix Testnet",
1181+
"chainId": 3636,
1182+
"urls": [
1183+
"https://testnet.botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
1184+
]
11711185
}
11721186
]

hardhat.config.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,19 @@ const config: HardhatUserConfig = {
10561056
),
10571057
accounts,
10581058
},
1059+
botanixTestnet: {
1060+
chainId: 3636,
1061+
url: vars.get(
1062+
"BOTANIX_TESTNET_URL",
1063+
"https://rpc.ankr.com/botanix_testnet",
1064+
),
1065+
accounts,
1066+
},
1067+
botanixMain: {
1068+
chainId: 3637,
1069+
url: vars.get("BOTANIX_MAINNET_URL", "https://rpc.botanixlabs.com"),
1070+
accounts,
1071+
},
10591072
},
10601073
contractSizer: {
10611074
alphaSort: true,
@@ -1321,6 +1334,9 @@ const config: HardhatUserConfig = {
13211334
// For ApeChain testnet & mainnet
13221335
apeChain: vars.get("APECHAIN_API_KEY", ""),
13231336
apeChainTestnet: vars.get("APECHAIN_API_KEY", ""),
1337+
// For Botanix testnet & mainnet
1338+
botanix: vars.get("BOTANIX_API_KEY", ""),
1339+
botanixTestnet: vars.get("BOTANIX_API_KEY", ""),
13241340
},
13251341
customChains: [
13261342
{
@@ -2453,6 +2469,24 @@ const config: HardhatUserConfig = {
24532469
browserURL: "https://curtis.apescan.io",
24542470
},
24552471
},
2472+
{
2473+
network: "botanix",
2474+
chainId: 3637,
2475+
urls: {
2476+
apiURL:
2477+
"https://api.routescan.io/v2/network/mainnet/evm/3637/etherscan/api",
2478+
browserURL: "https://botanixscan.io",
2479+
},
2480+
},
2481+
{
2482+
network: "botanixTestnet",
2483+
chainId: 3636,
2484+
urls: {
2485+
apiURL:
2486+
"https://api.routescan.io/v2/network/testnet/evm/3636/etherscan/api",
2487+
browserURL: "https://testnet.botanixscan.io",
2488+
},
2489+
},
24562490
],
24572491
},
24582492
};

interface/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
"sharp": "^0.34.2"
4141
},
4242
"devDependencies": {
43-
"@eslint/js": "^9.28.0",
43+
"@eslint/js": "^9.29.0",
4444
"@next/eslint-plugin-next": "^15.3.3",
4545
"@tailwindcss/postcss": "^4.1.10",
4646
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
4747
"@types/node": "^24.0.1",
4848
"@types/react": "^19.1.8",
4949
"@types/react-dom": "^19.1.6",
5050
"autoprefixer": "^10.4.21",
51-
"eslint": "^9.28.0",
51+
"eslint": "^9.29.0",
5252
"eslint-config-next": "^15.3.3",
5353
"eslint-plugin-react": "^7.37.5",
5454
"eslint-plugin-react-hooks": "^5.2.0",

interface/src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Home = () => {
1616
id: 1,
1717
href: "/deployments",
1818
title: "Deployments",
19-
subtitle: "Deployed on 150+ chains",
19+
subtitle: "Deployed on 160+ chains",
2020
},
2121
{ id: 2, href: "/abi", title: "ABI", subtitle: "In any format" },
2222
{

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@
211211
"deploy:kaiamain": "npx hardhat run --no-compile --network kaiaMain scripts/deploy.ts",
212212
"deploy:apechaintestnet": "npx hardhat run --no-compile --network apeChainTestnet scripts/deploy.ts",
213213
"deploy:apechainmain": "npx hardhat run --no-compile --network apeChainMain scripts/deploy.ts",
214+
"deploy:botanixtestnet": "npx hardhat run --no-compile --network botanixTestnet scripts/deploy.ts",
215+
"deploy:botanixmain": "npx hardhat run --no-compile --network botanixMain scripts/deploy.ts",
214216
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
215217
"prettier:check:interface": "pnpm -C interface prettier:check",
216218
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
@@ -226,15 +228,15 @@
226228
"start:interface": "pnpm -C interface start"
227229
},
228230
"devDependencies": {
229-
"@eslint/js": "^9.28.0",
231+
"@eslint/js": "^9.29.0",
230232
"@nomicfoundation/hardhat-ethers": "^3.0.9",
231233
"@nomicfoundation/hardhat-verify": "^2.0.14",
232234
"@typechain/ethers-v6": "^0.5.1",
233235
"@typechain/hardhat": "^9.1.0",
234-
"eslint": "^9.28.0",
236+
"eslint": "^9.29.0",
235237
"eslint-config-prettier": "^10.1.5",
236-
"ethers": "^6.14.3",
237-
"hardhat": "^2.24.2",
238+
"ethers": "^6.14.4",
239+
"hardhat": "^2.24.3",
238240
"hardhat-abi-exporter": "^2.11.0",
239241
"hardhat-contract-sizer": "^2.10.0",
240242
"hardhat-gas-reporter": "^2.3.0",

0 commit comments

Comments
 (0)