Updated on 2026-08-14
This commit is contained in:
parent
e817b032f4
commit
1976f57045
6 changed files with 51 additions and 1 deletions
|
|
@ -123,6 +123,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"blast/test" -> Blockchain.BlastTestnet
|
||||
"cyber" -> Blockchain.Cyber
|
||||
"cyber/test" -> Blockchain.CyberTestnet
|
||||
"sei-network" -> Blockchain.Sei
|
||||
"sei-network/test" -> Blockchain.SeiTestnet
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
@ -247,6 +249,8 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.BlastTestnet -> "blast/test"
|
||||
Blockchain.Cyber -> "cyber"
|
||||
Blockchain.CyberTestnet -> "cyber/test"
|
||||
Blockchain.Sei -> "sei-network"
|
||||
Blockchain.SeiTestnet -> "sei-network/test"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -329,6 +333,7 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.Filecoin -> "filecoin"
|
||||
Blockchain.Blast, Blockchain.BlastTestnet -> "blast-ethereum"
|
||||
Blockchain.Cyber, Blockchain.CyberTestnet -> "cyberconnect"
|
||||
Blockchain.Sei, Blockchain.SeiTestnet -> "sei-network"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue