vrfSign abstract method

BuBytes vrfSign({
  1. required List<int> seedOrSk,
  2. required List<int> message,
  3. required List<int> nonce64,
  4. bool fromSeed = true,
  5. bool uniform = false,
  6. List<int>? context,
  7. List<int>? extra,
  8. bool kusamaVrf = true,
})

96-byte VRF signature (preOut32‖proof64) over message with 64-byte nonce64; seedOrSk is 32-byte seed when fromSeed else 64-byte secret, optional context/extra, kusamaVrf selects transcript variant. Throws on invalid lengths.

Implementation

BuBytes vrfSign({
  required List<int> seedOrSk,
  required List<int> message,
  required List<int> nonce64,
  bool fromSeed = true,
  bool uniform = false,
  List<int>? context,
  List<int>? extra,
  bool kusamaVrf = true,
});