Skip to content

Commit 49e8faa

Browse files
authored
➕ Add XRPL EVM Test and Main Network Deployments (#265)
### 🕓 Changelog Add XRPL EVM test and main network deployments (resolves #264): - [XRPL EVM Testnet](https://explorer.testnet.xrplevm.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed), - [XRPL EVM](https://explorer.xrplevm.org/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.testnet.xrplevm.org) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc.xrplevm.org) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ``` --------- Signed-off-by: pcaversaccio <pascal.caversaccio@hotmail.ch>
1 parent dad78a6 commit 49e8faa

File tree

7 files changed

+76
-36
lines changed

7 files changed

+76
-36
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,6 +2267,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
22672267
- [Intuition](https://explorer.intuition.systems/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22682268
- [MemeCore](https://memecorescan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22692269
- [LightLink Phoenix](https://phoenix.lightlink.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2270+
- [XRPL EVM](https://explorer.xrplevm.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22702271

22712272
#### Ethereum Test Networks
22722273

@@ -2361,6 +2362,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
23612362
- [Intuition Sepolia Testnet](https://testnet.explorer.intuition.systems/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23622363
- [MemeCore Testnet (Insectarium)](https://insectarium.blockscout.memecore.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23632364
- [LightLink Testnet (Pegasus)](https://pegasus.lightlink.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2365+
- [XRPL EVM Testnet](https://explorer.testnet.xrplevm.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23642366

23652367
## Integration With External Tooling
23662368

deployments/deployments.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,13 @@
674674
"https://repo.sourcify.dev/1890/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
675675
]
676676
},
677+
{
678+
"name": "XRPL EVM",
679+
"chainId": 1440000,
680+
"urls": [
681+
"https://explorer.xrplevm.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
682+
]
683+
},
677684
{
678685
"name": "Sepolia",
679686
"chainId": 11155111,
@@ -1314,5 +1321,12 @@
13141321
"https://pegasus.lightlink.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
13151322
"https://repo.sourcify.dev/1891/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
13161323
]
1324+
},
1325+
{
1326+
"name": "XRPL EVM Testnet",
1327+
"chainId": 1449000,
1328+
"urls": [
1329+
"https://explorer.testnet.xrplevm.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
1330+
]
13171331
}
13181332
]

hardhat.config.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,16 @@ const config: HardhatUserConfig = {
12031203
),
12041204
accounts,
12051205
},
1206+
xrplEVMTestnet: {
1207+
chainId: 1449000,
1208+
url: vars.get("XRPLEVM_TESTNET_URL", "https://rpc.testnet.xrplevm.org"),
1209+
accounts,
1210+
},
1211+
xrplEVMMain: {
1212+
chainId: 1440000,
1213+
url: vars.get("XRPLEVM_MAINNET_URL", "https://rpc.xrplevm.org"),
1214+
accounts,
1215+
},
12061216
},
12071217
contractSizer: {
12081218
alphaSort: true,
@@ -1502,6 +1512,9 @@ const config: HardhatUserConfig = {
15021512
// For LightLink testnet & mainnet
15031513
lightlink: vars.get("LIGHTLINK_API_KEY", ""),
15041514
lightlinkTestnet: vars.get("LIGHTLINK_API_KEY", ""),
1515+
// For XRPL EVM testnet & mainnet
1516+
xrplEVM: vars.get("XRPLEVM_API_KEY", ""),
1517+
xrplEVMTestnet: vars.get("XRPLEVM_API_KEY", ""),
15051518
},
15061519
customChains: [
15071520
{
@@ -2822,6 +2835,22 @@ const config: HardhatUserConfig = {
28222835
browserURL: "https://pegasus.lightlink.io",
28232836
},
28242837
},
2838+
{
2839+
network: "xrplEVM",
2840+
chainId: 1440000,
2841+
urls: {
2842+
apiURL: "https://explorer.xrplevm.org/api",
2843+
browserURL: "https://explorer.xrplevm.org",
2844+
},
2845+
},
2846+
{
2847+
network: "xrplEVMTestnet",
2848+
chainId: 1449000,
2849+
urls: {
2850+
apiURL: "https://explorer.testnet.xrplevm.org/api",
2851+
browserURL: "https://explorer.testnet.xrplevm.org",
2852+
},
2853+
},
28252854
],
28262855
},
28272856
};

interface/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@tailwindcss/postcss": "^4.1.18",
4646
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
4747
"@types/node": "^25.0.9",
48-
"@types/react": "^19.2.8",
48+
"@types/react": "^19.2.9",
4949
"@types/react-dom": "^19.2.3",
5050
"autoprefixer": "^10.4.23",
5151
"eslint": "^9.39.2",

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

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@
235235
"deploy:memecoremain": "npx hardhat run --no-compile --network memecoreMain scripts/deploy.ts",
236236
"deploy:lightlinktestnet": "npx hardhat run --no-compile --network lightlinkTestnet scripts/deploy.ts",
237237
"deploy:lightlinkmain": "npx hardhat run --no-compile --network lightlinkMain scripts/deploy.ts",
238+
"deploy:xrplevmtestnet": "npx hardhat run --no-compile --network xrplEVMTestnet scripts/deploy.ts",
239+
"deploy:xrplevmmain": "npx hardhat run --no-compile --network xrplEVMMain scripts/deploy.ts",
238240
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
239241
"prettier:check:interface": "pnpm -C interface prettier:check",
240242
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
@@ -265,7 +267,7 @@
265267
"hardhat-gas-reporter": "^2.3.0",
266268
"prettier": "^3.8.0",
267269
"prettier-plugin-solidity": "^2.2.1",
268-
"solhint": "^6.0.2",
270+
"solhint": "^6.0.3",
269271
"ts-node": "^10.9.2",
270272
"typechain": "^8.3.2",
271273
"typescript": "^5.9.3",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)