Updated on 2026-08-14

This commit is contained in:
Tangem 2025-04-02 16:14:21 +05:00
parent 7a9bea464d
commit 7a45703d68
8 changed files with 14 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8e5de701e02a2d48a68e32cd4783549dde01983e
Subproject commit 29f73d909e14cb3760118b197b1929a6088bc40e

View file

@ -157,4 +157,5 @@ internal val Blockchain.moonPaySupportedCurrency: MoonPaySupportedCurrency?
Scroll, ScrollTestnet -> null
ZkLinkNova, ZkLinkNovaTestnet -> null
KaspaTestnet -> null
Pepecoin, PepecoinTestnet -> null
}

View file

@ -301,6 +301,7 @@ private fun Blockchain.getSupportedTransactionExtras(): Network.TransactionExtra
Blockchain.ApeChain, Blockchain.ApeChainTestnet,
Blockchain.Scroll, Blockchain.ScrollTestnet,
Blockchain.ZkLinkNova, Blockchain.ZkLinkNovaTestnet,
Blockchain.Pepecoin, Blockchain.PepecoinTestnet,
-> Network.TransactionExtrasType.NONE
// endregion
}

View file

@ -157,5 +157,6 @@ public val Blockchain.mercuryoNetwork: String?
Blockchain.Scroll, Blockchain.ScrollTestnet -> null
Blockchain.ZkLinkNova, Blockchain.ZkLinkNovaTestnet -> null
Blockchain.KaspaTestnet -> null
Blockchain.Pepecoin, Blockchain.PepecoinTestnet -> null
}
}

View file

@ -205,6 +205,8 @@ data object Wallet2CardConfig : CardConfig {
Blockchain.ScrollTestnet -> EllipticCurve.Secp256k1
Blockchain.ZkLinkNova -> EllipticCurve.Secp256k1
Blockchain.ZkLinkNovaTestnet -> EllipticCurve.Secp256k1
Blockchain.Pepecoin -> EllipticCurve.Secp256k1
Blockchain.PepecoinTestnet -> EllipticCurve.Secp256k1
}
}
}

View file

@ -162,6 +162,8 @@ class Wallet2CardConfigTest {
Blockchain.ScrollTestnet to EllipticCurve.Secp256k1,
Blockchain.ZkLinkNova to EllipticCurve.Secp256k1,
Blockchain.ZkLinkNovaTestnet to EllipticCurve.Secp256k1,
Blockchain.Pepecoin to EllipticCurve.Secp256k1,
Blockchain.PepecoinTestnet to EllipticCurve.Secp256k1,
)
@Test

View file

@ -991,6 +991,7 @@ internal class SwapInteractorImpl @AssistedInject constructor(
ApeChain, ApeChainTestnet,
Scroll, ScrollTestnet,
ZkLinkNova, ZkLinkNovaTestnet,
Pepecoin, PepecoinTestnet,
-> Fee.Common(feeAmount)
// endregion
}

View file

@ -163,6 +163,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
"scroll/test" -> Blockchain.ScrollTestnet
"zklink" -> Blockchain.ZkLinkNova
"zklink/test" -> Blockchain.ZkLinkNovaTestnet
"pepecoin" -> Blockchain.Pepecoin
"pepecoin/test" -> Blockchain.PepecoinTestnet
else -> null
}
}
@ -323,6 +325,8 @@ fun Blockchain.toNetworkId(): String {
Blockchain.ScrollTestnet -> "scroll/test"
Blockchain.ZkLinkNova -> "zklink"
Blockchain.ZkLinkNovaTestnet -> "zklink/test"
Blockchain.Pepecoin -> "pepecoin"
Blockchain.PepecoinTestnet -> "pepecoin/test"
}
}
@ -425,6 +429,7 @@ fun Blockchain.toCoinId(): String {
Blockchain.ApeChain, Blockchain.ApeChainTestnet -> "apecoin"
Blockchain.Scroll, Blockchain.ScrollTestnet -> "scroll"
Blockchain.ZkLinkNova, Blockchain.ZkLinkNovaTestnet -> "zklink"
Blockchain.Pepecoin, Blockchain.PepecoinTestnet -> "pepecoin-network"
}
}