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

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"
}
}