Updated on 2026-08-14
This commit is contained in:
parent
89fbfa5971
commit
934b6ed6c6
11 changed files with 45 additions and 2 deletions
|
|
@ -165,6 +165,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"zklink/test" -> Blockchain.ZkLinkNovaTestnet
|
||||
"pepecoin" -> Blockchain.Pepecoin
|
||||
"pepecoin/test" -> Blockchain.PepecoinTestnet
|
||||
"hyperliquid" -> Blockchain.Hyperliquid
|
||||
"hyperliquid/test" -> Blockchain.HyperliquidTestnet
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
@ -327,6 +329,8 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.ZkLinkNovaTestnet -> "zklink/test"
|
||||
Blockchain.Pepecoin -> "pepecoin"
|
||||
Blockchain.PepecoinTestnet -> "pepecoin/test"
|
||||
Blockchain.Hyperliquid -> "hyperliquid"
|
||||
Blockchain.HyperliquidTestnet -> "hyperliquid/test"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -430,6 +434,7 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.Scroll, Blockchain.ScrollTestnet -> "scroll-ethereum"
|
||||
Blockchain.ZkLinkNova, Blockchain.ZkLinkNovaTestnet -> "zklink-ethereum"
|
||||
Blockchain.Pepecoin, Blockchain.PepecoinTestnet -> "pepecoin-network"
|
||||
Blockchain.Hyperliquid, Blockchain.HyperliquidTestnet -> "hyperliquid"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue