Skip to content

Commit

Permalink
Add Pundi X Chain (cosmos#3434)
Browse files Browse the repository at this point in the history
* add Pundi X Chain  into chain registry (#1)

* fix chain name

* add purse token to bsc

* add pundix token to fxcore

* add ibc connection

* fix chain name

* fix PUNDIX token display

* remove CGId

* add image_sync to pundix assets

* fix PURSE CGId

* fix pundix chain images

* remove pundix token CGId

* add CGId

---------

Co-authored-by: todd <81545601+todd-woko@users.noreply.github.com>
  • Loading branch information
zakir-code and todd-woko authored Dec 15, 2023
1 parent fb04092 commit 3faed1b
Show file tree
Hide file tree
Showing 11 changed files with 379 additions and 0 deletions.
31 changes: 31 additions & 0 deletions _IBC/fxcore-pundix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "../ibc_data.schema.json",
"chain_1": {
"chain_name": "fxcore",
"client_id": "07-tendermint-0",
"connection_id": "connection-0"
},
"chain_2": {
"chain_name": "pundix",
"client_id": "07-tendermint-0",
"connection_id": "connection-0"
},
"channels": [
{
"chain_1": {
"channel_id": "channel-0",
"port_id": "transfer"
},
"chain_2": {
"channel_id": "channel-0",
"port_id": "transfer"
},
"ordering": "unordered",
"version": "ics20-1",
"tags": {
"status": "live",
"preferred": true
}
}
]
}
28 changes: 28 additions & 0 deletions _non-cosmos/binancesmartchain/assetlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,34 @@
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg"
}
]
},
{
"description": "PURSE Token",
"denom_units": [
{
"denom": "0x29a63F4B209C29B4DC47f06FFA896F32667DAD2C",
"exponent": 0
},
{
"denom": "PURSE",
"exponent": 18
}
],
"type_asset": "erc20",
"address": "0x29a63F4B209C29B4DC47f06FFA896F32667DAD2C",
"base": "0x29a63F4B209C29B4DC47f06FFA896F32667DAD2C",
"name": "PURSE Token",
"display": "PURSE",
"symbol": "PURSE",
"coingecko_id": "pundi-x-purse",
"logo_URIs": {
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/purse-token-logo.svg"
},
"images": [
{
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/purse-token-logo.svg"
}
]
}
]
}
30 changes: 30 additions & 0 deletions fxcore/assetlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,36 @@
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/fxcore/images/fx.svg"
}
]
},
{
"description": "The cross chain token of the Function X",
"denom_units": [
{
"denom": "eth0x0FD10b9899882a6f2fcb5c371E17e70FdEe00C38",
"exponent": 0,
"aliases": [ ]
},
{
"denom": "PUNDIX",
"exponent": 18,
"aliases": [ ]
}
],
"base": "eth0x0FD10b9899882a6f2fcb5c371E17e70FdEe00C38",
"display": "PUNDIX",
"name": "Pundi X Token",
"symbol": "PUNDIX",
"coingecko_id": "pundi-x-2",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.svg"
},
"images": [
{
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.svg"
}
]
}
]
}
93 changes: 93 additions & 0 deletions pundix/assetlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"$schema": "../assetlist.schema.json",
"chain_name": "pundix",
"assets": [
{
"description": "Pundi X Token",
"denom_units": [
{
"denom": "ibc/55367b7b6572631b78a93c66ef9fdfce87cde372cc4ed7848da78c1eb1dcdd78",
"exponent": 0
},
{
"denom": "PUNDIX",
"exponent": 18
}
],
"base": "ibc/55367b7b6572631b78a93c66ef9fdfce87cde372cc4ed7848da78c1eb1dcdd78",
"name": "Pundi X Token",
"display": "PUNDIX",
"symbol": "PUNDIX",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.svg"
},
"traces": [
{
"type": "ibc",
"counterparty": {
"chain_name": "fxcore",
"base_denom": "eth0x0FD10b9899882a6f2fcb5c371E17e70FdEe00C38",
"channel_id": "channel-0"
},
"chain": {
"channel_id": "channel-0",
"path": "transfer/channel-0/eth0x0FD10b9899882a6f2fcb5c371E17e70FdEe00C38"
}
}
],
"images": [
{
"image_sync": {
"chain_name": "fxcore",
"base_denom": "eth0x0FD10b9899882a6f2fcb5c371E17e70FdEe00C38"
},
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.svg"
}
]
},
{
"description": "PURSE Token",
"denom_units": [
{
"denom": "bsc0x29a63f4b209c29b4dc47f06ffa896f32667dad2c",
"exponent": 0
},
{
"denom": "PURSE",
"exponent": 18
}
],
"base": "bsc0x29a63f4b209c29b4dc47f06ffa896f32667dad2c",
"name": "PURSE Token",
"display": "PURSE",
"symbol": "PURSE",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/purse-token-logo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/purse-token-logo.svg"
},
"traces": [
{
"type": "bridge",
"counterparty": {
"chain_name": "binancesmartchain",
"base_denom": "0x29a63F4B209C29B4DC47f06FFA896F32667DAD2C",
"contract": "0x84238c00c8313920826D798e3cF6793Ef4F610ad"
},
"provider": "Function X"
}
],
"images": [
{
"image_sync": {
"chain_name": "binancesmartchain",
"base_denom": "0x29a63F4B209C29B4DC47f06FFA896F32667DAD2C"
},
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/purse-token-logo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/purse-token-logo.svg"
}
]
}
]
}
171 changes: 171 additions & 0 deletions pundix/chain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"$schema": "../chain.schema.json",
"chain_name": "pundix",
"chain_id": "PUNDIX",
"website": "https://pundix.com",
"pretty_name": "Pundi X Chain",
"status": "live",
"network_type": "mainnet",
"bech32_prefix": "px",
"daemon_name": "pundixd",
"node_home": "$HOME/.pundix",
"key_algos": [
"secp256k1"
],
"slip44": 118,
"fees": {
"fee_tokens": [
{
"denom": "ibc/55367B7B6572631B78A93C66EF9FDFCE87CDE372CC4ED7848DA78C1EB1DCDD78",
"fixed_min_gas_price": 2000000000000,
"low_gas_price": 2000000000000,
"average_gas_price": 2500000000000,
"high_gas_price": 3000000000000
}
]
},
"staking": {
"staking_tokens": [
{
"denom": "ibc/55367B7B6572631B78A93C66EF9FDFCE87CDE372CC4ED7848DA78C1EB1DCDD78"
}
]
},
"codebase": {
"git_repo": "https://github.com/pundix/pundix",
"recommended_version": "v0.2.3",
"compatible_versions": [
"v0.2.3"
],
"binaries": {
"linux/amd64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Linux_x86_64.tar.gz",
"linux/arm64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Linux_arm64.tar.gz",
"darwin/amd64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Darwin_x86_64.tar.gz",
"darwin/arm64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Darwin_arm64.tar.gz",
"windows/amd64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Windows_x86_64.zip"
},
"genesis": {
"name": "pxv1",
"genesis_url": "https://raw.githubusercontent.com/pundix/pundix/main/public/mainnet/genesis.json"
},
"cosmos_sdk_version": "0.45.11",
"consensus": {
"type": "tendermint",
"version": "0.34"
},
"ibc_go_version": "6.1.0",
"versions": [
{
"name": "pxv1",
"tag": "v0.1.3",
"height": 0,
"next_version_name": "pxv2",
"recommended_version": "v0.1.3",
"compatible_versions": [
"v0.1.3"
],
"binaries": {
"linux/amd64": "https://github.com/pundix/pundix/releases/download/v0.1.3/pundix_0.1.3_Linux_x86_64.tar.gz",
"linux/arm64": "https://github.com/pundix/pundix/releases/download/v0.1.3/pundix_0.1.3_Linux_arm64.tar.gz",
"darwin/amd64": "https://github.com/pundix/pundix/releases/download/v0.1.3/pundix_0.1.3_Darwin_x86_64.tar.gz",
"darwin/arm64": "https://github.com/pundix/pundix/releases/download/v0.1.3/pundix_0.1.3_Darwin_arm64.tar.gz",
"windows/amd64": "https://github.com/pundix/pundix/releases/download/v0.1.3/pundix_0.1.3_Windows_x86_64.zip"
}
},
{
"name": "pxv2",
"tag": "v0.2.3",
"height": 6869100,
"recommended_version": "v0.2.3",
"compatible_versions": [
"v0.2.3"
],
"binaries": {
"linux/amd64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Linux_x86_64.tar.gz",
"linux/arm64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Linux_arm64.tar.gz",
"darwin/amd64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Darwin_x86_64.tar.gz",
"darwin/arm64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Darwin_arm64.tar.gz",
"windows/amd64": "https://github.com/pundix/pundix/releases/download/v0.2.3/pundix_0.2.3_Windows_x86_64.zip"
}
}
]
},
"peers": {
"seeds": [
{
"id": "78d3eb3f15a20ab1d567660d35776abe0dee71d0",
"address": "pundix-mainnet-seed-node-1.pundix.com:26656",
"provider": "Pundi X"
},
{
"id": "3c37c6c42dfd9094117549794299a62d49c122eb",
"address": "pundix-mainnet-seed-node-2.pundix.com:26656",
"provider": "Pundi X"
}
],
"persistent_peers": [
{
"id": "8bd41ea9f8ba7cfee4d19887cab487cdfc1177f4",
"address": "pundix-mainnet-node-1.pundix.com:26656",
"provider": "Pundi X"
},
{
"id": "6c1738220234a5e1b3caf94403ecd651e9759952",
"address": "pundix-mainnet-node-2.pundix.com:26656",
"provider": "Pundi X"
},
{
"id": "23abe2346d40f82cf0606e47931e58752f8b9348",
"address": "pundix-mainnet-node-3.pundix.com:26656",
"provider": "Pundi X"
},
{
"id": "20d275af6d025be144765291db5337ea059cce18",
"address": "pundix-mainnet-node-4.pundix.com:26656",
"provider": "Pundi X"
},
{
"id": "47f97d7baf028ddfd3b223baab0fa062eae75310",
"address": "pundix-mainnet-node-5.pundix.com:26656",
"provider": "Pundi X"
}
]
},
"apis": {
"rpc": [
{
"address": "https://px-json.pundix.com",
"provider": "Pundi X"
}
],
"rest": [
{
"address": "https://px-rest.pundix.com",
"provider": "Pundi X"
}
],
"grpc": [
{
"address": "https://px-grpc.pundix.com",
"provider": "Pundi X"
}
]
},
"images": [
{
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-chain-logo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-chain-logo.svg"
}
],
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-chain-logo.png"
},
"explorers": [
{
"kind": "starscan",
"url": "https://starscan.io",
"tx_page": "https://starscan.io/pundix/tx/${txHash}",
"account_page": "https://starscan.io/pundix/address/${accountAddress}"
}
]
}
Binary file added pundix/images/pundi-x-chain-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pundix/images/pundi-x-chain-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pundix/images/pundi-x-token-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3faed1b

Please sign in to comment.