jsMain.io.eqoty.wallet.utils.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
A Kotlin multiplatform REST client utilizing secret network's gRPC gateway endpoints.
package io.eqoty.wallet
import ext.libsodium.com.ionspin.kotlin.crypto.toUByteArray
import io.eqoty.secretk.wallet.AccountData
import io.eqoty.secretk.wallet.Algo
fun jslibs.secretjs.AccountData.toCommonType(): AccountData =
AccountData(
address = address,
algo = Algo.valueOf(algo),
pubkey = pubkey.toUByteArray()
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy