All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.eqoty.secretk.wallet.AminoWallet.kt Maven / Gradle / Ivy

Go to download

A Kotlin multiplatform REST client utilizing secret network's gRPC gateway endpoints.

There is a newer version: 6.4.1-rc
Show newest version
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