Updated on 2026-08-14
This commit is contained in:
parent
8ecd77067e
commit
789b5546f1
11 changed files with 26 additions and 4 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.SeiEvm, Blockchain.SeiEvmTestnet,
|
||||
-> {
|
||||
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.SeiEvm -> EllipticCurve.Secp256k1
|
||||
Blockchain.SeiEvmTestnet -> 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.SeiEvm to EllipticCurve.Secp256k1,
|
||||
Blockchain.SeiEvmTestnet to EllipticCurve.Secp256k1,
|
||||
Blockchain.Monad to EllipticCurve.Secp256k1,
|
||||
Blockchain.MonadTestnet to EllipticCurve.Secp256k1,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue