Compute proposal hash
Create a voucher for payment channel
Deserialize Constructor Params
Deserialize Params
Deserialize voucher
Return the CID of a message
Returns a public key, private key and address given a mnemonic, derivation path and a password (support chinese mnemonic)
Returns a public key, private key and address given a seed and derivation path
Generates a random mnemonic (English - 24 words)
Get extended key from private key
Get extended key from BLS private key
Utilitary function to serialize parameters of a message. Return a CBOR hexstring.
Serialize voucher
Sign a voucher for payment channel
Parse a CBOR hextring into a filecoin transaction (signed or unsigned).
Serialize a transaction and return a CBOR hexstring.
Sign a transaction and return a signed message (message + signature).
Sign a transaction and return a raw signature (RSV format).
Verify a signature. Return a boolean.
Verify Voucher signature