Ed25519Program constructor

Ed25519Program({
  1. required Ed25519ProgramLayout layout,
})

Constructs an Ed25519Program instruction from a layout.

Implementation

factory Ed25519Program({required Ed25519ProgramLayout layout}) {
  return Ed25519Program._(
    layout: layout,
    keys: [],
    programId: Ed25519ProgramConst.programId,
  );
}