Skip to content

Commit 2f836e8

Browse files
committed
➕ Add Tempo Main Network Deployment
Signed-off-by: pcaversaccio <pascal.caversaccio@hotmail.ch>
1 parent 1391e8d commit 2f836e8

File tree

5 files changed

+71
-47
lines changed

5 files changed

+71
-47
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2270,6 +2270,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
22702270
- [XRPL EVM](https://explorer.xrplevm.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22712271
- [DMD Diamond](https://explorer.bit.diamonds/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22722272
- [Citrea](https://explorer.mainnet.citrea.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2273+
- [Tempo](https://explore.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22732274
- [Lens](https://explorer.lens.xyz/addresses/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22742275

22752276
#### Ethereum Test Networks
@@ -2369,7 +2370,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
23692370
- [Arc Testnet](https://testnet.arcscan.app/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23702371
- [DMD Diamond Testnet](https://testnet-explorer.bit.diamonds/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23712372
- [Citrea Testnet](https://explorer.testnet.citrea.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2372-
- [Tempo Testnet (Moderato)](https://explore.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2373+
- [Tempo Testnet (Moderato)](https://explore.testnet.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23732374
- [Lens Sepolia Testnet](https://explorer.testnet.lens.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23742375

23752376
## Integration With External Tooling

deployments/deployments.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,14 @@
702702
"https://explorer.mainnet.citrea.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
703703
]
704704
},
705+
{
706+
"name": "Tempo",
707+
"chainId": 4217,
708+
"urls": [
709+
"https://explore.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
710+
"https://repo.sourcify.dev/4217/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
711+
]
712+
},
705713
{
706714
"name": "Lens",
707715
"chainId": 232,
@@ -1384,7 +1392,7 @@
13841392
"name": "Tempo Testnet (Moderato)",
13851393
"chainId": 42431,
13861394
"urls": [
1387-
"https://explore.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
1395+
"https://explore.testnet.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
13881396
"https://repo.sourcify.dev/42431/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
13891397
]
13901398
},

hardhat.config.ts

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,11 @@ const config: HardhatUserConfig = {
12481248
url: vars.get("TEMPO_TESTNET_URL", "https://rpc.moderato.tempo.xyz"),
12491249
accounts,
12501250
},
1251+
tempoMain: {
1252+
chainId: 4217,
1253+
url: vars.get("TEMPO_MAINNET_URL", "https://rpc.tempo.xyz"),
1254+
accounts,
1255+
},
12511256
lensTestnet: {
12521257
chainId: 37111,
12531258
url: vars.get("LENS_TESTNET_URL", "https://rpc.testnet.lens.xyz"),
@@ -1571,7 +1576,8 @@ const config: HardhatUserConfig = {
15711576
// For Citrea testnet & mainnet
15721577
citrea: vars.get("CITREA_API_KEY", ""),
15731578
citreaTestnet: vars.get("CITREA_API_KEY", ""),
1574-
// For Tempo testnet
1579+
// For Tempo testnet & mainnet
1580+
tempo: vars.get("TEMPO_API_KEY", ""),
15751581
tempoTestnet: vars.get("TEMPO_API_KEY", ""),
15761582
// For Lens testnet & mainnet
15771583
lens: vars.get("LENS_API_KEY", ""),
@@ -2968,12 +2974,20 @@ const config: HardhatUserConfig = {
29682974
browserURL: "https://explorer.testnet.citrea.xyz",
29692975
},
29702976
},
2977+
{
2978+
network: "tempo",
2979+
chainId: 4217,
2980+
urls: {
2981+
apiURL: "https://contracts.tempo.xyz/v2/verify/4217",
2982+
browserURL: "https://explore.tempo.xyz",
2983+
},
2984+
},
29712985
{
29722986
network: "tempoTestnet",
29732987
chainId: 42431,
29742988
urls: {
29752989
apiURL: "https://contracts.tempo.xyz/v2/verify/42431",
2976-
browserURL: "https://explore.tempo.xyz",
2990+
browserURL: "https://explore.testnet.tempo.xyz",
29772991
},
29782992
},
29792993
{

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@
244244
"deploy:citreatestnet": "npx hardhat run --no-compile --network citreaTestnet scripts/deploy.ts",
245245
"deploy:citreamain": "npx hardhat run --no-compile --network citreaMain scripts/deploy.ts",
246246
"deploy:tempotestnet": "npx hardhat run --no-compile --network tempoTestnet scripts/deploy.ts",
247+
"deploy:tempomain": "npx hardhat run --no-compile --network tempoMain scripts/deploy.ts",
247248
"deploy:lenstestnet": "npx hardhat run --no-compile --network lensTestnet scripts/deploy.ts",
248249
"deploy:lensmain": "npx hardhat run --no-compile --network lensMain scripts/deploy.ts",
249250
"prettier:check": "prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
@@ -276,7 +277,7 @@
276277
"hardhat-gas-reporter": "^2.3.0",
277278
"prettier": "^3.8.1",
278279
"prettier-plugin-solidity": "^2.3.1",
279-
"solhint": "^6.0.3",
280+
"solhint": "^6.1.0",
280281
"ts-node": "^10.9.2",
281282
"typechain": "^8.3.2",
282283
"typescript": "^5.9.3",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)