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

final push for the solana agent kit #217

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

luckysitara
Copy link

@luckysitara luckysitara commented Jan 16, 2025

Pull Request Description

Related Issue

Fixes # 1,2,3,4,5,67 (issue number)

Changes Made

This PR adds the following changes:

  • Get Asset by ID
  • Get Assets by Authority
  • Search/Lookup Assets by different criteria
  • Get Assets by Creator

Implementation Details

  • The actions and tools are implemented to their respective files in the metaplex/ folders of actions, tools and langchain directories.
  • The actions were added as part of the SolanaAgentKit class and exported under createSolanaTools function.
  • The actions utilize the @metaplex-foundation/digital-asset-standard-api SDK.

Transaction executed by agent

Example transaction:

Prompt Used

- Prompt: Get top 1 assets by creator D3XrkNZz6wx6cofot7Zohsf2KSsu2ArngNk8VqU9cTY3
- Prompt: Get asset with ID 8TrvJBRa6Pzb9BDadqroHhWTHxaxK8Ws8r91oZ2jxaVV
- Prompt: I want to get top 1 assets by authority 

Additional Notes

Checklist

  • [☑️] I have tested these changes locally
  • [☑️] I have updated the documentation
  • [☑️ ] I have added a transaction link
  • [☑️ ] I have added the prompt used to test it

@dimitrov-d
Copy link
Contributor

This seems to be a complete overlap of #215 which I opened 2 days ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants