Skip to content

Commit

Permalink
fix: add kusama as kusama asset hub coin
Browse files Browse the repository at this point in the history
  • Loading branch information
nahyunbak committed Dec 20, 2024
1 parent c09acfa commit 6183cd6
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 16 deletions.
12 changes: 8 additions & 4 deletions src/config/coinGecko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ import { CoinGeckoAsset } from './types';
"name": "KUJI",
"id": "kujira"
},
{
"name": "USDT Kusama",
"id": "tether"
},
{
"name": "QCK",
"id": "quicksilver"
Expand Down Expand Up @@ -426,6 +422,14 @@ import { CoinGeckoAsset } from './types';
{
"name": "stATOM",
"id": "stride-staked-atom"
},
{
"name": "USDT Kusama",
"id": "tether"
},
{
"name": "KSM",
"id": "kusama"
}
] ;

Expand Down
14 changes: 5 additions & 9 deletions src/config/crossChainAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ export const crossChainAssets :CrossChainAssets= {
"currentChainId": "solana"
},
"9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12": {
"chainId": "2087",
"chainId": "1000",
"decimals": 9,
"minimalDenom": "transfer/channel-1/transfer/channel-2/4",
"denom": "KSM",
Expand Down Expand Up @@ -1056,7 +1056,7 @@ export const crossChainAssets :CrossChainAssets= {
"currentChainId": "ethereum"
},
"0xB44D6C324A6c15127F1451465f1E1DbC39142A60": {
"chainId": "2087",
"chainId": "1000",
"decimals": 12,
"minimalDenom": "transfer/channel-2/transfer/channel-2/4",
"denom": "KSM",
Expand Down Expand Up @@ -1458,7 +1458,7 @@ export const crossChainAssets :CrossChainAssets= {
"currentChainId": "2087"
},
"4": {
"chainId": "2087",
"chainId": "1000",
"decimals": 12,
"minimalDenom": "4",
"denom": "KSM",
Expand Down Expand Up @@ -1818,15 +1818,11 @@ export const crossChainAssets :CrossChainAssets= {
"currentChainId": "2087"
},
"130": {
"chainId": "2087",
"chainId": "1000",
"decimals": 6,
"minimalDenom": "130",
"denom": "USDT Kusama",
"imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDT.svg",
"ratio": {
"n": "2",
"d": "10000000"
},
"imageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDTkusama.svg",
"currentChainId": "2087"
},
"149": {
Expand Down
30 changes: 29 additions & 1 deletion src/config/json/kusamaassethub.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"coinDenom": "USDT Kusama",
"coinDecimals": 6,
"isCoin": true,
"isCoin": false,

"coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/USDTkusama.svg",
"coinGeckoId": "tether",
Expand All @@ -33,6 +33,34 @@
},
"ethereum": {},
"solana": {}
},
{
"coinDenom": "KSM",
"isCoin": true,

"coinDecimals": 12,
"coinImageUrl": "https://raw.githubusercontent.com/ComposableFi/FE-assets/main/assets%20/tokens/KSM.svg",
"coinGeckoId": "kusama",
"cosmos": {},
"polkadot": {
"picassoAssetId": "4",
"composableAssetId": "",
"ratio": { "n": "70", "d": "10000" },
"existentialDeposit": "375000000"
},
"ethereum": {
"minimalDenom": "transfer/channel-2/transfer/channel-2/4",
"erc20Address": "0xB44D6C324A6c15127F1451465f1E1DbC39142A60",
"fromCosmosFee": 0.6,
"minimumTransfer": 1
},
"solana": {
"mintAddress": "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12",
"minimalDenom": "transfer/channel-1/transfer/channel-2/4",
"minimumTransfer": 1,
"fromCosmosFee": 0.3,
"displayDecimals": 9
}
}
],
"explorer": [
Expand Down
2 changes: 1 addition & 1 deletion src/config/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { NetworkInfo } from './types';
"rest": "",
"chainType": "polkadot",
"chainId": "1000",
"feeAssetId": "130",
"feeAssetId": "4",
"polkadot": {
"ss58Format": 2,
"isParachain": true,
Expand Down
2 changes: 1 addition & 1 deletion src/config/solanaAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const solanaAssets:Record<string, SolanaAsset> = {
},
"KSM": {
"mintAddress": "9m8kq5qhocfckRkRnhbAroPmR8zYaXugpyinpkpLnv12",
"minimumTransfer": 0.7,
"minimumTransfer": 1,
"fromCosmosFee": 0.3
},
"ARCH": {
Expand Down

0 comments on commit 6183cd6

Please sign in to comment.