From 3af97b1ad5a0325b8e8e51eb4d6af167f249ee06 Mon Sep 17 00:00:00 2001
From: Alessandro Candeago <54709706+alecande11@users.noreply.github.com>
Date: Sat, 23 Mar 2024 13:47:03 +0000
Subject: [PATCH 1/2] Add Kava
---
chains/mainnet/celestia.js | 3 +-
chains/mainnet/cosmoshub.js | 1 +
chains/mainnet/dydx.js | 1 +
chains/mainnet/injective.js | 1 +
chains/mainnet/kava.js | 61 +++++++++++++++++++++++++++++++++++++
chains/mainnet/kujira.js | 1 +
chains/mainnet/migaloo.js | 1 +
chains/mainnet/neutron.js | 1 +
chains/mainnet/osmosis.js | 3 +-
chains/mainnet/sei.js | 1 +
chains/mainnet/terra.js | 1 +
img/chains/Kava.svg | 16 ++++++++++
img/coins/HARD.svg | 14 +++++++++
img/coins/Kava.svg | 16 ++++++++++
img/coins/SWP.svg | 16 ++++++++++
img/coins/USDT.svg | 5 +--
16 files changed, 136 insertions(+), 6 deletions(-)
create mode 100644 chains/mainnet/kava.js
create mode 100644 img/chains/Kava.svg
create mode 100644 img/coins/HARD.svg
create mode 100644 img/coins/Kava.svg
create mode 100644 img/coins/SWP.svg
diff --git a/chains/mainnet/celestia.js b/chains/mainnet/celestia.js
index 28cd644d..cde120fa 100644
--- a/chains/mainnet/celestia.js
+++ b/chains/mainnet/celestia.js
@@ -11,7 +11,8 @@ module.exports = {
icon: process.env.CF_PAGES_URL + '/img/chains/Celestia.svg',
channels: {
'osmosis-1': 'channel-2',
- 'phoenix-1': 'channel-15'
+ 'phoenix-1': 'channel-15',
+ 'kava_2222-10': 'channel-13',
},
icsChannels: {},
explorer: {
diff --git a/chains/mainnet/cosmoshub.js b/chains/mainnet/cosmoshub.js
index c0a0a693..f720984a 100644
--- a/chains/mainnet/cosmoshub.js
+++ b/chains/mainnet/cosmoshub.js
@@ -24,6 +24,7 @@ module.exports = {
'stafihub-1': 'channel-369',
'neutron-1': 'channel-569',
'injective-1': 'channel-220',
+ 'kava_2222-10': 'channel-277',
},
explorer: {
address: 'https://www.mintscan.io/cosmos/account/{}',
diff --git a/chains/mainnet/dydx.js b/chains/mainnet/dydx.js
index 54c1fab1..ca9edd56 100644
--- a/chains/mainnet/dydx.js
+++ b/chains/mainnet/dydx.js
@@ -19,6 +19,7 @@ module.exports = {
'osmosis-1': 'channel-3',
'stride-1': 'channel-1',
'phoenix-1': 'channel-9',
+ 'kava_2222-10': 'channel-7',
},
icsChannels: {},
explorer: {
diff --git a/chains/mainnet/injective.js b/chains/mainnet/injective.js
index 300cf855..2b699288 100644
--- a/chains/mainnet/injective.js
+++ b/chains/mainnet/injective.js
@@ -18,6 +18,7 @@ module.exports = {
'osmosis-1': 'channel-8',
'stride-1': 'channel-89',
'kaiyo-1': 'channel-98',
+ 'kava_2222-10': 'channel-143',
},
explorer: {
address: 'https://www.mintscan.io/injective/account/{}',
diff --git a/chains/mainnet/kava.js b/chains/mainnet/kava.js
new file mode 100644
index 00000000..bebec2da
--- /dev/null
+++ b/chains/mainnet/kava.js
@@ -0,0 +1,61 @@
+module.exports = {
+ chainID: 'kava_2222-10',
+ lcd: 'https://lcd-kava.tfl.foundation',
+ gasAdjustment: 1.75,
+ gasPrices: { ukava: 0.1 },
+ prefix: 'kava',
+ coinType: '459',
+ baseAsset: 'ukava',
+ name: 'Kava',
+ icon: process.env.CF_PAGES_URL + '/img/chains/Kava.svg',
+ // used by Station to decide which endpoint to use
+ version: '0.46',
+ channels: {
+ 'celestia': 'channel-140',
+ 'cosmoshub-4': 'channel-0',
+ 'dydx-mainnet-1': 'channel-137',
+ 'injective-1': 'channel-122',
+ 'kaiyo-1': 'channel-116',
+ 'migaloo-1': 'channel-120',
+ 'neutron-1': 'channel-136',
+ 'osmosis-1': 'channel-1',
+ 'pacific-1': 'channel-132',
+ 'phoenix-1': 'channel-138',
+ },
+ explorer: {
+ address: 'https://www.mintscan.io/kava/account/{}',
+ tx: 'https://www.mintscan.io/kava/txs/{}',
+ validator: 'https://www.mintscan.io/kava/validators/{}',
+ block: 'https://www.mintscan.io/kava/blocks/id/{}',
+ },
+ tokens: [
+ {
+ token: 'ukava',
+ symbol: 'KAVA',
+ name: 'Kava',
+ icon: process.env.CF_PAGES_URL + '/img/coins/Kava.svg',
+ decimals: 6,
+ },
+ {
+ token: 'usdt',
+ symbol: 'USDT',
+ name: 'Tether USD',
+ icon: process.env.CF_PAGES_URL + '/img/coins/USDT.svg',
+ decimals: 6,
+ },
+ {
+ token: 'hard',
+ symbol: 'HARD',
+ name: 'Kava Hard',
+ icon: process.env.CF_PAGES_URL + '/img/coins/HARD.svg',
+ decimals: 6,
+ },
+ {
+ token: 'swp',
+ symbol: 'SWP',
+ name: 'Kava Swap',
+ icon: process.env.CF_PAGES_URL + '/img/coins/SWP.svg',
+ decimals: 6,
+ },
+ ],
+};
diff --git a/chains/mainnet/kujira.js b/chains/mainnet/kujira.js
index 20831042..14b4e616 100644
--- a/chains/mainnet/kujira.js
+++ b/chains/mainnet/kujira.js
@@ -46,6 +46,7 @@ module.exports = {
'injective-1': 'channel-54',
'dydx-mainnet-1': 'channel-118',
'stargaze-1': 'channel-7',
+ 'kava_2222-10': 'channel-95',
// 'andromeda-1': 'channel-123',
},
alliance: true,
diff --git a/chains/mainnet/migaloo.js b/chains/mainnet/migaloo.js
index edd26ccd..0e8bc07c 100644
--- a/chains/mainnet/migaloo.js
+++ b/chains/mainnet/migaloo.js
@@ -19,6 +19,7 @@ module.exports = {
'pacific-1': 'channel-52',
'injective-1': 'channel-3',
'noble-1': 'channel-60',
+ 'kava_2222-10': 'channel-48',
},
explorer: {
address: 'https://ping.pub/Migaloo/account/{}',
diff --git a/chains/mainnet/neutron.js b/chains/mainnet/neutron.js
index 02fc8bd6..6af09cfe 100644
--- a/chains/mainnet/neutron.js
+++ b/chains/mainnet/neutron.js
@@ -25,6 +25,7 @@ module.exports = {
'kaiyo-1': 'channel-3',
'phoenix-1': 'channel-25',
'stargaze-1': 'channel-18',
+ 'kava_2222-10': 'channel-36',
},
icsChannels: {},
explorer: {
diff --git a/chains/mainnet/osmosis.js b/chains/mainnet/osmosis.js
index b63f7acb..e453e286 100644
--- a/chains/mainnet/osmosis.js
+++ b/chains/mainnet/osmosis.js
@@ -38,9 +38,10 @@ module.exports = {
'noble-1': 'channel-750',
'pacific-1': 'channel-782',
'injective-1': 'channel-122',
- celestia: 'channel-6994',
+ 'celestia': 'channel-6994',
'dydx-mainnet-1': 'channel-6787',
'stargaze-1': 'channel-75',
+ 'kava_2222-10': 'channel-143',
},
explorer: {
address: 'https://www.mintscan.io/osmosis/account/{}',
diff --git a/chains/mainnet/sei.js b/chains/mainnet/sei.js
index 6eb92c32..8d4d0727 100644
--- a/chains/mainnet/sei.js
+++ b/chains/mainnet/sei.js
@@ -15,6 +15,7 @@ module.exports = {
'cosmoshub-4': 'channel-1',
'migaloo-1': 'channel-10',
'stride-1': 'channel-11',
+ 'kava_2222-10': 'channel-18'
},
explorer: {
address: 'https://www.mintscan.io/sei/account/{}',
diff --git a/chains/mainnet/terra.js b/chains/mainnet/terra.js
index e8345017..75445da9 100644
--- a/chains/mainnet/terra.js
+++ b/chains/mainnet/terra.js
@@ -38,6 +38,7 @@ module.exports = {
'celestia': 'channel-300',
'stargaze-1': 'channel-324',
'andromeda-1': 'channel-351',
+ 'kava_2222-10': 'channel-272',
},
// NEW ICS CHANNELS
ics20Channels: {
diff --git a/img/chains/Kava.svg b/img/chains/Kava.svg
new file mode 100644
index 00000000..6033073f
--- /dev/null
+++ b/img/chains/Kava.svg
@@ -0,0 +1,16 @@
+
+
+
diff --git a/img/coins/HARD.svg b/img/coins/HARD.svg
new file mode 100644
index 00000000..bf893d4d
--- /dev/null
+++ b/img/coins/HARD.svg
@@ -0,0 +1,14 @@
+
+
+
diff --git a/img/coins/Kava.svg b/img/coins/Kava.svg
new file mode 100644
index 00000000..6033073f
--- /dev/null
+++ b/img/coins/Kava.svg
@@ -0,0 +1,16 @@
+
+
+
diff --git a/img/coins/SWP.svg b/img/coins/SWP.svg
new file mode 100644
index 00000000..2dd02e5c
--- /dev/null
+++ b/img/coins/SWP.svg
@@ -0,0 +1,16 @@
+
+
+
diff --git a/img/coins/USDT.svg b/img/coins/USDT.svg
index 08dc462c..3efaa649 100644
--- a/img/coins/USDT.svg
+++ b/img/coins/USDT.svg
@@ -1,4 +1 @@
-
+
\ No newline at end of file
From 9f75d86fde9a793572b0a031cc927e569a788de1 Mon Sep 17 00:00:00 2001
From: Terence Lim
Date: Wed, 27 Mar 2024 21:10:16 +0800
Subject: [PATCH 2/2] Added akash IBC channel, usdx and updated usdt
---
chains/mainnet/akash.js | 1 +
chains/mainnet/kava.js | 12 ++++++++++--
img/coins/usdx.svg | 20 ++++++++++++++++++++
3 files changed, 31 insertions(+), 2 deletions(-)
create mode 100644 img/coins/usdx.svg
diff --git a/chains/mainnet/akash.js b/chains/mainnet/akash.js
index 578d3c1a..c660025c 100644
--- a/chains/mainnet/akash.js
+++ b/chains/mainnet/akash.js
@@ -15,6 +15,7 @@ module.exports = {
'juno-1': 'channel-35',
'kaiyo-1': 'channel-63',
'osmosis-1': 'channel-9',
+ 'kava_2222-10': 'channel-37',
},
explorer: {
address: 'https://www.mintscan.io/akash/account/{}',
diff --git a/chains/mainnet/kava.js b/chains/mainnet/kava.js
index bebec2da..84292bbb 100644
--- a/chains/mainnet/kava.js
+++ b/chains/mainnet/kava.js
@@ -21,6 +21,7 @@ module.exports = {
'osmosis-1': 'channel-1',
'pacific-1': 'channel-132',
'phoenix-1': 'channel-138',
+ 'akashnet-2': 'channel-5',
},
explorer: {
address: 'https://www.mintscan.io/kava/account/{}',
@@ -37,12 +38,12 @@ module.exports = {
decimals: 6,
},
{
- token: 'usdt',
+ token: 'erc20/tether/usdt',
symbol: 'USDT',
name: 'Tether USD',
icon: process.env.CF_PAGES_URL + '/img/coins/USDT.svg',
decimals: 6,
- },
+ },
{
token: 'hard',
symbol: 'HARD',
@@ -57,5 +58,12 @@ module.exports = {
icon: process.env.CF_PAGES_URL + '/img/coins/SWP.svg',
decimals: 6,
},
+ {
+ token: 'usdx',
+ symbol: 'USDX',
+ name: 'USDX',
+ icon: process.env.CF_PAGES_URL + '/img/coins/usdx.svg',
+ decimals: 6,
+ },
],
};
diff --git a/img/coins/usdx.svg b/img/coins/usdx.svg
new file mode 100644
index 00000000..cf3e1f55
--- /dev/null
+++ b/img/coins/usdx.svg
@@ -0,0 +1,20 @@
+
+
+