Secp256k1Program constructor

Secp256k1Program({
  1. required Secp256k1Layout layout,
})

Constructs a Secp256k1Program instruction from a layout.

Implementation

factory Secp256k1Program({required Secp256k1Layout layout}) {
  return Secp256k1Program._(
      layout: layout, keys: [], programId: Secp256k1ProgramConst.programId);
}