Updated on 2026-08-14

This commit is contained in:
Tangem 2026-04-15 14:55:01 +04:00
parent 304e6d0c5c
commit 58259ab372
4 changed files with 10 additions and 1 deletions

View file

@ -83,5 +83,9 @@
{
"name": "SOLANA_SCALED_UI_AMOUNT_ENABLED",
"version": "undefined"
},
{
"name": "HEDERA_ERC20_ENABLED",
"version": "5.37"
}
]

View file

@ -5,7 +5,7 @@
# https://github.com/tangem/tangem-sdk-android/
# https://github.com/tangem/vico
tangemBlockchainSdk = "releases-5.37-1490"
tangemBlockchainSdk = "releases-5.37-1494"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "releases-5.37-603"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^

View file

@ -25,6 +25,7 @@ internal class WalletManagerFactoryCreator @Inject constructor(
private val blockchainSDKLogger: BlockchainSDKLogger,
private val isSolanaTxHistoryEnabled: Boolean,
private val isSolanaScaledUiAmountEnabled: Boolean,
private val isHederaErc20Enabled: Boolean,
) {
fun create(config: BlockchainSdkConfig, blockchainProviderTypes: BlockchainProviderTypes): WalletManagerFactory {
@ -39,6 +40,7 @@ internal class WalletManagerFactoryCreator @Inject constructor(
isPendingTransactionsEnabled = true,
isSolanaTxHistoryEnabled = isSolanaTxHistoryEnabled,
isSolanaScaledUiAmountEnabled = isSolanaScaledUiAmountEnabled,
isHederaErc20Enabled = isHederaErc20Enabled,
),
blockchainDataStorage = blockchainDataStorage,
loggers = listOf(blockchainSDKLogger),

View file

@ -103,6 +103,9 @@ internal object BlockchainSDKFactoryModule {
isSolanaScaledUiAmountEnabled = featureTogglesManager.isFeatureEnabled(
FeatureToggles.SOLANA_SCALED_UI_AMOUNT_ENABLED,
),
isHederaErc20Enabled = featureTogglesManager.isFeatureEnabled(
FeatureToggles.HEDERA_ERC20_ENABLED,
),
)
}
}