Crate filecoin_signer

Source

Modules§

api
error
extended_key
multisig_deprecated
utils

Structs§

ExtendedKey
Extended key structure
Mnemonic
Mnemonic string
PrivateKey
Private key buffer
ProposalHashDataAPI
PublicKeyCompressed
Compressed public key buffer
SignedVoucherWrapper

Enums§

PublicKey

Constants§

SIGNATURE_RECOVERY_SIZE

Functions§

compute_proposal_hash
Compute proposal hash
create_voucher
Create a voucher for payment channel
deserialize_constructor_params
Deserialize Constructor Params
deserialize_params
Deserialize Params
deserialize_voucher
Deserialize voucher
get_cid
Return the CID of a message
key_derive
Returns a public key, private key and address given a mnemonic, derivation path and a password (support chinese mnemonic)
key_derive_from_seed
Returns a public key, private key and address given a seed and derivation path
key_generate_mnemonic
Generates a random mnemonic (English - 24 words)
key_recover
Get extended key from private key
key_recover_bls
Get extended key from BLS private key
serialize_params
Utilitary function to serialize parameters of a message. Return a CBOR hexstring.
serialize_voucher
Serialize voucher
sign_voucher
Sign a voucher for payment channel
transaction_parse
Parse a CBOR hextring into a filecoin transaction (signed or unsigned).
transaction_serialize
Serialize a transaction and return a CBOR hexstring.
transaction_sign
Sign a transaction and return a signed message (message + signature).
transaction_sign_raw
Sign a transaction and return a raw signature (RSV format).
verify_aggregated_signature
verify_signature
Verify a signature. Return a boolean.
verify_voucher_signature
Verify Voucher signature