NameServiceProgramTwitterHelper class

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

changeTwitterRegistryData({required String twitterHandle, required SolAddress verifiedPubkey, required int offset, required List<int> inputData}) TransactionInstruction
Overwrite the data that is written in the user facing registry
changeVerifiedPubkey({required SolanaRPC rpc, required String twitterHandle, required SolAddress currentVerifiedPubkey, required SolAddress newVerifiedPubkey, required SolAddress payerKey}) Future<List<TransactionInstruction>>
Change the verified pubkey for a given twitter handle
createReverseTwitterRegistry({required SolanaRPC rpc, required String twitterHandle, required SolAddress twitterRegistryKey, required SolAddress verifiedPubkey, required SolAddress payerKey}) Future<List<TransactionInstruction>>
createVerifiedTwitterRegistry({required SolanaRPC rpc, required String twitterHandle, required SolAddress verifiedPubkey, required int space, required SolAddress payerKey}) Future<List<TransactionInstruction>>
Signed by the authority, the payer and the verified pubkey
deleteTwitterRegistry({required String twitterHandle, required SolAddress verifiedPubkey}) List<TransactionInstruction>
Delete the verified registry for a given twitter handle
getHandleAndRegistryKey({required SolanaRPC rpc, required SolAddress verifiedPubkey}) Future<ReverseTwitterRegistryAccount>
getTwitterHandleandRegistryKeyViaFilters({required SolanaRPC rpc, required SolAddress verifiedPubkey}) Future<ReverseTwitterRegistryAccount>
Uses the RPC node filtering feature, execution speed may vary
getTwitterRegistry({required SolanaRPC rpc, required String twitterHandle}) Future<NameRegistryAccount>
getTwitterRegistryData({required SolanaRPC rpc, required SolAddress verifiedPubkey}) Future<List<int>>
Uses the RPC node filtering feature, execution speed may vary Does not give you the handle, but is an alternative to getHandlesAndKeysFromVerifiedPubkey + getTwitterRegistry to get the data