Updated on 2026-08-14

This commit is contained in:
Tangem 2024-07-09 12:44:23 +03:00
parent 6bfec8a888
commit 46ff455a6f
4 changed files with 4 additions and 0 deletions

View file

@ -103,6 +103,7 @@ internal class ConfigManagerImpl @Inject constructor() : ConfigManager {
polygonScanApiKey = configValues.polygonScanApiKey,
bittensorDwellirApiKey = configValues.bittensorDwellirApiKey,
bittensorOnfinalityApiKey = configValues.bittensorOnfinalityKey,
koinosProApiKey = configValues.koinosProApiKey,
),
amplitudeApiKey = configValues.amplitudeApiKey,
sprinklr = configValues.sprinklr,

View file

@ -46,6 +46,7 @@ class ConfigValueModel(
val stakeKitApiKey: String?,
@Json(name = "bittensorDwellirKey") val bittensorDwellirApiKey: String?,
@Json(name = "bittensorOnfinalityKey") val bittensorOnfinalityKey: String?,
@Json(name = "koinosProApiKey") val koinosProApiKey: String?,
)
@JsonClass(generateAdapter = true)

View file

@ -41,6 +41,7 @@ internal object BlockchainSDKConfigConverter : Converter<ConfigValueModel, Block
polygonScanApiKey = value.polygonScanApiKey,
bittensorDwellirApiKey = value.bittensorDwellirApiKey,
bittensorOnfinalityApiKey = value.bittensorOnfinalityKey,
koinosProApiKey = value.koinosProApiKey,
)
}

View file

@ -24,6 +24,7 @@ fun createPrivateProviderType(name: String): ProviderType? {
"tron" -> ProviderType.Tron.TronGrid
"dwellirBittensor" -> ProviderType.Bittensor.Dwellir
"onfinalityBittensor" -> ProviderType.Bittensor.Onfinality
"koinospro" -> ProviderType.Koinos.KoinosPro
else -> {
Timber.e("Private provider with name $name is not supported")
null