Skip to content

Commit ab43b84

Browse files
committed
➕ Add Lens Test and Main Network Deployments
Signed-off-by: pcaversaccio <pascal.caversaccio@hotmail.ch>
1 parent 3cf772e commit ab43b84

File tree

10 files changed

+132
-84
lines changed

10 files changed

+132
-84
lines changed

README.md

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

22752276
#### Ethereum Test Networks
22762277

@@ -2370,6 +2371,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
23702371
- [DMD Diamond Testnet](https://testnet-explorer.bit.diamonds/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23712372
- [Citrea Testnet](https://explorer.testnet.citrea.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23722373
- [Tempo Testnet (Moderato)](https://explore.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2374+
- [Lens Sepolia Testnet](https://explorer.testnet.lens.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23732375

23742376
## Integration With External Tooling
23752377

deployments/deployments.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,13 @@
702702
"https://explorer.mainnet.citrea.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
703703
]
704704
},
705+
{
706+
"name": "Lens",
707+
"chainId": 232,
708+
"urls": [
709+
"https://explorer.lens.xyz/addresses/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
710+
]
711+
},
705712
{
706713
"name": "Sepolia",
707714
"chainId": 11155111,
@@ -1380,5 +1387,12 @@
13801387
"https://explore.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
13811388
"https://repo.sourcify.dev/42431/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
13821389
]
1390+
},
1391+
{
1392+
"name": "Lens Sepolia Testnet",
1393+
"chainId": 37111,
1394+
"urls": [
1395+
"https://explorer.testnet.lens.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
1396+
]
13831397
}
13841398
]

foundry.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"lib/forge-std": {
33
"branch": {
44
"name": "master",
5-
"rev": "722afcc99a78706335b5a2ece83a4f0de4bc083d"
5+
"rev": "96abd708f045daa0d40827b27fb06fb3021b2d8c"
66
}
77
},
88
"lib/openzeppelin-contracts": {
99
"branch": {
1010
"name": "master",
11-
"rev": "c1edd06131cf989cf3e0c72c089cbead127384e6"
11+
"rev": "ca6f5fab7cf2bf71d6301dc2153abe993cef42f9"
1212
}
1313
},
1414
"lib/solady": {

hardhat.config.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,16 @@ const config: HardhatUserConfig = {
12481248
url: vars.get("TEMPO_TESTNET_URL", "https://rpc.moderato.tempo.xyz"),
12491249
accounts,
12501250
},
1251+
lensTestnet: {
1252+
chainId: 37111,
1253+
url: vars.get("LENS_TESTNET_URL", "https://rpc.testnet.lens.dev"),
1254+
accounts,
1255+
},
1256+
lensMain: {
1257+
chainId: 232,
1258+
url: vars.get("LENS_MAINNET_URL", "https://rpc.lens.xyz"),
1259+
accounts,
1260+
},
12511261
},
12521262
contractSizer: {
12531263
alphaSort: true,
@@ -1563,6 +1573,9 @@ const config: HardhatUserConfig = {
15631573
citreaTestnet: vars.get("CITREA_API_KEY", ""),
15641574
// For Tempo testnet
15651575
tempoTestnet: vars.get("TEMPO_API_KEY", ""),
1576+
// For Lens testnet & mainnet
1577+
lens: vars.get("LENS_API_KEY", ""),
1578+
lensTestnet: vars.get("LENS_API_KEY", ""),
15661579
},
15671580
customChains: [
15681581
{
@@ -2963,6 +2976,23 @@ const config: HardhatUserConfig = {
29632976
browserURL: "https://explore.tempo.xyz",
29642977
},
29652978
},
2979+
{
2980+
network: "lens",
2981+
chainId: 232,
2982+
urls: {
2983+
apiURL: "https://verify.lens.xyz/contract_verification",
2984+
browserURL: "https://explorer.lens.xyz",
2985+
},
2986+
},
2987+
{
2988+
network: "lensTestnet",
2989+
chainId: 37111,
2990+
urls: {
2991+
apiURL:
2992+
"https://block-explorer-verify.testnet.lens.xyz/contract_verification",
2993+
browserURL: "https://explorer.testnet.lens.xyz",
2994+
},
2995+
},
29662996
],
29672997
},
29682998
};

interface/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
"@next/eslint-plugin-next": "^16.1.6",
4545
"@tailwindcss/postcss": "^4.2.1",
4646
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
47-
"@types/node": "^25.3.0",
47+
"@types/node": "^25.3.2",
4848
"@types/react": "^19.2.14",
4949
"@types/react-dom": "^19.2.3",
50-
"autoprefixer": "^10.4.24",
50+
"autoprefixer": "^10.4.27",
5151
"eslint": "^9.39.3",
5252
"eslint-config-next": "^16.1.6",
5353
"eslint-plugin-react": "^7.37.5",

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

lib/openzeppelin-contracts

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"author": "pcaversaccio (https://pcaversaccio.com), Matt Solomon (https://mattsolomon.dev)",
2323
"license": "AGPL-3.0-only",
24-
"packageManager": "pnpm@10.30.2",
24+
"packageManager": "pnpm@10.30.3",
2525
"scripts": {
2626
"clean": "hardhat clean && forge clean",
2727
"test": "forge test --out forge-artifacts",
@@ -244,6 +244,8 @@
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:lenstestnet": "npx hardhat run --no-compile --network lensTestnet scripts/deploy.ts",
248+
"deploy:lensmain": "npx hardhat run --no-compile --network lensMain scripts/deploy.ts",
247249
"prettier:check": "prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
248250
"prettier:check:interface": "pnpm -C interface prettier:check",
249251
"prettier:fix": "prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",

0 commit comments

Comments
 (0)