Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-15 15:46:12 +03:00
parent 0d601a5663
commit 2ead0152f8
8 changed files with 23 additions and 27 deletions

View file

@ -160,6 +160,6 @@ internal val Blockchain.moonPaySupportedCurrency: MoonPaySupportedCurrency?
Pepecoin, PepecoinTestnet -> null
Hyperliquid, HyperliquidTestnet -> null
Quai, QuaiTestnet -> null
// Linea, LineaTestnet -> null
// ArbitrumNova -> null
Linea, LineaTestnet -> null
ArbitrumNova -> null
}

View file

@ -30,9 +30,5 @@
{
"name": "zklink",
"version": "undefined"
},
{
"name": "scroll",
"version": "undefined"
}
]

View file

@ -326,8 +326,8 @@ class NetworkFactory @Inject constructor(
Blockchain.Pepecoin, Blockchain.PepecoinTestnet,
Blockchain.Hyperliquid, Blockchain.HyperliquidTestnet,
Blockchain.Quai, Blockchain.QuaiTestnet,
// Blockchain.Linea, Blockchain.LineaTestnet,
// Blockchain.ArbitrumNova,
Blockchain.Linea, Blockchain.LineaTestnet,
Blockchain.ArbitrumNova,
-> Network.TransactionExtrasType.NONE
// endregion
}

View file

@ -160,7 +160,7 @@ public val Blockchain.mercuryoNetwork: String?
Blockchain.Pepecoin, Blockchain.PepecoinTestnet -> null
Blockchain.Hyperliquid, Blockchain.HyperliquidTestnet -> null
Blockchain.Quai, Blockchain.QuaiTestnet -> null
// Blockchain.Linea, Blockchain.LineaTestnet -> null
// Blockchain.ArbitrumNova -> null
Blockchain.Linea, Blockchain.LineaTestnet -> null
Blockchain.ArbitrumNova -> null
}
}

View file

@ -212,9 +212,9 @@ data object Wallet2CardConfig : CardConfig {
Blockchain.HyperliquidTestnet -> EllipticCurve.Secp256k1
Blockchain.Quai -> EllipticCurve.Secp256k1
Blockchain.QuaiTestnet -> EllipticCurve.Secp256k1
// Blockchain.Linea -> EllipticCurve.Secp256k1
// Blockchain.LineaTestnet -> EllipticCurve.Secp256k1
// Blockchain.ArbitrumNova -> EllipticCurve.Secp256k1
Blockchain.Linea -> EllipticCurve.Secp256k1
Blockchain.LineaTestnet -> EllipticCurve.Secp256k1
Blockchain.ArbitrumNova -> EllipticCurve.Secp256k1
}
}
}

View file

@ -168,9 +168,9 @@ class Wallet2CardConfigTest {
Blockchain.HyperliquidTestnet to EllipticCurve.Secp256k1,
Blockchain.Quai to EllipticCurve.Secp256k1,
Blockchain.QuaiTestnet to EllipticCurve.Secp256k1,
// Blockchain.Linea to EllipticCurve.Secp256k1,
// Blockchain.LineaTestnet to EllipticCurve.Secp256k1,
// Blockchain.ArbitrumNova to EllipticCurve.Secp256k1,
Blockchain.Linea to EllipticCurve.Secp256k1,
Blockchain.LineaTestnet to EllipticCurve.Secp256k1,
Blockchain.ArbitrumNova to EllipticCurve.Secp256k1,
)
@Test

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
}