NameServiceProgramHelper class

Constructors

NameServiceProgramHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

createNameRegistry({required SolanaRPC rpc, required String name, required int space, required SolAddress payerKey, required SolAddress nameOwner, BigInt? lamports, SolAddress? nameClass, SolAddress? parentName}) Future<TransactionInstruction>
Creates a name account with the given rent budget, allocated space, owner and class
deleteNameRegistry({required SolanaRPC rpc, required String name, required SolAddress refundTargetKey, SolAddress? nameClass, SolAddress? nameParent}) Future<TransactionInstruction>
Delete the name account and transfer the rent to the target.
reallocNameAccount({required SolanaRPC rpc, required String name, required int space, required SolAddress payerKey, SolAddress? nameClass, SolAddress? nameParent}) Future<TransactionInstruction>
Realloc the name account space.
transferNameOwnership({required SolanaRPC rpc, required String name, required SolAddress newOwner, SolAddress? nameClass, SolAddress? nameParent}) Future<TransactionInstruction>
Change the owner of a given name account.
updateNameRegistryData({required SolanaRPC rpc, required String name, required int offset, required List<int> inputData, SolAddress? nameClass, SolAddress? nameParent}) Future<TransactionInstruction>
Overwrite the data of the given name registry.