Skip to content

Commit 0fe84ad

Browse files
authored
➕ Add Jovay Test and Main Network Deployments (pcaversaccio#252)
### 🕓 Changelog Add Jovay test and main network deployments (resolves pcaversaccio#250 and pcaversaccio#251): - [Jovay Sepolia Testnet](https://sepolia-explorer.jovay.io/l2/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed), - [Jovay](https://explorer.jovay.io/l2/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://api.zan.top/public/jovay-testnet) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc.jovay.io) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ``` --------- Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent a4b0c68 commit 0fe84ad

8 files changed

Lines changed: 95 additions & 56 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,6 +2261,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
22612261
- [Katana](https://explorer.katanarpc.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22622262
- [Plasma](https://plasmascan.to/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22632263
- [Sophon](https://sophscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2264+
- [Jovay](https://explorer.jovay.io/l2/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22642265

22652266
#### Ethereum Test Networks
22662267

@@ -2350,6 +2351,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
23502351
- [TAC Testnet (Saint Petersburg)](https://spb.explorer.tac.build/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23512352
- [Plasma Testnet](https://testnet.plasmascan.to/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23522353
- [Sophon Sepolia Testnet](https://testnet.sophscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2354+
- [Jovay Sepolia Testnet](https://sepolia-explorer.jovay.io/l2/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23532355

23542356
## Integration With External Tooling
23552357

deployments/deployments.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,13 @@
631631
"https://sophscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
632632
]
633633
},
634+
{
635+
"name": "Jovay",
636+
"chainId": 5734951,
637+
"urls": [
638+
"https://explorer.jovay.io/l2/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
639+
]
640+
},
634641
{
635642
"name": "Sepolia",
636643
"chainId": 11155111,
@@ -1237,5 +1244,12 @@
12371244
"urls": [
12381245
"https://testnet.sophscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
12391246
]
1247+
},
1248+
{
1249+
"name": "Jovay Sepolia Testnet",
1250+
"chainId": 2019775,
1251+
"urls": [
1252+
"https://sepolia-explorer.jovay.io/l2/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
1253+
]
12401254
}
12411255
]

foundry.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lib/openzeppelin-contracts": {
99
"branch": {
1010
"name": "master",
11-
"rev": "51ab591cd7a47446293a0d5e285792f63cbeb1ea"
11+
"rev": "c2eee49b4eec34ab10fc05faee155af974b446c7"
1212
}
1313
},
1414
"lib/solady": {

hardhat.config.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,19 @@ const config: HardhatUserConfig = {
11221122
url: vars.get("SOPHON_MAINNET_URL", "https://rpc.sophon.xyz"),
11231123
accounts,
11241124
},
1125+
jovayTestnet: {
1126+
chainId: 2019775,
1127+
url: vars.get(
1128+
"JOVAY_TESTNET_URL",
1129+
"https://api.zan.top/public/jovay-testnet",
1130+
),
1131+
accounts,
1132+
},
1133+
jovayMain: {
1134+
chainId: 5734951,
1135+
url: vars.get("JOVAY_MAINNET_URL", "https://rpc.jovay.io"),
1136+
accounts,
1137+
},
11251138
},
11261139
contractSizer: {
11271140
alphaSort: true,

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 160+ chains",
19+
subtitle: "Deployed on 170+ chains",
2020
},
2121
{ id: 2, href: "/abi", title: "ABI", subtitle: "In any format" },
2222
{

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@
223223
"deploy:plasmamain": "npx hardhat run --no-compile --network plasmaMain scripts/deploy.ts",
224224
"deploy:sophontestnet": "npx hardhat run --no-compile --network sophonTestnet scripts/deploy.ts",
225225
"deploy:sophonmain": "npx hardhat run --no-compile --network sophonMain scripts/deploy.ts",
226+
"deploy:jovaytestnet": "npx hardhat run --no-compile --network jovayTestnet scripts/deploy.ts",
227+
"deploy:jovaymain": "npx hardhat run --no-compile --network jovayMain scripts/deploy.ts",
226228
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
227229
"prettier:check:interface": "pnpm -C interface prettier:check",
228230
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
@@ -239,14 +241,14 @@
239241
},
240242
"devDependencies": {
241243
"@eslint/js": "^9.38.0",
242-
"@nomicfoundation/hardhat-ethers": "^3.1.0",
243-
"@nomicfoundation/hardhat-verify": "^2.1.1",
244+
"@nomicfoundation/hardhat-ethers": "^3.1.1",
245+
"@nomicfoundation/hardhat-verify": "^2.1.2",
244246
"@typechain/ethers-v6": "^0.5.1",
245247
"@typechain/hardhat": "^9.1.0",
246248
"eslint": "^9.38.0",
247249
"eslint-config-prettier": "^10.1.8",
248250
"ethers": "^6.15.0",
249-
"hardhat": "^2.26.3",
251+
"hardhat": "^2.26.4",
250252
"hardhat-abi-exporter": "^2.11.0",
251253
"hardhat-contract-sizer": "^2.10.1",
252254
"hardhat-gas-reporter": "^2.3.0",

0 commit comments

Comments
 (0)