mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-14 07:26:46 +00:00
fix: changed the SolanaTipLinkTool description
This commit is contained in:
@@ -1232,12 +1232,10 @@ export class SolanaCreateGibworkTask extends Tool {
|
||||
export class SolanaTipLinkTool extends Tool {
|
||||
name = "solana_tiplink";
|
||||
description = `Create a TipLink for transferring SOL or SPL tokens.
|
||||
|
||||
Input format: Provide the amount of SOL as a number, and optionally an SPL mint address separated by a space.
|
||||
Examples:
|
||||
- "1" (for 1 SOL)
|
||||
- "0.5" (for 0.5 SOL)
|
||||
- "1 TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" (for SPL token transfer)`;
|
||||
|
||||
Inputs (input is a string):
|
||||
amount: number, eg 1 (required)
|
||||
mint?: string, eg "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" (optional)`;
|
||||
|
||||
constructor(private solanaKit: SolanaAgentKit) {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user