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(example): add para plugin example #327

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

uratmangun
Copy link

@uratmangun uratmangun commented Mar 16, 2025

Pull Request Description

create a solana agent kit v2 standalone plugin for para example usage

Related Issue

Fixes # (issue number)

Changes Made

This PR adds the following changes:

  • Add new example directory for para plugin implementation
  • Include para plugin example setup and configuration
  • Add demonstration of para plugin features and usage
  • Setup basic project structure for the example

Implementation Details

  • creating a solana agent kit v2 standalone plugin for para

Transaction executed by agent

Example transaction:
3KheUwAg8zzXLhQ8dV9ucrnJt1Fc5FLv2fAGJXZWUabu889joa2ykQqMUFAPwqXNZ9khfVaxgEzmoMHqcB4HiLK7
image

Prompt Used

transfer 0.01 to CQXjUnwtJSRrKhJ9sbmUy1Ed1928pap566nFMPP5QoB3 without mint

Additional Notes

video demo https://www.youtube.com/watch?v=qItH-SnOcr8

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

Changes:
- Add new example directory for para plugin implementation
- Include para plugin example setup and configuration
- Add demonstration of para plugin features and usage
- Setup basic project structure for the example
Changes:
- Modify chat API route implementation for better handling
- Update server initialization logic for improved stability
- Enhance error handling in chat route
- Optimize server-side configuration
Changes:
- Expanded README to provide detailed integration instructions for Solana Agent Kit v2 with Para plugins
- Added sections for demo, features, prerequisites, installation, running the example, implementation details, key components, documentation links, contributing guidelines, and license information
- Improved clarity and usability for new users
Changes:
- Updated package dependencies in `package.json` to use local file paths for Para plugins.
- Changed the Solana Agent Kit plugin version to `2.0.0-beta.2`.
- Modified the chat API route to use a new model `qwen-qwq-32b`.
- Cleaned up console logs in the ChatWindow component for better readability.
Changes:
- Revised installation instructions to include specific commands for cloning and installing dependencies for the Para plugins.
- Added details on setting up the environment variables and starting the development server.
- Improved clarity for new users on the setup process.
Changes:
- Added `nedb` dependency to `package.json` for local data storage.
- Updated chat model in the API route to use `deepseek-r1-distill-llama-70b`.
- Enhanced error handling in the `ChatWindow` component for better user feedback.
- Modified the `get_all_tools` utility to include email validation in the schema for wallet claims.
- Improved user share data handling in the chat API, including saving and deleting user share data.
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