Comprehensive JavaScript SDK for building Solana blockchain applications with modern architecture and type safety
93
Evaluation — 93%
↑ 1.29xAgent success when using this tile
Build a utility for creating and managing memo transactions on Solana. The utility should create transaction instructions that write string messages to the blockchain using a memo program.
Your implementation should:
MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr)@generates
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
/**
* Creates a transaction instruction for writing a memo to the Solana blockchain.
*
* @param message - The memo message to write (will be UTF-8 encoded)
* @param payer - The public key of the account paying for and signing the transaction
* @returns A TransactionInstruction configured for the memo program
*/
export function createMemoInstruction(
message: string,
payer: PublicKey
): TransactionInstruction;Provides Solana blockchain interaction capabilities including transaction instruction construction.
Install with Tessl CLI
npx tessl i tessl/npm-solana--web3-jsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10