Skip to content

Add XRPL EVM mainnet configuration to Cosmos Chain Registry + small testnet fix #6292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions testnets/xrplevmtestnet/chain.json
Original file line number Diff line number Diff line change
Expand Up @@ -392,15 +392,9 @@
{
"kind": "cosmos",
"url": "https://governance.testnet.xrplevm.org",
"tx_page": "https://governance.testnet.xrplevm.org/tx/${txHash}",
"account_page": "https://governance.testnet.xrplevm.org/account/${accountAddress}"
},
{
"kind": "Valopers",
"url": "https://testnet.xrplevm.valopers.com/",
"tx_page": "https://testnet.xrplevm.valopers.com/transactions/${txHash}",
"account_page": "https://testnet.xrplevm.valopers.com/account/${accountAddress}"
}
"tx_page": "https://governance.testnet.xrplevm.org/xrplevm/transactions/${txHash}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When browsing transactions, it looks like the before was correct.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, before was correct, but I have changed the explorer I am setting as default. Used to be Valopers now adding the official Peersyst xrplevm one. Links have correct form ✅

"account_page": "https://governance.testnet.xrplevm.org/xrplevm/accounts/${accountAddress}"
}
],
"keywords": [
"xrpl",
Expand Down
61 changes: 61 additions & 0 deletions xrplevm/assetlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@

{
"$schema": "../assetlist.schema.json",
"chain_name": "xrplevm",
"assets": [
{
"description": "The native token of XRPL EVM",
"extended_description": "XRP is the native token of XRPL EVM, used for gas and fees. Though originally bridged from XRPL via Axelar, this token is fully integrated into XRPL EVM as a Cosmos SDK coin and ERC-20 precompile, and is treated as the canonical native asset of the chain.",
"denom_units": [
{
"denom": "axrp",
"exponent": 0
},
{
"denom": "XRP",
"exponent": 18
}
],
"type_asset": "sdk.coin",
"base": "axrp",
"name": "XRP",
"display": "XRP",
"symbol": "XRP",
"images": [
{
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/xrpl/images/xrp.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/xrpl/images/xrp.svg",
"theme": {
"primary_color_hex": "#040404"
}
}
],
"keywords": [
"xrpl",
"evm",
"testnet",
"sidechain",
"ripple",
"peersyst",
"cosmos",
"evmos",
"axelar",
"xrp",
"xrplevm"
],
"coingecko_id": "ripple",
"socials": {
"website": "https://xrplevm.org",
"twitter": "https://twitter.com/Peersyst"
}
}
]
}








135 changes: 135 additions & 0 deletions xrplevm/chain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"$schema": "../chain.schema.json",
"chain_name": "xrplevm",
"status": "live",
"network_type": "mainnet",
"website": "https://xrplevm.org/",
"pretty_name": "XRPL EVM",
"chain_type": "cosmos",
"chain_id": "xrplevm_1440000-1",
"bech32_prefix": "ethm",
"node_home": "~/.exrpd",
"daemon_name": "exrpd",
"key_algos": [
"ethsecp256k1"
],
"extra_codecs": [
"ethermint"
],
"slip44": 60,
"fees": {
"fee_tokens": [
{
"denom": "axrp",
"fixed_min_gas_price": 250000000,
"low_gas_price": 200000000000,
"average_gas_price": 250000000000,
"high_gas_price": 400000000000
}
]
},
"codebase": {
"git_repo": "https://github.com/xrplevm/node",
"recommended_version": "v8.0.0",
"compatible_versions": [
"v8.0.0"
],
"consensus": {
"type": "cometbft",
"version": "v0.38.17"
},
"binaries": {
"linux/amd64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Linux_amd64.tar.gz",
"linux/arm64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Linux_arm64.tar.gz",
"darwin/amd64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Darwin_amd64.tar.gz",
"darwin/arm64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Darwin_arm64.tar.gz",
"windows/amd64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Windows_amd64.zip"
},
"genesis": {
"genesis_url": "https://raw.githubusercontent.com/xrplevm/networks/refs/heads/main/mainnet/base-genesis.json"
},
"sdk": {
"type": "cosmos",
"repo": "https://github.com/xrplevm/cosmos-sdk",
"version": "v0.50.13",
"tag": "v0.50.13-xrplevm.2"
},
"ibc": {
"type": "go",
"version": "v8.7.0"
}
},
"images": [
{
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/xrplevm/images/xrplevm.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/xrplevm/images/xrplevm.svg",
"theme": {
"circle": true,
"primary_color_hex": "#FFFFFF"
}
}
],
"description": "The XRPL Ethereum Virtual Machine (EVM) is an innovative extension of the XRP Ledger developed by Peersyst in collaboration with Ripple that integrates Ethereum's smart contract capabilities via a dedicated sidechain. Built on the Cosmos SDK with a fork of evmOS, this sidechain utilizes a Proof-of-Authority (PoA) consensus model, ensuring high performance and low latency while maintaining the fundamental attributes of the XRP Ledger. It connects to the XRP Ledger through the Axelar network, employing XRP—bridged from the XRPL—as its native currency. This allows for seamless asset transfers and communication between the XRPL and the EVM sidechain. Moreover, the XRPL EVM supports Inter-Blockchain Communication (IBC), promoting interoperability with other blockchains in the Cosmos ecosystem.",
"peers": {
"seeds": [

],
"persistent_peers": [

]
},
"apis": {
"rpc": [
{
"address": "http://cosmos.xrplevm.org:26657",
"provider": "Peersyst"
}
],
"rest": [
{
"address": "http://cosmos.xrplevm.org:1317",
"provider": "Peersyst"
}
],
"grpc": [
{
"address": "http://cosmos.xrplevm.org:9090",
"provider": "Peersyst"
}
],
"evm-http-jsonrpc": [
{
"address": "https://rpc.xrplevm.org",
"provider": "Peersyst"
}
]
},
"explorers": [
{
"kind": "evm",
"url": "https://explorer.xrplevm.org",
"tx_page": "https://explorer.xrplevm.org/tx/${txHash}",
"account_page": "https://explorer.xrplevm.org/address/${accountAddress}"
},
{
"kind": "cosmos",
"url": "https://governance.xrplevm.org",
"tx_page": "https://governance.xrplevm.org/xrplevm/transactions/${txHash}",
"account_page": "https://governance.xrplevm.org/xrplevm/accounts/${accountAddress}"
}
],
"keywords": [
"xrpl",
"evm",
"testnet",
"sidechain",
"ripple",
"peersyst",
"cosmos",
"evmos",
"axelar",
"xrp",
"xrplevm"
]
}

Binary file added xrplevm/images/xrplevm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions xrplevm/images/xrplevm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions xrplevm/versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"$schema": "../versions.schema.json",
"chain_name": "xrplevm",
"versions": [
{
"name": "v7",
"tag": "v7.0.0",
"proposal": 0,
"height": 0,
"recommended_version": "v7.0.0",
"compatible_versions": [
"v7.0.0"
],
"consensus": {
"type": "cometbft",
"version": "v0.38.17"
},
"binaries": {
"linux/amd64": "https://github.com/xrplevm/node/releases/download/v7.0.0/node_7.0.0_Linux_amd64.tar.gz",
"linux/arm64": "https://github.com/xrplevm/node/releases/download/v7.0.0/node_7.0.0_Linux_arm64.tar.gz",
"darwin/amd64": "https://github.com/xrplevm/node/releases/download/v7.0.0/node_7.0.0_Darwin_amd64.tar.gz",
"darwin/arm64": "https://github.com/xrplevm/node/releases/download/v7.0.0/node_7.0.0_Darwin_arm64.tar.gz",
"windows/amd64": "https://github.com/xrplevm/node/releases/download/v7.0.0/node_7.0.0_Windows_amd64.zip"
},
"next_version_name": "v7",
"sdk": {
"type": "cosmos",
"repo": "https://github.com/xrplevm/cosmos-sdk",
"version": "v0.50.13",
"tag": "v0.50.13-xrplevm.2"
},
"ibc": {
"type": "go",
"version": "v8.7.0"
},
"language": {
"type": "go",
"version": "1.22.11"
}
},
{
"name": "v8",
"tag": "v8.0.0",
"proposal": ,

Check failure on line 44 in xrplevm/versions.json

View workflow job for this annotation

GitHub Actions / Lint JSON files

Value expected
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not having a value here breaks the schema. Please either provide the value or remove the property

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I was waiting for the proposal to happen, I can fill it now. Thanks.

"height": ,

Check failure on line 45 in xrplevm/versions.json

View workflow job for this annotation

GitHub Actions / Lint JSON files

Value expected
"recommended_version": "v8.0.0",
"compatible_versions": [
"v8.0.0"
],
"consensus": {
"type": "cometbft",
"version": "v0.38.17"
},
"binaries": {
"linux/amd64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Linux_amd64.tar.gz",
"linux/arm64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Linux_arm64.tar.gz",
"darwin/amd64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Darwin_amd64.tar.gz",
"darwin/arm64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Darwin_arm64.tar.gz",
"windows/amd64": "https://github.com/xrplevm/node/releases/download/v8.0.0/node_8.0.0_Windows_amd64.zip"
},
"next_version_name": "v8",
"sdk": {
"type": "cosmos",
"repo": "https://github.com/xrplevm/cosmos-sdk",
"version": "v0.50.13",
"tag": "v0.50.13-xrplevm.2"
},
"ibc": {
"type": "go",
"version": "v8.7.0"
},
"language": {
"type": "go",
"version": "1.22.11"
}
}
]
}

Loading