personalSign
personalSign(
privateKey,type,data):Signature
Defined in: packages/iso-filecoin/src/wallet.js:282
Personal sign using FRC-102
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
privateKey | Uint8Array<ArrayBufferLike> |
type | "SECP256K1" | "BLS" |
data | Uint8Array<ArrayBufferLike> |
Returns
Section titled “Returns”https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0102.md