Skip to content

Index

VariableDescription
SchemasSchemas
FunctionDescription
accountFromLotusGet account from lotus private key export
accountFromMnemonicGet HD account from mnemonic
accountFromPrivateKeyGet account from private key
accountFromSeedGet HD account from seed
accountToLotusExport account to lotus private key export format (hex)
createCreate account
generateMnemonicGenerate mnemonic
getPublicKeyGet public key from private key
lotusBlsPrivateKeyToBytesLotus BLS base64 private key to bytes Lotus BLS private key is little endian so you need to reverse the byte order.
mnemonicToSeedGet seed from mnemonic
personalSignPersonal sign using FRC-102
personalVerifyPersonal verify using FRC-102
recoverAddress-
recoverPublicKey-
signSign arbitary bytes similar to lotus wallet sign
signMessageSign filecoin message
verifyVerify signatures