Updated on 2026-08-14
This commit is contained in:
parent
d6352abd88
commit
1c31545ec6
8 changed files with 23 additions and 31 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
@ -34,13 +34,5 @@
|
|||
{
|
||||
"name": "scroll",
|
||||
"version": "undefined"
|
||||
},
|
||||
{
|
||||
"name": "linea",
|
||||
"version": "undefined"
|
||||
},
|
||||
{
|
||||
"name": "arbitrum-nova",
|
||||
"version": "undefined"
|
||||
}
|
||||
]
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue