Updated on 2026-08-14
This commit is contained in:
parent
bbd0c7927d
commit
4534ceb54b
10 changed files with 57 additions and 1 deletions
|
|
@ -169,6 +169,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"hyperevm/test" -> Blockchain.HyperliquidTestnet
|
||||
"quai-network" -> Blockchain.Quai
|
||||
"quai-network/test" -> Blockchain.QuaiTestnet
|
||||
"linea" -> Blockchain.Linea
|
||||
"linea/test" -> Blockchain.LineaTestnet
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
@ -335,6 +337,8 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.HyperliquidTestnet -> "hyperevm/test"
|
||||
Blockchain.Quai -> "quai-network"
|
||||
Blockchain.QuaiTestnet -> "quai-network/test"
|
||||
Blockchain.Linea -> "linea"
|
||||
Blockchain.LineaTestnet -> "linea/test"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -440,6 +444,7 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.Pepecoin, Blockchain.PepecoinTestnet -> "pepecoin-network"
|
||||
Blockchain.Hyperliquid, Blockchain.HyperliquidTestnet -> "hyperliquid"
|
||||
Blockchain.Quai, Blockchain.QuaiTestnet -> "quai-network"
|
||||
Blockchain.Linea, Blockchain.LineaTestnet -> "linea"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue