Updated on 2026-08-14
This commit is contained in:
parent
6aab25427d
commit
e04ac1fb2c
19 changed files with 273 additions and 8 deletions
|
|
@ -65,7 +65,9 @@ fun CardDTO.supportedBlockchains(
|
|||
*/
|
||||
private fun CardDTO.isBlockchainUnsupported(blockchain: Blockchain): Boolean {
|
||||
return when (blockchain) {
|
||||
Blockchain.Quai, Blockchain.QuaiTestnet -> {
|
||||
Blockchain.Quai, Blockchain.QuaiTestnet,
|
||||
Blockchain.Adi, Blockchain.AdiTestnet,
|
||||
-> {
|
||||
firmwareVersion <= FirmwareVersion.HDWalletAvailable
|
||||
}
|
||||
else -> false
|
||||
|
|
|
|||
|
|
@ -217,6 +217,8 @@ data object Wallet2CardConfig : CardConfig {
|
|||
Blockchain.ArbitrumNova -> EllipticCurve.Secp256k1
|
||||
Blockchain.Plasma -> EllipticCurve.Secp256k1
|
||||
Blockchain.PlasmaTestnet -> EllipticCurve.Secp256k1
|
||||
Blockchain.Adi -> EllipticCurve.Secp256k1
|
||||
Blockchain.AdiTestnet -> EllipticCurve.Secp256k1
|
||||
Blockchain.Monad -> EllipticCurve.Secp256k1
|
||||
Blockchain.MonadTestnet -> EllipticCurve.Secp256k1
|
||||
}
|
||||
|
|
|
|||
|
|
@ -173,6 +173,8 @@ class Wallet2CardConfigTest {
|
|||
Blockchain.ArbitrumNova to EllipticCurve.Secp256k1,
|
||||
Blockchain.Plasma to EllipticCurve.Secp256k1,
|
||||
Blockchain.PlasmaTestnet to EllipticCurve.Secp256k1,
|
||||
Blockchain.Adi to EllipticCurve.Secp256k1,
|
||||
Blockchain.AdiTestnet to EllipticCurve.Secp256k1,
|
||||
Blockchain.Monad to EllipticCurve.Secp256k1,
|
||||
Blockchain.MonadTestnet to EllipticCurve.Secp256k1,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue