BootstrapWitness constructor

BootstrapWitness({
  1. required Vkey vkey,
  2. required Ed25519Signature signature,
  3. required List<int> chainCode,
  4. required List<int> attributes,
})

Constructor for creating a BootstrapWitness.

Implementation

BootstrapWitness({
  required this.vkey,
  required this.signature,
  required List<int> chainCode,
  required List<int> attributes,
})  : chainCode = BytesUtils.toBytes(chainCode, unmodifiable: true),
      attributes = BytesUtils.toBytes(attributes, unmodifiable: true);