Skip to content

Commit a0abca4

Browse files
authored
➕ Add Ink/Morph Test and Main Network Deployments (#169)
### 🕓 Changelog Add Ink/Morph test and main network deployments: - [Ink Sepolia Testnet](https://explorer-sepolia.inkonchain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed), - [Ink](https://explorer.inkonchain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed), - [Morph Holešky Testnet](https://explorer-holesky.morphl2.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed), - [Morph](https://explorer.morphl2.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-gel-sepolia.inkonchain.com) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc-gel.inkonchain.com) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc-quicknode-holesky.morphl2.io) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc-quicknode.morphl2.io) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ``` --------- Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent 98490dd commit a0abca4

File tree

7 files changed

+118
-18
lines changed

7 files changed

+118
-18
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,6 +2233,8 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
22332233
- [Superseed](https://explorer.superseed.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22342234
- [Sonic](https://sonicscan.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22352235
- [EVM on Flow](https://evm.flowscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2236+
- [Ink](https://explorer.inkonchain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2237+
- [Morph](https://explorer.morphl2.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22362238

22372239
#### Ethereum Test Networks
22382240

@@ -2294,6 +2296,8 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
22942296
- [Story Testnet (Odyssey)](https://odyssey.storyscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22952297
- [Sonic Testnet (Blaze)](https://testnet.sonicscan.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22962298
- [EVM on Flow Testnet](https://evm-testnet.flowscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2299+
- [Ink Sepolia Testnet](https://explorer-sepolia.inkonchain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2300+
- [Morph Holešky Testnet](https://explorer-holesky.morphl2.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22972301

22982302
## Integration With External Tooling
22992303

deployments/deployments.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,20 @@
424424
"https://evm.flowscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
425425
]
426426
},
427+
{
428+
"name": "Ink",
429+
"chainId": 57073,
430+
"urls": [
431+
"https://explorer.inkonchain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
432+
]
433+
},
434+
{
435+
"name": "Morph",
436+
"chainId": 2818,
437+
"urls": [
438+
"https://explorer.morphl2.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
439+
]
440+
},
427441
{
428442
"name": "Sepolia",
429443
"chainId": 11155111,
@@ -832,5 +846,19 @@
832846
"urls": [
833847
"https://evm-testnet.flowscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
834848
]
849+
},
850+
{
851+
"name": "Ink Sepolia Testnet",
852+
"chainId": 763373,
853+
"urls": [
854+
"https://explorer-sepolia.inkonchain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
855+
]
856+
},
857+
{
858+
"name": "Morph Holešky Testnet",
859+
"chainId": 2810,
860+
"urls": [
861+
"https://explorer-holesky.morphl2.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
862+
]
835863
}
836864
]

hardhat.config.ts

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,32 @@ const config: HardhatUserConfig = {
773773
url: vars.get("FLOW_MAINNET_URL", "https://mainnet.evm.nodes.onflow.org"),
774774
accounts,
775775
},
776+
inkTestnet: {
777+
chainId: 763373,
778+
url: vars.get(
779+
"INK_TESTNET_URL",
780+
"https://rpc-gel-sepolia.inkonchain.com",
781+
),
782+
accounts,
783+
},
784+
inkMain: {
785+
chainId: 57073,
786+
url: vars.get("INK_MAINNET_URL", "https://rpc-gel.inkonchain.com"),
787+
accounts,
788+
},
789+
morphTestnet: {
790+
chainId: 2810,
791+
url: vars.get(
792+
"MORPH_TESTNET_URL",
793+
"https://rpc-quicknode-holesky.morphl2.io",
794+
),
795+
accounts,
796+
},
797+
morphMain: {
798+
chainId: 2818,
799+
url: vars.get("MORPH_MAINNET_URL", "https://rpc-quicknode.morphl2.io"),
800+
accounts,
801+
},
776802
},
777803
contractSizer: {
778804
alphaSort: true,
@@ -980,6 +1006,12 @@ const config: HardhatUserConfig = {
9801006
// For EVM on Flow testnet & mainnet
9811007
flow: vars.get("FLOW_API_KEY", ""),
9821008
flowTestnet: vars.get("FLOW_API_KEY", ""),
1009+
// For Ink testnet & mainnet
1010+
ink: vars.get("INK_API_KEY", ""),
1011+
inkTestnet: vars.get("INK_API_KEY", ""),
1012+
// For Morph testnet & mainnet
1013+
morph: vars.get("MORPH_API_KEY", ""),
1014+
morphTestnet: vars.get("MORPH_API_KEY", ""),
9831015
},
9841016
customChains: [
9851017
{
@@ -1780,6 +1812,38 @@ const config: HardhatUserConfig = {
17801812
browserURL: "https://evm-testnet.flowscan.io",
17811813
},
17821814
},
1815+
{
1816+
network: "ink",
1817+
chainId: 57073,
1818+
urls: {
1819+
apiURL: "https://explorer.inkonchain.com/api",
1820+
browserURL: "https://explorer.inkonchain.com",
1821+
},
1822+
},
1823+
{
1824+
network: "inkTestnet",
1825+
chainId: 763373,
1826+
urls: {
1827+
apiURL: "https://explorer-sepolia.inkonchain.com/api",
1828+
browserURL: "https://explorer-sepolia.inkonchain.com",
1829+
},
1830+
},
1831+
{
1832+
network: "morph",
1833+
chainId: 2818,
1834+
urls: {
1835+
apiURL: "https://explorer.morphl2.io/api",
1836+
browserURL: "https://explorer.morphl2.io",
1837+
},
1838+
},
1839+
{
1840+
network: "morphTestnet",
1841+
chainId: 2810,
1842+
urls: {
1843+
apiURL: "https://explorer-holesky.morphl2.io/api",
1844+
browserURL: "https://explorer-holesky.morphl2.io",
1845+
},
1846+
},
17831847
],
17841848
},
17851849
};

interface/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"@next/eslint-plugin-next": "^15.1.4",
4545
"@trivago/prettier-plugin-sort-imports": "^5.2.1",
4646
"@types/node": "^22.10.5",
47-
"@types/react": "^19.0.4",
48-
"@types/react-dom": "^19.0.2",
47+
"@types/react": "^19.0.5",
48+
"@types/react-dom": "^19.0.3",
4949
"autoprefixer": "^10.4.20",
5050
"eslint": "^9.18.0",
5151
"eslint-config-next": "^15.1.4",

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@
163163
"deploy:sonicmain": "npx hardhat run --no-compile --network sonicMain scripts/deploy.ts",
164164
"deploy:flowtestnet": "npx hardhat run --no-compile --network flowTestnet scripts/deploy.ts",
165165
"deploy:flowmain": "npx hardhat run --no-compile --network flowMain scripts/deploy.ts",
166+
"deploy:inktestnet": "npx hardhat run --no-compile --network inkTestnet scripts/deploy.ts",
167+
"deploy:inkmain": "npx hardhat run --no-compile --network inkMain scripts/deploy.ts",
168+
"deploy:morphtestnet": "npx hardhat run --no-compile --network morphTestnet scripts/deploy.ts",
169+
"deploy:morphmain": "npx hardhat run --no-compile --network morphMain scripts/deploy.ts",
166170
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
167171
"prettier:check:interface": "pnpm -C interface prettier:check",
168172
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)