Updated on 2026-08-14

This commit is contained in:
Tangem 2024-12-13 13:43:03 +07:00
parent f3e60c8771
commit e7f65c8e85
8 changed files with 28 additions and 1 deletions

View file

@ -759,6 +759,16 @@
}
]
},
{
"id": "vanar-chain",
"name": "Vanar Chain",
"symbol": "VANRY",
"networks": [
{
"networkId": "vanar-chain/test"
}
]
},
{
"id": "casper-network",
"name": "Casper",

View file

@ -141,6 +141,8 @@ internal val Blockchain.mercuryoNetwork: String?
Blockchain.CoreTestnet -> null
Blockchain.Chiliz -> null
Blockchain.ChilizTestnet -> null
Blockchain.VanarChain -> null
Blockchain.VanarChainTestnet -> null
Blockchain.Unknown -> null
Blockchain.Xodex -> null
Blockchain.Canxium -> null

View file

@ -146,4 +146,6 @@ internal val Blockchain.moonPaySupportedCurrency: MoonPaySupportedCurrency?
Xodex -> null
Canxium -> null
Clore -> null
VanarChain -> null
VanarChainTestnet -> null
}

View file

@ -14,5 +14,9 @@
{
"name": "fact0rn",
"version": "undefined"
},
{
"name": "vanar-chain",
"version": "undefined"
}
]

View file

@ -290,6 +290,8 @@ private fun Blockchain.getSupportedTransactionExtras(): Network.TransactionExtra
Blockchain.Canxium,
Blockchain.Chiliz,
Blockchain.ChilizTestnet,
Blockchain.VanarChain,
Blockchain.VanarChainTestnet,
-> Network.TransactionExtrasType.NONE
// endregion
}

View file

@ -937,6 +937,8 @@ internal class SwapInteractorImpl @AssistedInject constructor(
Chiliz,
ChilizTestnet,
Clore,
VanarChain,
VanarChainTestnet,
-> Fee.Common(feeAmount)
// endregion
}

View file

@ -88,7 +88,7 @@ markdownComposeView = "0.5.4"
# endregion Other libraries
# region Tangem
tangemBlockchainSdk = "develop-890"
tangemBlockchainSdk = "develop-892"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "develop-416"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^

View file

@ -143,6 +143,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
"casper-network/test" -> Blockchain.CasperTestnet
"chiliz" -> Blockchain.Chiliz
"chiliz/test" -> Blockchain.ChilizTestnet
"vanar-chain" -> Blockchain.VanarChain
"vanar-chain/test" -> Blockchain.VanarChainTestnet
"xodex" -> Blockchain.Xodex
"canxium" -> Blockchain.Canxium
"clore-ai" -> Blockchain.Clore
@ -286,6 +288,8 @@ fun Blockchain.toNetworkId(): String {
Blockchain.CoreTestnet -> "core/test"
Blockchain.Chiliz -> "chiliz"
Blockchain.ChilizTestnet -> "chiliz/test"
Blockchain.VanarChain -> "vanar-chain"
Blockchain.VanarChainTestnet -> "vanar-chain/test"
Blockchain.Xodex -> "xodex"
Blockchain.Canxium -> "canxium"
Blockchain.Clore -> "clore-ai"
@ -380,6 +384,7 @@ fun Blockchain.toCoinId(): String {
Blockchain.Casper, Blockchain.CasperTestnet -> "casper-network"
Blockchain.Core, Blockchain.CoreTestnet -> "coredaoorg"
Blockchain.Chiliz, Blockchain.ChilizTestnet -> "chiliz"
Blockchain.VanarChain, Blockchain.VanarChainTestnet -> "vanar-chain"
Blockchain.Xodex -> "xodex"
Blockchain.Canxium -> "canxium"
Blockchain.Clore -> "clore-ai"