Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-22 16:12:30 +05:00
parent 3ffffa73ec
commit 616386c345
18 changed files with 310 additions and 125 deletions

View file

@ -3,6 +3,7 @@ package com.tangem.domain.card.common.visa
import com.tangem.blockchain.common.Blockchain
import com.tangem.blockchain.common.derivation.DerivationStyle
import com.tangem.common.card.FirmwareVersion
import com.tangem.crypto.hdWallet.DerivationPath
import com.tangem.domain.models.scan.CardDTO
private const val VISA_BATCH_START = "AE"
@ -16,6 +17,7 @@ object VisaUtilities {
val visaDefaultDerivationPath
get() = visaBlockchain.derivationPath(DerivationStyle.V3)
val customDerivationPath = DerivationPath("m/44'/60'/999999'/0/0")
fun visaDefaultDerivationPath(style: DerivationStyle) = visaBlockchain.derivationPath(style)