diff --git a/app/src/main/assets/testnet_tokens.json b/app/src/main/assets/testnet_tokens.json
index 30fa60f3c4..67b96dd4a9 100644
--- a/app/src/main/assets/testnet_tokens.json
+++ b/app/src/main/assets/testnet_tokens.json
@@ -749,6 +749,16 @@
}
]
},
+ {
+ "id": "chiliz",
+ "name": "Chiliz",
+ "symbol": "CHZ",
+ "networks": [
+ {
+ "networkId": "chiliz/test"
+ }
+ ]
+ },
{
"id": "casper-network",
"name": "Casper",
diff --git a/app/src/main/java/com/tangem/tap/network/exchangeServices/mercuryo/MercuryoBlockchainMapping.kt b/app/src/main/java/com/tangem/tap/network/exchangeServices/mercuryo/MercuryoBlockchainMapping.kt
index 946d2afce1..9a930fdf76 100644
--- a/app/src/main/java/com/tangem/tap/network/exchangeServices/mercuryo/MercuryoBlockchainMapping.kt
+++ b/app/src/main/java/com/tangem/tap/network/exchangeServices/mercuryo/MercuryoBlockchainMapping.kt
@@ -138,6 +138,8 @@ internal val Blockchain.mercuryoNetwork: String?
Blockchain.CasperTestnet -> null
Blockchain.Core -> null
Blockchain.CoreTestnet -> null
+ Blockchain.Chiliz -> null
+ Blockchain.ChilizTestnet -> null
Blockchain.Unknown -> null
Blockchain.Xodex -> null
Blockchain.Canxium -> null
diff --git a/app/src/main/java/com/tangem/tap/network/exchangeServices/moonpay/MoonpayBlockchainMapping.kt b/app/src/main/java/com/tangem/tap/network/exchangeServices/moonpay/MoonpayBlockchainMapping.kt
index fb01fff927..bce26d7a6a 100644
--- a/app/src/main/java/com/tangem/tap/network/exchangeServices/moonpay/MoonpayBlockchainMapping.kt
+++ b/app/src/main/java/com/tangem/tap/network/exchangeServices/moonpay/MoonpayBlockchainMapping.kt
@@ -43,6 +43,7 @@ internal val Blockchain.moonPaySupportedCurrency: MoonPaySupportedCurrency?
Filecoin -> MoonPaySupportedCurrency(networkCode = "filecoin", currencyCode = "fil")
Sui -> MoonPaySupportedCurrency(networkCode = "sui", currencyCode = "sui")
Core -> MoonPaySupportedCurrency(networkCode = "core", currencyCode = "core")
+ Chiliz -> MoonPaySupportedCurrency(networkCode = "ethereum", currencyCode = "chz")
ArbitrumTestnet -> null
AvalancheTestnet -> null
BinanceTestnet -> null
@@ -139,6 +140,7 @@ internal val Blockchain.moonPaySupportedCurrency: MoonPaySupportedCurrency?
Casper -> null
CasperTestnet -> null
CoreTestnet -> null
+ ChilizTestnet -> null
Unknown -> null
Xodex -> null
Canxium -> null
diff --git a/core/ui/src/main/java/com/tangem/core/ui/extensions/BlockchainIcons.kt b/core/ui/src/main/java/com/tangem/core/ui/extensions/BlockchainIcons.kt
index 28de4a0d24..5aa40111d8 100644
--- a/core/ui/src/main/java/com/tangem/core/ui/extensions/BlockchainIcons.kt
+++ b/core/ui/src/main/java/com/tangem/core/ui/extensions/BlockchainIcons.kt
@@ -82,6 +82,7 @@ fun getActiveIconRes(blockchainId: String): Int {
"casper", "casper/test" -> R.drawable.img_casper_22
"xodex" -> R.drawable.img_xodex_22
"canxium" -> R.drawable.img_canxium_22
+ "chiliz", "chiliz/test" -> R.drawable.img_chiliz_22
else -> R.drawable.ic_alert_24
}
}
@@ -162,6 +163,7 @@ fun getActiveIconResByCoinId(coinId: String): Int {
"casper-network" -> R.drawable.img_casper_22
"xodex" -> R.drawable.img_xodex_22
"canxium" -> R.drawable.img_canxium_22
+ "chiliz", "chiliz/test" -> R.drawable.img_chiliz_22
else -> R.drawable.ic_alert_24
}
}
@@ -245,6 +247,7 @@ fun getGreyedOutIconRes(blockchainId: String): Int {
"casper", "casper/test" -> R.drawable.ic_casper_22
"xodex" -> R.drawable.ic_xodex_22
"canxium" -> R.drawable.ic_canxium_22
+ "chiliz", "chiliz/test" -> R.drawable.ic_chiliz_22
else -> R.drawable.ic_alert_24
}
}
\ No newline at end of file
diff --git a/core/ui/src/main/res/drawable/ic_chiliz_22.xml b/core/ui/src/main/res/drawable/ic_chiliz_22.xml
new file mode 100644
index 0000000000..8d1f446943
--- /dev/null
+++ b/core/ui/src/main/res/drawable/ic_chiliz_22.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/core/ui/src/main/res/drawable/img_chiliz_22.xml b/core/ui/src/main/res/drawable/img_chiliz_22.xml
new file mode 100644
index 0000000000..70f61bbde0
--- /dev/null
+++ b/core/ui/src/main/res/drawable/img_chiliz_22.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
diff --git a/features/swap/domain/src/main/java/com/tangem/feature/swap/domain/SwapInteractorImpl.kt b/features/swap/domain/src/main/java/com/tangem/feature/swap/domain/SwapInteractorImpl.kt
index 77aa2d704c..436f3cbc1e 100644
--- a/features/swap/domain/src/main/java/com/tangem/feature/swap/domain/SwapInteractorImpl.kt
+++ b/features/swap/domain/src/main/java/com/tangem/feature/swap/domain/SwapInteractorImpl.kt
@@ -1045,6 +1045,8 @@ internal class SwapInteractorImpl @AssistedInject constructor(
Blockchain.CasperTestnet,
Blockchain.Core,
Blockchain.CoreTestnet,
+ Blockchain.Chiliz,
+ Blockchain.ChilizTestnet,
Blockchain.Xodex,
Blockchain.Canxium,
-> Fee.Common(feeAmount)
diff --git a/gradle/dependencies.toml b/gradle/dependencies.toml
index 5988269248..5d31f72ead 100644
--- a/gradle/dependencies.toml
+++ b/gradle/dependencies.toml
@@ -88,7 +88,7 @@ markdownComposeView = "0.5.4"
# endregion Other libraries
# region Tangem
-tangemBlockchainSdk = "develop-848"
+tangemBlockchainSdk = "develop-860"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "develop-397"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
diff --git a/libs/blockchain-sdk/src/main/java/com/tangem/blockchainsdk/utils/Blockchain.kt b/libs/blockchain-sdk/src/main/java/com/tangem/blockchainsdk/utils/Blockchain.kt
index 41bc95a6f8..a9830d7036 100644
--- a/libs/blockchain-sdk/src/main/java/com/tangem/blockchainsdk/utils/Blockchain.kt
+++ b/libs/blockchain-sdk/src/main/java/com/tangem/blockchainsdk/utils/Blockchain.kt
@@ -138,6 +138,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
"core/test" -> Blockchain.CoreTestnet
"casper-network" -> Blockchain.Casper
"casper-network/test" -> Blockchain.CasperTestnet
+ "chiliz" -> Blockchain.Chiliz
+ "chiliz/test" -> Blockchain.ChilizTestnet
"xodex" -> Blockchain.Xodex
"canxium" -> Blockchain.Canxium
else -> null
@@ -277,6 +279,8 @@ fun Blockchain.toNetworkId(): String {
Blockchain.CasperTestnet -> "casper-network/test"
Blockchain.Core -> "core"
Blockchain.CoreTestnet -> "core/test"
+ Blockchain.Chiliz -> "chiliz"
+ Blockchain.ChilizTestnet -> "chiliz/test"
Blockchain.Xodex -> "xodex"
Blockchain.Canxium -> "canxium"
}
@@ -368,6 +372,7 @@ fun Blockchain.toCoinId(): String {
Blockchain.EnergyWebX, Blockchain.EnergyWebXTestnet -> "energy-web-token"
Blockchain.Casper, Blockchain.CasperTestnet -> "casper-network"
Blockchain.Core, Blockchain.CoreTestnet -> "coredaoorg"
+ Blockchain.Chiliz, Blockchain.ChilizTestnet -> "chiliz"
Blockchain.Xodex -> "xodex"
Blockchain.Canxium -> "canxium"
}