Updated on 2026-08-14
This commit is contained in:
parent
49798fd8cd
commit
93af31fc6f
1 changed files with 5 additions and 5 deletions
|
|
@ -48,8 +48,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"optimistic-ethereum" -> null //TODO: Optimism is disabled until next release
|
||||
"optimistic-ethereum/test" -> Blockchain.OptimismTestnet
|
||||
"dash" -> Blockchain.Dash
|
||||
"wxdai" -> Blockchain.SaltPay
|
||||
"wxdai/test" -> Blockchain.SaltPayTestnet
|
||||
"sxdai" -> Blockchain.SaltPay
|
||||
"sxdai/test" -> Blockchain.SaltPayTestnet
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
@ -101,8 +101,8 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.Optimism -> "optimistic-ethereum"
|
||||
Blockchain.OptimismTestnet -> "optimistic-ethereum/test"
|
||||
Blockchain.Dash -> "dash"
|
||||
Blockchain.SaltPay -> "wxdai"
|
||||
Blockchain.SaltPayTestnet -> "wxdai/test"
|
||||
Blockchain.SaltPay -> "sxdai"
|
||||
Blockchain.SaltPayTestnet -> "sxdai/test"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +134,7 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.Kusama -> "kusama"
|
||||
Blockchain.Optimism, Blockchain.OptimismTestnet -> "ethereum"
|
||||
Blockchain.Dash -> "dash"
|
||||
Blockchain.SaltPay, Blockchain.SaltPayTestnet -> "xdai"
|
||||
Blockchain.SaltPay, Blockchain.SaltPayTestnet -> "wrapped-xdai"
|
||||
Blockchain.Unknown -> "unknown"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue