change config
This commit is contained in:
parent
7cf0259eba
commit
e70a05fa74
@ -11,11 +11,17 @@
|
||||
```json
|
||||
{
|
||||
"chain_name": "cosmos",
|
||||
"coingecko": "cosmos",
|
||||
"api":"https://cosmos.api.ping.pub",
|
||||
"api": ["https://cosmos.api.ping.pub"],
|
||||
"sdk_version": "0.42.6",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"assets": [{
|
||||
"base": "uatom",
|
||||
"symbol": "ATOM",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "cosmos",
|
||||
"logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
|
||||
}],
|
||||
"addr_prefix": "cosmos",
|
||||
"logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
|
||||
}
|
||||
|
@ -1,10 +1,16 @@
|
||||
{
|
||||
"chain_name": "akash-network",
|
||||
"coingecko": "akash-network",
|
||||
"api": "https://akash.api.ping.pub",
|
||||
"api": ["https://akash.api.ping.pub"],
|
||||
"sdk_version": "0.41.3",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"assets": [{
|
||||
"base": "uakt",
|
||||
"symbol": "AKT",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "akash-network",
|
||||
"logo": "https://dl.airtable.com/.attachments/52586702dd8352d97834fce5c2d83614/969b4d53/akash-network.png"
|
||||
}],
|
||||
"addr_prefix": "akash",
|
||||
"logo": "https://dl.airtable.com/.attachments/52586702dd8352d97834fce5c2d83614/969b4d53/akash-network.png"
|
||||
}
|
@ -1,10 +1,16 @@
|
||||
{
|
||||
"chain_name": "band-protocol",
|
||||
"coingecko": "band-protocol",
|
||||
"api": "https://laozi1.bandchain.org/api",
|
||||
"addr_prefix": "band",
|
||||
"coin_type": "494",
|
||||
"min_tx_fee": "800",
|
||||
"assets": [{
|
||||
"base": "uband",
|
||||
"symbol": "BAND",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "band-protocol",
|
||||
"logo": "https://dl.airtable.com/.attachments/472ae99a508e32b4439b416beddd4eb9/c5166f62/band-symbol-blue-bg.75a3ad91.svg"
|
||||
}],
|
||||
"logo": "https://dl.airtable.com/.attachments/472ae99a508e32b4439b416beddd4eb9/c5166f62/band-symbol-blue-bg.75a3ad91.svg",
|
||||
"sdk_version": "0.44.0"
|
||||
}
|
@ -5,6 +5,13 @@
|
||||
"sdk_version": "0.44.2",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"assets": [{
|
||||
"base": "ubcna",
|
||||
"symbol": "BCNA",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "bitcanna",
|
||||
"logo": "https://raw.githubusercontent.com/osmosis-labs/assetlists/main/images/bcna.svg"
|
||||
}],
|
||||
"addr_prefix": "bcna",
|
||||
"logo": "https://raw.githubusercontent.com/osmosis-labs/assetlists/main/images/bcna.svg"
|
||||
}
|
||||
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"logo": "https://dl.airtable.com/.attachments/8016b71b69fb108f0ff33eb9af1c943f/f5fe4ef4/bitsong.svg",
|
||||
"sdk_version": "0.42.0"
|
||||
"sdk_version": "0.42.0",
|
||||
"assets": [{
|
||||
"base": "ubtsg",
|
||||
"symbol": "BTSG",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "bitsong",
|
||||
"logo": "https://dl.airtable.com/.attachments/8016b71b69fb108f0ff33eb9af1c943f/f5fe4ef4/bitsong.svg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "bostrom",
|
||||
"logo": "https://ipfs.infura.io/ipfs/QmSVz41kA5aXttxT1rAXnuJecfazij3wh95X8ewd7Kdc2F"
|
||||
"logo": "https://ipfs.infura.io/ipfs/QmSVz41kA5aXttxT1rAXnuJecfazij3wh95X8ewd7Kdc2F",
|
||||
"assets": [{
|
||||
"base": "boot",
|
||||
"symbol": "BOOT",
|
||||
"exponent": "0",
|
||||
"coingecko_id": "",
|
||||
"logo": "https://ipfs.infura.io/ipfs/QmSVz41kA5aXttxT1rAXnuJecfazij3wh95X8ewd7Kdc2F"
|
||||
}]
|
||||
}
|
||||
|
@ -1,11 +1,17 @@
|
||||
|
||||
{
|
||||
"chain_name": "certik",
|
||||
"coingecko": "certik",
|
||||
"api":"https://azuredragon.noopsbycertik.com",
|
||||
"sdk_version": "0.42.9",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "certik",
|
||||
"logo": "https://dl.airtable.com/.attachments/78bc9a7352de8ecd09e167d406d68582/2dcea633/dED92akm_400x400.jpg"
|
||||
"logo": "https://dl.airtable.com/.attachments/78bc9a7352de8ecd09e167d406d68582/2dcea633/dED92akm_400x400.jpg",
|
||||
"assets": [{
|
||||
"base": "uctk",
|
||||
"symbol": "CTK",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "certik",
|
||||
"logo": "https://dl.airtable.com/.attachments/78bc9a7352de8ecd09e167d406d68582/2dcea633/dED92akm_400x400.jpg"
|
||||
}]
|
||||
}
|
@ -1,10 +1,16 @@
|
||||
{
|
||||
"chain_name": "cheqd",
|
||||
"coingecko": "cheqd-network",
|
||||
"api": "https://api.cheqd.net",
|
||||
"sdk_version": "0.44.3",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "cheqd",
|
||||
"logo": "https://raw.githubusercontent.com/osmosis-labs/assetlists/main/images/cheq.png"
|
||||
"logo": "https://raw.githubusercontent.com/osmosis-labs/assetlists/main/images/cheq.png",
|
||||
"assets": [{
|
||||
"base": "ncheq",
|
||||
"symbol": "CHEQ",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "cheqd-network",
|
||||
"logo": "https://raw.githubusercontent.com/osmosis-labs/assetlists/main/images/cheq.png"
|
||||
}]
|
||||
}
|
||||
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "chihuahua",
|
||||
"logo": "https://github.com/ChihuahuaChain/resources/raw/main/logo/logo_transparent_notext.png"
|
||||
"logo": "https://github.com/ChihuahuaChain/resources/raw/main/logo/logo_transparent_notext.png",
|
||||
"assets": [{
|
||||
"base": "uhuahua",
|
||||
"symbol": "HUAHUA",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "",
|
||||
"logo": "https://github.com/ChihuahuaChain/resources/raw/main/logo/logo_transparent_notext.png"
|
||||
}]
|
||||
}
|
||||
|
@ -1,10 +1,16 @@
|
||||
{
|
||||
"chain_name": "comdex",
|
||||
"coingecko": "comdex",
|
||||
"api":"https://rest.comdex.one/",
|
||||
"sdk_version": "0.44.3",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "comdex",
|
||||
"logo": "https://raw.githubusercontent.com/comdex-official/logos/main/cmdx-logo-1.png"
|
||||
"logo": "https://raw.githubusercontent.com/comdex-official/logos/main/cmdx-logo-1.png",
|
||||
"assets": [{
|
||||
"base": "ucmdx",
|
||||
"symbol": "CMDX",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "comdex",
|
||||
"logo": "https://raw.githubusercontent.com/comdex-official/logos/main/cmdx-logo-1.png"
|
||||
}]
|
||||
}
|
||||
|
@ -1,10 +1,17 @@
|
||||
{
|
||||
"chain_name": "cosmos",
|
||||
"coingecko": "cosmos",
|
||||
"api":"https://cosmos.api.ping.pub",
|
||||
"api": ["https://cosmos.api.ping.pub", "https://cosmoshub.stakesystems.io"],
|
||||
"sdk_version": "0.42.6",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "cosmos",
|
||||
"logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
|
||||
"logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg",
|
||||
"assets": [{
|
||||
"base": "uatom",
|
||||
"symbol": "ATOM",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "cosmos",
|
||||
"logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
|
||||
}]
|
||||
}
|
@ -7,5 +7,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "cro",
|
||||
"logo": "https://dl.airtable.com/.attachments/b2e638424ea09dccd4f11b04dc53872a/844d11dc/LOGO.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/b2e638424ea09dccd4f11b04dc53872a/844d11dc/LOGO.png",
|
||||
"assets": [{
|
||||
"base": "basecro",
|
||||
"symbol": "CRO",
|
||||
"exponent": "18",
|
||||
"coingecko_id": "crypto-com-chain",
|
||||
"logo": "https://dl.airtable.com/.attachments/b2e638424ea09dccd4f11b04dc53872a/844d11dc/LOGO.png"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "852",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "desmos",
|
||||
"logo": "https://dl.airtable.com/.attachments/e8232a86dd06af4e0591ed300376f9b2/3aab415f/logo1.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/e8232a86dd06af4e0591ed300376f9b2/3aab415f/logo1.png",
|
||||
"assets": [{
|
||||
"base": "udsm",
|
||||
"symbol": "DSM",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "",
|
||||
"logo": "https://dl.airtable.com/.attachments/e8232a86dd06af4e0591ed300376f9b2/3aab415f/logo1.png"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "dig",
|
||||
"logo": "https://digchain.org/wp-content/uploads/2018/09/DIG.png"
|
||||
"logo": "https://digchain.org/wp-content/uploads/2018/09/DIG.png",
|
||||
"assets": [{
|
||||
"base": "udig",
|
||||
"symbol": "DIG",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "",
|
||||
"logo": "https://digchain.org/wp-content/uploads/2018/09/DIG.png"
|
||||
}]
|
||||
}
|
||||
|
@ -7,5 +7,12 @@
|
||||
"min_tx_fee": "800",
|
||||
"logo": "https://dl.airtable.com/.attachments/276e4d6de567b073a5e400240d7d83e9/9bb49806/yoR2r25W_400x400.jpg",
|
||||
"sdk_version": "0.42.10",
|
||||
"excludes": "mint governance"
|
||||
"excludes": "mint governance",
|
||||
"assets": [{
|
||||
"base": "ungm",
|
||||
"symbol": "NGM",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "emoney",
|
||||
"logo": "https://dl.airtable.com/.attachments/276e4d6de567b073a5e400240d7d83e9/9bb49806/yoR2r25W_400x400.jpg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "genesis",
|
||||
"logo": "/logos/genesisl1.png"
|
||||
"logo": "/logos/genesisl1.png",
|
||||
"assets": [{
|
||||
"base": "aphoton",
|
||||
"symbol": "PHOTON",
|
||||
"exponent": "18",
|
||||
"coingecko_id": "",
|
||||
"logo": "/logos/genesisl1.png"
|
||||
}]
|
||||
}
|
@ -1,11 +1,17 @@
|
||||
{
|
||||
"chain_name": "injective",
|
||||
"coingecko": "injective-protocol",
|
||||
"api": "https://lcd.injective.network",
|
||||
"sdk_version": "0.42.4",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "inj",
|
||||
"excludes": "",
|
||||
"logo": "https://dl.airtable.com/.attachments/e024faae112ae873d301f9e1e17a921c/3f3671f7/9pOKAlQ5_400x400.jpg"
|
||||
"logo": "https://dl.airtable.com/.attachments/e024faae112ae873d301f9e1e17a921c/3f3671f7/9pOKAlQ5_400x400.jpg",
|
||||
"assets": [{
|
||||
"base": "inj",
|
||||
"symbol": "INJ",
|
||||
"exponent": "0",
|
||||
"coingecko_id": "injective-protocol",
|
||||
"logo": "https://dl.airtable.com/.attachments/e024faae112ae873d301f9e1e17a921c/3f3671f7/9pOKAlQ5_400x400.jpg"
|
||||
}]
|
||||
}
|
@ -1,11 +1,17 @@
|
||||
{
|
||||
"chain_name": "iris-network",
|
||||
"coingecko": "iris-network",
|
||||
"api": "https://iris.api.ping.pub",
|
||||
"sdk_version": "0.42.4",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "iaa",
|
||||
"excludes": "mint",
|
||||
"logo": "https://dl.airtable.com/.attachments/2d6d51b1b262db00ecc51616ffc3bdf5/90ff00d0/IRISnet.svg"
|
||||
"logo": "https://dl.airtable.com/.attachments/2d6d51b1b262db00ecc51616ffc3bdf5/90ff00d0/IRISnet.svg",
|
||||
"assets": [{
|
||||
"base": "uiris",
|
||||
"symbol": "IRIS",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "iris-network",
|
||||
"logo": "https://dl.airtable.com/.attachments/2d6d51b1b262db00ecc51616ffc3bdf5/90ff00d0/IRISnet.svg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "juno",
|
||||
"logo": "https://dl.airtable.com/.attachments/0f66137c6fb2868000d5a1e214c9ae3d/75a9c5bc/S3c2V3Xd_400x400.jpg"
|
||||
"logo": "https://dl.airtable.com/.attachments/0f66137c6fb2868000d5a1e214c9ae3d/75a9c5bc/S3c2V3Xd_400x400.jpg",
|
||||
"assets": [{
|
||||
"base": "ujuno",
|
||||
"symbol": "JUNO",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "juno-network",
|
||||
"logo": "https://dl.airtable.com/.attachments/0f66137c6fb2868000d5a1e214c9ae3d/75a9c5bc/S3c2V3Xd_400x400.jpg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "kava",
|
||||
"logo": "https://dl.airtable.com/.attachments/f25737491bd0034240093a7b4e039b15/afec77ff/logo.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/f25737491bd0034240093a7b4e039b15/afec77ff/logo.png",
|
||||
"assets": [{
|
||||
"base": "ukava",
|
||||
"symbol": "KAVA",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "kava",
|
||||
"logo": "https://dl.airtable.com/.attachments/f25737491bd0034240093a7b4e039b15/afec77ff/logo.png"
|
||||
}]
|
||||
}
|
@ -1,10 +1,16 @@
|
||||
{
|
||||
"chain_name": "kichain",
|
||||
"coingecko": "ki",
|
||||
"api": "https://ki.api.ping.pub",
|
||||
"sdk_version": "0.42.10",
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "ki",
|
||||
"logo": "https://dl.airtable.com/.attachments/b1f670d31bf69d7ca9906df8437d91a7/b2667ad1/ki.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/b1f670d31bf69d7ca9906df8437d91a7/b2667ad1/ki.png",
|
||||
"assets": [{
|
||||
"base": "uxki",
|
||||
"symbol": "XKI",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "ki",
|
||||
"logo": "https://dl.airtable.com/.attachments/b1f670d31bf69d7ca9906df8437d91a7/b2667ad1/ki.png"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "cosmos",
|
||||
"logo": "https://dl.airtable.com/.attachments/d51ad30b75593517d7d79f08b9e4dad0/5603273b/likecoin.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/d51ad30b75593517d7d79f08b9e4dad0/5603273b/likecoin.png",
|
||||
"assets": [{
|
||||
"base": "nanolike",
|
||||
"symbol": "LIKE",
|
||||
"exponent": "9",
|
||||
"coingecko_id": "likecoin",
|
||||
"logo": "https://dl.airtable.com/.attachments/d51ad30b75593517d7d79f08b9e4dad0/5603273b/likecoin.png"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "lum",
|
||||
"logo": "https://ipfs.infura.io/ipfs/QmWwKRnkHantvhoFx9serWaWKBUG6gfhSYN3SHdAv1jmKY"
|
||||
"logo": "https://ipfs.infura.io/ipfs/QmWwKRnkHantvhoFx9serWaWKBUG6gfhSYN3SHdAv1jmKY",
|
||||
"assets": [{
|
||||
"base": "ulum",
|
||||
"symbol": "LUM",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "",
|
||||
"logo": "https://ipfs.infura.io/ipfs/QmWwKRnkHantvhoFx9serWaWKBUG6gfhSYN3SHdAv1jmKY"
|
||||
}]
|
||||
}
|
||||
|
@ -5,5 +5,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "micro",
|
||||
"logo": "https://dl.airtable.com/.attachments/229a8d771fccc46b6730a7bc75d46e15/a3cf3543/microtick.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/229a8d771fccc46b6730a7bc75d46e15/a3cf3543/microtick.png",
|
||||
"assets": [{
|
||||
"base": "utick",
|
||||
"symbol": "TICK",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "",
|
||||
"logo": "https://dl.airtable.com/.attachments/229a8d771fccc46b6730a7bc75d46e15/a3cf3543/microtick.png"
|
||||
}]
|
||||
}
|
||||
|
@ -7,5 +7,12 @@
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "ex",
|
||||
"logo": "https://dl.airtable.com/.attachments/4620a173477efece7f459a3d6fc770c0/9f6618ad/OKexchain.svg",
|
||||
"unload_module": ["minting", "slashing"]
|
||||
"unload_module": ["minting", "slashing"],
|
||||
"assets": [{
|
||||
"base": "okt",
|
||||
"symbol": "okt",
|
||||
"exponent": "0",
|
||||
"coingecko_id": "okexchain",
|
||||
"logo": "https://dl.airtable.com/.attachments/4620a173477efece7f459a3d6fc770c0/9f6618ad/OKexchain.svg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "osmo",
|
||||
"logo": "https://dl.airtable.com/.attachments/4ef30ec4008bc86cc3c0f74a6bb84050/0eeb4d64/aQ5W3zaT_400x400.jpg"
|
||||
"logo": "https://dl.airtable.com/.attachments/4ef30ec4008bc86cc3c0f74a6bb84050/0eeb4d64/aQ5W3zaT_400x400.jpg",
|
||||
"assets": [{
|
||||
"base": "uosmo",
|
||||
"symbol": "OSMO",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "osmosis",
|
||||
"logo": "https://dl.airtable.com/.attachments/4ef30ec4008bc86cc3c0f74a6bb84050/0eeb4d64/aQ5W3zaT_400x400.jpg"
|
||||
}]
|
||||
}
|
||||
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "persistence",
|
||||
"logo": "https://dl.airtable.com/.attachments/23178be773dc4de133ca4c07056aba1c/6e855850/persistence.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/23178be773dc4de133ca4c07056aba1c/6e855850/persistence.png",
|
||||
"assets": [{
|
||||
"base": "uxprt",
|
||||
"symbol": "XPRT",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "persistence",
|
||||
"logo": "https://dl.airtable.com/.attachments/23178be773dc4de133ca4c07056aba1c/6e855850/persistence.png"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "505",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "pb",
|
||||
"logo": "https://raw.githubusercontent.com/provenance-io/provenance/main/docs/pio.svg"
|
||||
"logo": "https://raw.githubusercontent.com/provenance-io/provenance/main/docs/pio.svg",
|
||||
"assets": [{
|
||||
"base": "nhash",
|
||||
"symbol": "HASH",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "",
|
||||
"logo": "https://raw.githubusercontent.com/provenance-io/provenance/main/docs/pio.svg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "regen",
|
||||
"logo": "https://dl.airtable.com/.attachments/0c988f2cd6a7d4fec95f0a3bc87b45da/c7a9f8ba/regen-brandmark-48.svg"
|
||||
"logo": "https://dl.airtable.com/.attachments/0c988f2cd6a7d4fec95f0a3bc87b45da/c7a9f8ba/regen-brandmark-48.svg",
|
||||
"assets": [{
|
||||
"base": "uregen",
|
||||
"symbol": "REGEN",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "regen",
|
||||
"logo": "https://dl.airtable.com/.attachments/0c988f2cd6a7d4fec95f0a3bc87b45da/c7a9f8ba/regen-brandmark-48.svg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "529",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "secret",
|
||||
"logo": "https://dl.airtable.com/.attachments/b95ce1905e5327924ffdcb6d57c55b66/7e2ad353/logo.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/b95ce1905e5327924ffdcb6d57c55b66/7e2ad353/logo.png",
|
||||
"assets": [{
|
||||
"base": "uscrt",
|
||||
"symbol": "SCRT",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "secret",
|
||||
"logo": "https://dl.airtable.com/.attachments/b95ce1905e5327924ffdcb6d57c55b66/7e2ad353/logo.png"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "sent",
|
||||
"logo": "https://dl.airtable.com/.attachments/321491a9da1680faa670fa81569b02b0/37621c88/unnamed.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/321491a9da1680faa670fa81569b02b0/37621c88/unnamed.png",
|
||||
"assets": [{
|
||||
"base": "udvpn",
|
||||
"symbol": "DVPN",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "sentinel",
|
||||
"logo": "https://dl.airtable.com/.attachments/321491a9da1680faa670fa81569b02b0/37621c88/unnamed.png"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "sif",
|
||||
"logo": "https://dl.airtable.com/.attachments/990cb076d7566e53e976c1fa69d60b09/3c05e786/71144030.jpeg"
|
||||
"logo": "https://dl.airtable.com/.attachments/990cb076d7566e53e976c1fa69d60b09/3c05e786/71144030.jpeg",
|
||||
"assets": [{
|
||||
"base": "rowan",
|
||||
"symbol": "ROWAN",
|
||||
"exponent": "18",
|
||||
"coingecko_id": "sifchain",
|
||||
"logo": "https://dl.airtable.com/.attachments/990cb076d7566e53e976c1fa69d60b09/3c05e786/71144030.jpeg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "stars",
|
||||
"logo": "https://dl.airtable.com/.attachments/79f2b74422c63b3fdb0310407d9cc990/5f4f1dd8/RGw3ZaVT_400x400.png"
|
||||
"logo": "https://dl.airtable.com/.attachments/79f2b74422c63b3fdb0310407d9cc990/5f4f1dd8/RGw3ZaVT_400x400.png",
|
||||
"assets": [{
|
||||
"base": "ustars",
|
||||
"symbol": "STARS",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "stargaze-protocol",
|
||||
"logo": "https://dl.airtable.com/.attachments/79f2b74422c63b3fdb0310407d9cc990/5f4f1dd8/RGw3ZaVT_400x400.png"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "star",
|
||||
"logo": "https://dl.airtable.com/.attachments/69f75a1b45803d70d8ef69f7f83198e1/d991d407/ZUZfz7Th_400x400.jpg"
|
||||
"logo": "https://dl.airtable.com/.attachments/69f75a1b45803d70d8ef69f7f83198e1/d991d407/ZUZfz7Th_400x400.jpg",
|
||||
"assets": [{
|
||||
"base": "uiov",
|
||||
"symbol": "IOV",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "starname",
|
||||
"logo": "https://dl.airtable.com/.attachments/69f75a1b45803d70d8ef69f7f83198e1/d991d407/ZUZfz7Th_400x400.jpg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "330",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "terra",
|
||||
"logo": "https://dl.airtable.com/.attachments/275a6cbdbdc911856556e716a60d6ec4/87addd7f/terra.jpg"
|
||||
"logo": "https://dl.airtable.com/.attachments/275a6cbdbdc911856556e716a60d6ec4/87addd7f/terra.jpg",
|
||||
"assets": [{
|
||||
"base": "uluna",
|
||||
"symbol": "LUNA",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "terra-luna",
|
||||
"logo": "https://dl.airtable.com/.attachments/275a6cbdbdc911856556e716a60d6ec4/87addd7f/terra.jpg"
|
||||
}]
|
||||
}
|
@ -6,5 +6,12 @@
|
||||
"coin_type": "118",
|
||||
"min_tx_fee": "800",
|
||||
"addr_prefix": "vdl",
|
||||
"logo": "/logos/VDL.png"
|
||||
"logo": "/logos/VDL.png",
|
||||
"assets": [{
|
||||
"base": "uvdl",
|
||||
"symbol": "VDL",
|
||||
"exponent": "6",
|
||||
"coingecko_id": "vidulum",
|
||||
"logo": "/logos/VDL.png"
|
||||
}]
|
||||
}
|
@ -244,10 +244,12 @@ export default class ChainFetch {
|
||||
}
|
||||
|
||||
async get(url, config = null) {
|
||||
let host = ''
|
||||
if (!config) {
|
||||
this.getSelectedConfig()
|
||||
}
|
||||
const ret = await fetch((config ? config.api : this.config.api) + url).then(response => response.json())
|
||||
host = (config ? config.api : this.config.api)
|
||||
const ret = await fetch((Array.isArray(host) ? host[0] : host) + url).then(response => response.json())
|
||||
return ret
|
||||
}
|
||||
|
||||
@ -257,7 +259,7 @@ export default class ChainFetch {
|
||||
}
|
||||
|
||||
static fetch(host, url) {
|
||||
const ret = fetch(host + url).then(response => response.json())
|
||||
const ret = fetch((Array.isArray(host) ? host[0] : host) + url).then(response => response.json())
|
||||
return ret
|
||||
}
|
||||
|
||||
|
@ -279,61 +279,79 @@ export function isToken(value) {
|
||||
|
||||
export function formatTokenDenom(tokenDenom) {
|
||||
if (tokenDenom && tokenDenom.code === undefined) {
|
||||
let denom = tokenDenom.denom_trace ? tokenDenom.denom_trace.base_denom.toUpperCase() : tokenDenom.toUpperCase()
|
||||
if (denom.charAt(0) === 'U' && denom !== 'USDX') {
|
||||
denom = denom.substring(1)
|
||||
} else if (denom === 'BASECRO') {
|
||||
denom = 'CRO'
|
||||
} else if (denom.startsWith('IBC')) {
|
||||
denom = 'IBC...'
|
||||
} else if (denom.startsWith('NANOLIKE')) {
|
||||
denom = 'LIKE'
|
||||
} else if (denom.startsWith('APHOTON')) {
|
||||
denom = 'PHOTON'
|
||||
}
|
||||
let denom = tokenDenom.denom_trace ? tokenDenom.denom_trace.base_denom : tokenDenom
|
||||
const config = Object.values(getLocalChains())
|
||||
|
||||
return denom
|
||||
config.forEach(x => {
|
||||
if (x.assets) {
|
||||
const asset = x.assets.find(a => (a.base === denom))
|
||||
if (asset) denom = asset.symbol
|
||||
}
|
||||
})
|
||||
|
||||
return denom.toUpperCase()
|
||||
}
|
||||
return ''
|
||||
}
|
||||
|
||||
export function getUnitAmount(amount, denom) {
|
||||
if (denom === 'boot') {
|
||||
return String(amount)
|
||||
}
|
||||
if (denom.startsWith('basecro')) {
|
||||
return String((Number(amount) * 100000000).toFixed())
|
||||
}
|
||||
if (denom.startsWith('rowan') || denom.startsWith('aphoton')) {
|
||||
// eslint-disable-next-line no-undef
|
||||
return (BigInt(amount) * 1000000000000000000n).toString()
|
||||
}
|
||||
if (denom.startsWith('nanolike')) {
|
||||
// eslint-disable-next-line no-undef
|
||||
return String((Number(amount) * 1000000000).toFixed())
|
||||
}
|
||||
return String((Number(amount) * 1000000).toFixed())
|
||||
let exp = 1
|
||||
const config = Object.values(getLocalChains())
|
||||
|
||||
config.forEach(x => {
|
||||
if (x.assets) {
|
||||
const asset = x.assets.find(a => (a.base === denom))
|
||||
if (asset) exp = asset.exponent
|
||||
}
|
||||
})
|
||||
// if (denom === 'boot') {
|
||||
// return String(amount)
|
||||
// }
|
||||
// if (denom.startsWith('basecro')) {
|
||||
// return String((Number(amount) * 100000000).toFixed())
|
||||
// }
|
||||
// if (denom.startsWith('rowan') || denom.startsWith('aphoton')) {
|
||||
// // eslint-disable-next-line no-undef
|
||||
// return (BigInt(amount) * 1000000000000000000n).toString()
|
||||
// }
|
||||
// if (denom.startsWith('nanolike')) {
|
||||
// // eslint-disable-next-line no-undef
|
||||
// return String((Number(amount) * 1000000000).toFixed())
|
||||
// }
|
||||
return String((Number(amount) * (10 ** exp)).toFixed())
|
||||
}
|
||||
|
||||
export function formatTokenAmount(tokenAmount, fraction = 2, denom = 'uatom') {
|
||||
let amount
|
||||
if (denom === 'boot') {
|
||||
amount = Number(tokenAmount)
|
||||
} else if (denom.startsWith('inj')) {
|
||||
// eslint-disable-next-line no-undef
|
||||
amount = Number(BigInt(Number(tokenAmount)) / 1000000000000000000n)
|
||||
// }
|
||||
} else if (denom === 'rowan' || denom === 'aphoton') {
|
||||
// eslint-disable-next-line no-undef
|
||||
amount = Number(BigInt(Number(tokenAmount)) / 1000000000000000000n)
|
||||
// }
|
||||
} else if (denom.startsWith('basecro')) {
|
||||
amount = Number(tokenAmount) / 100000000
|
||||
} else if (denom.startsWith('nanolike')) {
|
||||
amount = Number(tokenAmount) / 1000000000
|
||||
} else {
|
||||
amount = Number(tokenAmount) / 1000000
|
||||
}
|
||||
let amount = 0
|
||||
|
||||
let exp = 1
|
||||
const config = Object.values(getLocalChains())
|
||||
|
||||
config.forEach(x => {
|
||||
if (x.assets) {
|
||||
const asset = x.assets.find(a => (a.base === denom))
|
||||
if (asset) exp = asset.exponent
|
||||
}
|
||||
})
|
||||
amount = Number(Number(tokenAmount)) / (10 ** exp)
|
||||
|
||||
// if (denom === 'boot') {
|
||||
// amount = Number(tokenAmount)
|
||||
// } else if (denom.startsWith('inj')) {
|
||||
// // eslint-disable-next-line no-undef
|
||||
// amount = Number(BigInt(Number(tokenAmount)) / 1000000000000000000n)
|
||||
// // }
|
||||
// } else if (denom === 'rowan' || denom === 'aphoton') {
|
||||
// // eslint-disable-next-line no-undef
|
||||
// amount = Number(BigInt(Number(tokenAmount)) / 1000000000000000000n)
|
||||
// // }
|
||||
// } else if (denom.startsWith('basecro')) {
|
||||
// amount = Number(tokenAmount) / 100000000
|
||||
// } else if (denom.startsWith('nanolike')) {
|
||||
// amount = Number(tokenAmount) / 1000000000
|
||||
// } else {
|
||||
// amount = Number(tokenAmount) / 1000000
|
||||
// }
|
||||
if (amount > 10) {
|
||||
return parseFloat(amount.toFixed(fraction))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user