Ed25519Program class
Ed25519 Program
Ed25519 Program
Properties
Methods
-
checkDeployed(
Connection connection) → Future< void> -
Check that the program has been deployed to the cluster and is an executable program.
inherited
-
createTransactionIntruction(
Enum instruction, {required List< AccountMeta> keys, List<Iterable< data = const []}) → TransactionInstructionint> > -
Creates a TransactionInstruction for the program
instruction
.inherited -
encodeInstruction<
T extends Enum> (T instruction) → Iterable< int> -
Encodes the program
instruction
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createInstructionWithPrivateKey(
{required Uint8List privateKey, required Uint8List message, required int? instructionIndex}) → TransactionInstruction - / Create an ed25519 instruction with a private key. The private key must be a buffer that is 64 bytes long.
-
createInstructionWithPubkey(
{required Uint8List pubkey, required Uint8List message, required Uint8List signature, required int? instructionIndex}) → TransactionInstruction - Creates an ed25519 instruction with a public key and signature. The public key must be a buffer that is 32 bytes long, and the signature must be a buffer of 64 bytes.