toggle menu
chameleon-cosmos-wallet
0.4.0
common
switch theme
search in API
chameleon-cosmos-wallet
/
kr.jadekim.chameleon.cosmos.key
/
CosmosMnemonicKey
Cosmos
Mnemonic
Key
open
class
CosmosMnemonicKey
:
CosmosKeyPair
,
BaseCosmosMnemonicKey
Members
Members & Extensions
Constructors
Cosmos
Mnemonic
Key
Link copied to clipboard
constructor
(
mnemonic
:
String
,
index
:
Int
=
0
,
passphrase
:
String
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
account
Link copied to clipboard
open
override
val
account
:
Int
change
Link copied to clipboard
open
override
val
change
:
Int
coin
Type
Link copied to clipboard
open
override
val
coinType
:
Int
index
Link copied to clipboard
open
override
val
index
:
Int
=
0
mnemonic
Link copied to clipboard
open
val
mnemonic
:
String
passphrase
Link copied to clipboard
open
val
passphrase
:
String
?
=
null
private
Key
Link copied to clipboard
open
val
privateKey
:
ByteArray
public
Key
Link copied to clipboard
open
override
val
publicKey
:
ByteArray
Functions
sign
Link copied to clipboard
open
fun
sign
(
message
:
ByteArray
)
:
<Error class: unknown class>
<
ByteArray
>
sign
Sync
Link copied to clipboard
open
fun
signSync
(
message
:
ByteArray
)
:
ByteArray
open
fun
signSync
(
message
:
String
)
:
ByteArray
to
Address
Link copied to clipboard
fun
Secp256k1PublicKey
.
toAddress
(
)
:
ByteArray
verify
Link copied to clipboard
open
fun
verify
(
message
:
ByteArray
,
signature
:
ByteArray
)
:
Boolean