Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Solayer staking tool #116

Merged
merged 3 commits into from
Jan 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove (input is a JSON string) from Langchain tool
JoshuaSum authored Jan 3, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 09ffec2763cda1e5c1a26b9ed5823c899df1ff5d
2 changes: 1 addition & 1 deletion src/langchain/index.ts
Original file line number Diff line number Diff line change
@@ -772,7 +772,7 @@ export class SolanaRestakeTool extends Tool {
name = "solana_restake";
description = `This tool can be used to restake your SOL on Solayer to receive Solayer SOL (sSOL) as a Liquid Staking Token (LST).

Inputs ( input is a JSON string ):
Inputs:
amount: number, eg 1 or 0.01 (required)`;

constructor(private solanaKit: SolanaAgentKit) {