Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-01 21:07:33 +02:00
parent 1906481ac6
commit 77de05d05d
11 changed files with 55 additions and 5 deletions

View file

@ -167,6 +167,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
"pepecoin/test" -> Blockchain.PepecoinTestnet
"hyperevm" -> Blockchain.Hyperliquid
"hyperevm/test" -> Blockchain.HyperliquidTestnet
"quai-network" -> Blockchain.Quai
"quai-network/test" -> Blockchain.QuaiTestnet
else -> null
}
}
@ -331,6 +333,8 @@ fun Blockchain.toNetworkId(): String {
Blockchain.PepecoinTestnet -> "pepecoin/test"
Blockchain.Hyperliquid -> "hyperevm"
Blockchain.HyperliquidTestnet -> "hyperevm/test"
Blockchain.Quai -> "quai-network"
Blockchain.QuaiTestnet -> "quai-network/test"
}
}
@ -435,6 +439,7 @@ fun Blockchain.toCoinId(): String {
Blockchain.ZkLinkNova, Blockchain.ZkLinkNovaTestnet -> "zklink-ethereum"
Blockchain.Pepecoin, Blockchain.PepecoinTestnet -> "pepecoin-network"
Blockchain.Hyperliquid, Blockchain.HyperliquidTestnet -> "hyperliquid"
Blockchain.Quai, Blockchain.QuaiTestnet -> "quai"
}
}