sign method

List<int> sign(
  1. List<int> digest
)

Sign a digest using the private key.

Implementation

List<int> sign(List<int> digest) {
  final signer = SolanaSigner.fromKeyBytes(_privateKey.raw);
  return signer.sign(digest);
}