Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-05 14:01:26 +03:00
commit 9aacdb2ed3
695 changed files with 22022 additions and 5116 deletions

View file

@ -11,7 +11,7 @@ internal enum class ProviderTypeIdMapping(val id: String, val providerType: Prov
BitcoinBlockcypher(id = "blockcypher", providerType = ProviderType.BitcoinLike.Blockcypher),
CardanoAdalite(id = "adalite", providerType = ProviderType.Cardano.Adalite),
CardanoRosetta(id = "tangemRosetta", providerType = ProviderType.Cardano.Rosetta),
CardanoMock(id = "mock", providerType = ProviderType.Mock),
WireMock(id = "mock", providerType = ProviderType.Mock),
ChiaFireAcademy(id = "fireAcademy", providerType = ProviderType.Chia.FireAcademy),
ChiaTangem(id = "tangemChia", providerType = ProviderType.Chia.Tangem),
ChiaTangemNew(id = "tangemChia3", providerType = ProviderType.Chia.TangemNew),

View file

@ -169,9 +169,9 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
"hyperevm/test" -> Blockchain.HyperliquidTestnet
"quai-network" -> Blockchain.Quai
"quai-network/test" -> Blockchain.QuaiTestnet
// "linea" -> Blockchain.Linea
// "linea/test" -> Blockchain.LineaTestnet
// "arbitrum-nova" -> Blockchain.ArbitrumNova
"linea" -> Blockchain.Linea
"linea/test" -> Blockchain.LineaTestnet
"arbitrum-nova" -> Blockchain.ArbitrumNova
else -> null
}
}
@ -338,9 +338,9 @@ fun Blockchain.toNetworkId(): String {
Blockchain.HyperliquidTestnet -> "hyperevm/test"
Blockchain.Quai -> "quai-network"
Blockchain.QuaiTestnet -> "quai-network/test"
// Blockchain.Linea -> "linea"
// Blockchain.LineaTestnet -> "linea/test"
// Blockchain.ArbitrumNova -> "arbitrum-nova"
Blockchain.Linea -> "linea"
Blockchain.LineaTestnet -> "linea/test"
Blockchain.ArbitrumNova -> "arbitrum-nova"
}
}
@ -446,8 +446,8 @@ fun Blockchain.toCoinId(): String {
Blockchain.Pepecoin, Blockchain.PepecoinTestnet -> "pepecoin-network"
Blockchain.Hyperliquid, Blockchain.HyperliquidTestnet -> "hyperliquid"
Blockchain.Quai, Blockchain.QuaiTestnet -> "quai-network"
// Blockchain.Linea, Blockchain.LineaTestnet -> "linea-ethereum"
// Blockchain.ArbitrumNova -> "arbitrum-nova-ethereum"
Blockchain.Linea, Blockchain.LineaTestnet -> "linea-ethereum"
Blockchain.ArbitrumNova -> "arbitrum-nova-ethereum"
}
}

View file

@ -168,8 +168,8 @@ class AccountNodeRecognizer(private val blockchain: Blockchain) {
Blockchain.Pepecoin,
Blockchain.Hyperliquid,
Blockchain.Scroll,
// Blockchain.Linea,
// Blockchain.ArbitrumNova,
Blockchain.Linea,
Blockchain.ArbitrumNova,
Blockchain.Quai,
-> true
Blockchain.Nexa, // unsupported network
@ -244,7 +244,7 @@ class AccountNodeRecognizer(private val blockchain: Blockchain) {
Blockchain.PepecoinTestnet,
Blockchain.HyperliquidTestnet,
Blockchain.QuaiTestnet,
// Blockchain.LineaTestnet,
Blockchain.LineaTestnet,
-> false
// endregion
}

View file

@ -16,7 +16,10 @@ import com.tangem.crypto.hdWallet.bip32.ExtendedPublicKey
import com.tangem.domain.models.scan.CardDTO
import com.tangem.domain.models.scan.ScanResponse
import com.tangem.domain.models.wallet.UserWalletId
import com.tangem.domain.visa.model.*
import com.tangem.domain.visa.model.TangemPayInitialCredentials
import com.tangem.domain.visa.model.VisaActivationInput
import com.tangem.domain.visa.model.VisaDataForApprove
import com.tangem.domain.visa.model.VisaSignedDataByCustomerWallet
import com.tangem.operations.derivation.DerivationTaskResponse
import com.tangem.operations.preflightread.PreflightReadFilter
import com.tangem.operations.wallet.CreateWalletResponse
@ -156,5 +159,6 @@ interface TangemSdkManager {
visaDataForApprove: VisaDataForApprove,
): CompletionResult<VisaSignedDataByCustomerWallet>
suspend fun tangemPayProduceInitialCredentials(cardId: String): CompletionResult<TangemPayInitialCredentials>
// endregion
}