Sign message

Important

Before you sign your key pair and messages, please ensure that you created a message array.

Sign the message array with the generated key pair using blsSign method.

const signature = await blsSign({
  keyPair,
  messages,
});

Next Up: Construct proof →