Skip to content

Commit 0b2f066

Browse files
authored
➕ Add TAC Test and Main Network Deployments (pcaversaccio#221)
### 🕓 Changelog Add TAC test and main network deployments: - [TAC Testnet (Saint Petersburg)](https://spb.explorer.tac.build/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed), - [TAC](https://explorer.tac.build/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://spb.rpc.tac.build) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc.tac.build) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ``` --------- Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent 07f42ad commit 0b2f066

5 files changed

Lines changed: 100 additions & 19 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
- [Kaia](https://kaiascope.com/account/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22572257
- [ApeChain](https://apescan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22582258
- [Botanix](https://botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2259+
- [TAC](https://explorer.tac.build/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22592260

22602261
#### Ethereum Test Networks
22612262

@@ -2342,6 +2343,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
23422343
- [HyperEVM Testnet](https://testnet.purrsec.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23432344
- [ApeChain Sepolia Testnet (Curtis)](https://curtis.apescan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23442345
- [Botanix Testnet](https://testnet.botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2346+
- [TAC Testnet (Saint Petersburg)](https://spb.explorer.tac.build/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23452347

23462348
## Integration With External Tooling
23472349

deployments/deployments.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,13 @@
596596
"https://botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
597597
]
598598
},
599+
{
600+
"name": "TAC",
601+
"chainId": 239,
602+
"urls": [
603+
"https://explorer.tac.build/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
604+
]
605+
},
599606
{
600607
"name": "Sepolia",
601608
"chainId": 11155111,
@@ -1182,5 +1189,12 @@
11821189
"urls": [
11831190
"https://testnet.botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
11841191
]
1192+
},
1193+
{
1194+
"name": "TAC Testnet (Saint Petersburg)",
1195+
"chainId": 2391,
1196+
"urls": [
1197+
"https://spb.explorer.tac.build/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
1198+
]
11851199
}
11861200
]

hardhat.config.ts

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,29 @@ const config: HardhatUserConfig = {
10691069
url: vars.get("BOTANIX_MAINNET_URL", "https://rpc.botanixlabs.com"),
10701070
accounts,
10711071
},
1072+
tacTestnet: {
1073+
chainId: 2391,
1074+
url: vars.get("TAC_TESTNET_URL", "https://spb.rpc.tac.build"),
1075+
accounts,
1076+
},
1077+
tacMain: {
1078+
chainId: 239,
1079+
url: vars.get("TAC_MAINNET_URL", "https://rpc.tac.build"),
1080+
accounts,
1081+
},
1082+
neonTestnet: {
1083+
chainId: 245022926,
1084+
url: vars.get("NEON_TESTNET_URL", "https://devnet.neonevm.org"),
1085+
accounts,
1086+
},
1087+
neonMain: {
1088+
chainId: 245022934,
1089+
url: vars.get(
1090+
"NEON_MAINNET_URL",
1091+
"https://neon-proxy-mainnet.solana.p2p.org",
1092+
),
1093+
accounts,
1094+
},
10721095
},
10731096
contractSizer: {
10741097
alphaSort: true,
@@ -1337,6 +1360,12 @@ const config: HardhatUserConfig = {
13371360
// For Botanix testnet & mainnet
13381361
botanix: vars.get("BOTANIX_API_KEY", ""),
13391362
botanixTestnet: vars.get("BOTANIX_API_KEY", ""),
1363+
// For TAC testnet & mainnet
1364+
tac: vars.get("TAC_API_KEY", ""),
1365+
tacTestnet: vars.get("TAC_API_KEY", ""),
1366+
// For Neon EVM testnet & mainnet
1367+
neon: vars.get("NEON_API_KEY", ""),
1368+
neonTestnet: vars.get("NEON_API_KEY", ""),
13401369
},
13411370
customChains: [
13421371
{
@@ -2487,6 +2516,38 @@ const config: HardhatUserConfig = {
24872516
browserURL: "https://testnet.botanixscan.io",
24882517
},
24892518
},
2519+
{
2520+
network: "tac",
2521+
chainId: 239,
2522+
urls: {
2523+
apiURL: "https://explorer.tac.build/api",
2524+
browserURL: "https://explorer.tac.build",
2525+
},
2526+
},
2527+
{
2528+
network: "tacTestnet",
2529+
chainId: 2391,
2530+
urls: {
2531+
apiURL: "https://spb.explorer.tac.build/api",
2532+
browserURL: "https://spb.explorer.tac.build",
2533+
},
2534+
},
2535+
{
2536+
network: "neon",
2537+
chainId: 245022934,
2538+
urls: {
2539+
apiURL: "https://api.neonscan.org/hardhat/verify",
2540+
browserURL: "https://neonscan.org",
2541+
},
2542+
},
2543+
{
2544+
network: "neonTestnet",
2545+
chainId: 245022926,
2546+
urls: {
2547+
apiURL: "https://devnet-api.neonscan.org/hardhat/verify",
2548+
browserURL: "https://devnet.neonscan.org",
2549+
},
2550+
},
24902551
],
24912552
},
24922553
};

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@
213213
"deploy:apechainmain": "npx hardhat run --no-compile --network apeChainMain scripts/deploy.ts",
214214
"deploy:botanixtestnet": "npx hardhat run --no-compile --network botanixTestnet scripts/deploy.ts",
215215
"deploy:botanixmain": "npx hardhat run --no-compile --network botanixMain scripts/deploy.ts",
216+
"deploy:tactestnet": "npx hardhat run --no-compile --network tacTestnet scripts/deploy.ts",
217+
"deploy:tacmain": "npx hardhat run --no-compile --network tacMain scripts/deploy.ts",
218+
"deploy:neontestnet": "npx hardhat run --no-compile --network neonTestnet scripts/deploy.ts",
219+
"deploy:neonmain": "npx hardhat run --no-compile --network neonMain scripts/deploy.ts",
216220
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
217221
"prettier:check:interface": "pnpm -C interface prettier:check",
218222
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",

pnpm-lock.yaml

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)