Skip to content

Commit

Permalink
Merge pull request #292 from terra-money/add-kava
Browse files Browse the repository at this point in the history
Add Kava
  • Loading branch information
alecande11 authored Apr 2, 2024
2 parents 319d9c6 + 826e08f commit 6f76630
Show file tree
Hide file tree
Showing 18 changed files with 164 additions and 5 deletions.
1 change: 1 addition & 0 deletions chains/mainnet/akash.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/{}',
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/celestia.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
channels: {
'osmosis-1': 'channel-2',
'phoenix-1': 'channel-15',
'kava_2222-10': 'channel-13',
},
icsChannels: {},
explorer: {
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/cosmoshub.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
'stafihub-1': 'channel-369',
'neutron-1': 'channel-569',
'injective-1': 'channel-220',
'kava_2222-10': 'channel-277',
'Oraichain': 'channel-301',
},
explorer: {
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/dydx.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/injective.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
'osmosis-1': 'channel-8',
'stride-1': 'channel-89',
'kaiyo-1': 'channel-98',
'kava_2222-10': 'channel-143',
'Oraichain': 'channel-147',
},
explorer: {
Expand Down
69 changes: 69 additions & 0 deletions chains/mainnet/kava.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
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',
'akashnet-2': 'channel-5',
},
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: 'erc20/tether/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,
},
{
token: 'usdx',
symbol: 'USDX',
name: 'USDX',
icon: process.env.CF_PAGES_URL + '/img/coins/usdx.svg',
decimals: 6,
},
],
};
1 change: 1 addition & 0 deletions chains/mainnet/kujira.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/migaloo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/{}',
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/neutron.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 2 additions & 1 deletion chains/mainnet/osmosis.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
'Oraichain': 'channel-216',
},
explorer: {
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/sei.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/{}',
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/terra.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
16 changes: 16 additions & 0 deletions img/chains/Kava.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions img/coins/HARD.svg
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 img/coins/Kava.svg
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 img/coins/SWP.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions img/coins/USDT.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions img/coins/usdx.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6f76630

Please sign in to comment.