Updated on 2026-08-14
This commit is contained in:
parent
7a9bea464d
commit
7a45703d68
8 changed files with 14 additions and 1 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue