Updated on 2026-08-14
This commit is contained in:
parent
1906481ac6
commit
77de05d05d
11 changed files with 55 additions and 5 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue