Updated on 2026-08-14
This commit is contained in:
parent
8d02ac6406
commit
6111067060
10 changed files with 80 additions and 12 deletions
|
|
@ -148,6 +148,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"xodex" -> Blockchain.Xodex
|
||||
"canxium" -> Blockchain.Canxium
|
||||
"clore-ai" -> Blockchain.Clore
|
||||
"dione" -> Blockchain.OdysseyChain
|
||||
"dione/test" -> Blockchain.OdysseyChainTestnet
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
@ -293,6 +295,8 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.Xodex -> "xodex"
|
||||
Blockchain.Canxium -> "canxium"
|
||||
Blockchain.Clore -> "clore-ai"
|
||||
Blockchain.OdysseyChain -> "dione"
|
||||
Blockchain.OdysseyChainTestnet -> "dione/test"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -388,6 +392,7 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.Xodex -> "xodex"
|
||||
Blockchain.Canxium -> "canxium"
|
||||
Blockchain.Clore -> "clore-ai"
|
||||
Blockchain.OdysseyChain, Blockchain.OdysseyChainTestnet -> "dione"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue