Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axelar assets, non-IBC wallets disable on mobile #950

Merged
merged 13 commits into from
Nov 2, 2022
7 changes: 7 additions & 0 deletions packages/web/config/chain-infos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2301,6 +2301,13 @@ chainInfos.push({
coinGeckoId: "polkadot",
coinImageUrl: "/tokens/dot.svg",
},
{
coinDenom: "WBNB",
coinMinimalDenom: "wbnb-wei",
coinDecimals: 18,
coinGeckoId: "wbnb",
coinImageUrl: "/tokens/wbnb.svg",
},
],
feeCurrencies: [
{
Expand Down
187 changes: 118 additions & 69 deletions packages/web/config/ibc-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@ export const IBCAssetInfos: (IBCAsset & {
sourceChannelId: IS_TESTNET ? "channel-312" : "channel-208",
destChannelId: IS_TESTNET ? "channel-22" : "channel-3",
coinMinimalDenom: IS_TESTNET ? "uausdc" : "uusdc",
sourceChainNameOverride: IS_TESTNET ? "Ropsten Ethereum" : "Ethereum",
sourceChainNameOverride: IS_TESTNET ? "Goerli Ethereum" : "Ethereum",
isVerified: true,
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.usdc.ethereum],
sourceChains: [
AxelarSourceChainConfigs.usdc.ethereum,
AxelarSourceChainConfigs.usdc.moonbeam
],
},
},
{
Expand All @@ -47,7 +50,7 @@ export const IBCAssetInfos: (IBCAsset & {
sourceChannelId: IS_TESTNET ? "channel-312" : "channel-208",
destChannelId: IS_TESTNET ? "channel-22" : "channel-3",
coinMinimalDenom: "weth-wei",
sourceChainNameOverride: IS_TESTNET ? "Ropsten Ethereum" : "Ethereum",
sourceChainNameOverride: IS_TESTNET ? "Goerli Ethereum" : "Ethereum",
isVerified: true,
originBridgeInfo: {
bridge: "axelar" as const,
Expand All @@ -61,24 +64,28 @@ export const IBCAssetInfos: (IBCAsset & {
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "wbtc-satoshi",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=wbtc-satoshi",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=wbtc-satoshi",
sourceChainNameOverride: "Ethereum",
isVerified: true,
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.wbtc.ethereum],
},
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "dai-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=dai-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=dai-wei",
sourceChainNameOverride: "Ethereum",
isVerified: true,
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.dai.ethereum],
},
},
{
counterpartyChainId: "cosmoshub-4",
Expand All @@ -94,6 +101,20 @@ export const IBCAssetInfos: (IBCAsset & {
coinMinimalDenom: "basecro",
isVerified: true,
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "wbnb-wei",
sourceChainNameOverride: "Binance Smart Chain",
isVerified: false,
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.wbnb.binance],
},
},
{
counterpartyChainId: "juno-1",
sourceChannelId: "channel-42",
Expand All @@ -106,12 +127,14 @@ export const IBCAssetInfos: (IBCAsset & {
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "dot-planck",
depositUrlOverride:
"https://satellite.money/?source=moonbeam&destination=osmosis&asset_denom=dot-planck",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=moonbeam&asset_denom=dot-planck",
sourceChainNameOverride: "Moonbeam",
isVerified: true,
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.dot.moonbeam],
},
},
{
counterpartyChainId: "evmos_9001-2",
Expand Down Expand Up @@ -472,22 +495,26 @@ export const IBCAssetInfos: (IBCAsset & {
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "uusdt",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=uusdt",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=uusdt",
sourceChainNameOverride: "Ethereum",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.usdt.ethereum],
},
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "frax-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=frax-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=frax-wei",
sourceChainNameOverride: "Ethereum",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.frax.ethereum],
},
},
{
counterpartyChainId: "gravity-bridge-3",
Expand Down Expand Up @@ -623,12 +650,14 @@ export const IBCAssetInfos: (IBCAsset & {
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "link-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=link-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=link-wei",
sourceChainNameOverride: "Ethereum",
isVerified: true,
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.link.ethereum],
},
},
{
counterpartyChainId: "genesis_29-2",
Expand All @@ -641,89 +670,105 @@ export const IBCAssetInfos: (IBCAsset & {
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "aave-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=aave-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=aave-wei",
sourceChainNameOverride: "Ethereum",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.aave.ethereum],
},
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "ape-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=ape-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=ape-wei",
sourceChainNameOverride: "Ethereum",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.ape.ethereum],
},
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "axs-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=axs-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=axs-wei",
sourceChainNameOverride: "Ethereum",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.axs.ethereum],
},
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "mkr-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=mkr-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=mkr-wei",
sourceChainNameOverride: "Ethereum",
isVerified: true,
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.mkr.ethereum],
},
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "rai-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=rai-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=rai-wei",
sourceChainNameOverride: "Ethereum",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.rai.ethereum],
},
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "shib-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=shib-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=shib-wei",
sourceChainNameOverride: "Ethereum",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.shib.ethereum],
},
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "uni-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=uni-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=uni-wei",
sourceChainNameOverride: "Ethereum",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.uni.ethereum],
},
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "xcn-wei",
depositUrlOverride:
"https://satellite.money/?source=ethereum&destination=osmosis&asset_denom=xcn-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=ethereum&asset_denom=xcn-wei",
sourceChainNameOverride: "Ethereum",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.xcn.ethereum],
},
},
{
counterpartyChainId: "kaiyo-1",
Expand Down Expand Up @@ -779,16 +824,20 @@ export const IBCAssetInfos: (IBCAsset & {
"ki1hzz0s0ucrhdp6tue2lxk3c03nj6f60qy463we7lgx0wudd72ctmsd9kgha",
},
{
counterpartyChainId: "axelar-dojo-1",
sourceChannelId: "channel-208",
destChannelId: "channel-3",
coinMinimalDenom: "wglmr-wei",
depositUrlOverride:
"https://satellite.money/?source=moonbeam&destination=osmosis&asset_denom=wglmr-wei",
withdrawUrlOverride:
"https://satellite.money/?source=osmosis&destination=moonbeam&asset_denom=wglmr-wei",
sourceChainNameOverride: "Moonbeam",
},
counterpartyChainId: IS_TESTNET
? "axelar-testnet-lisbon-3"
: "axelar-dojo-1",
sourceChannelId: IS_TESTNET ? "channel-312" : "channel-208",
destChannelId: IS_TESTNET ? "channel-22" : "channel-3",
coinMinimalDenom: IS_TESTNET ? "wdev-wei" : "wglmr-wei",
sourceChainNameOverride: IS_TESTNET ? "Moonbase Alpha" : "Moonbeam",
originBridgeInfo: {
bridge: "axelar" as const,
wallets: ["metamask" as const, "walletconnect" as const],
method: "deposit-address" as const,
sourceChains: [AxelarSourceChainConfigs.wglmr.moonbeam],
},
},
{
counterpartyChainId: "juno-1",
sourceChannelId: "channel-169",
Expand Down
Loading