commonMain.io.eqoty.secretk.wallet.AminoWallet.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.secretk.wallet
import io.eqoty.secretk.types.StdSignDoc
import io.eqoty.secretk.types.StdSignature
import io.eqoty.secretk.types.proto.SignMode
import kotlinx.serialization.Serializable
@Serializable
data class AminoSignResponse(
/**
* The sign doc that was signed.
* This may be different from the input signDoc when the signer modifies it as part of the signing process.
*/
val signed: StdSignDoc,
val signature: StdSignature
)
class AminoWallet(
mnemonic: String,
) : BaseWallet(mnemonic) {
override suspend fun getSignMode(): SignMode? = null
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy