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

jsMain.jslibs.cosmjs.amino.signer.module_@cosmjs_amino.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
@file:Suppress(
    "INTERFACE_WITH_SUPERCLASS",
    "OVERRIDING_FINAL_MEMBER",
    "RETURN_TYPE_MISMATCH_ON_OVERRIDE",
    "CONFLICTING_OVERLOADS"
)

package jslibs.cosmjs.amino

import org.khronos.webgl.Uint8Array
import kotlin.js.Promise

external interface AccountData {
    var address: String
    var algo: String /* "secp256k1" | "ed25519" | "sr25519" */
    var pubkey: Uint8Array
}

external interface AminoSignResponse {
    var signed: StdSignDoc
    var signature: StdSignature
}

external interface OfflineAminoSigner {
    var getAccounts: () -> Promise>
    var signAmino: (signerAddress: String, signDoc: StdSignDoc) -> Promise
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy