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: Replaces the current plugin with Solana Agent Kit #1628

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

thearyanag
Copy link
Contributor

Relates to:

#1619

Risks

Low

Background

What does this PR do?

Replace the solana plugin with solana agent kit

  • wrapper around the runtime for the kit
  • replace the trade function with trade action from the kit
  • replace the transfer function with transfer action from the kit
  • replace the swap dao function with trade action from the kit

What kind of change is this?

This PR improves the existing plugin by replacing with the Solana Agent Kit
In following days, will add more actions from the agent kit.

Testing

Where should a reviewer start?

packages/plugin-solana

Reference docs https://sendaifun.github.io/solana-agent-kit/

Detailed testing steps

None, automated tests are fine.

Discord username

0xaryan

@thearyanag thearyanag changed the base branch from main to develop January 1, 2025 09:55
@odilitime
Copy link
Collaborator

Why is using the agent kit better than what we had?

@thearyanag
Copy link
Contributor Author

@odilitime , this PR just sets the base for adding further actions from the agent kit.

The kit can perform the following actions, we'll then integrate every action present in the kit.

Token Operations

Deploy SPL tokens by Metaplex
Transfer assets
Balance checks
Stake SOL
Zk compressed Airdrop by Light Protocol and Helius

NFT Management via Metaplex

Collection deployment
NFT minting
Metadata management
Royalty configuration

DeFi Integration

Jupiter Exchange swaps
Launch on Pump via PumpPortal
Raydium pool creation (CPMM, CLMM, AMMv4)
Orca Whirlpool integration
Manifest market creation, and limit orders
Meteora Dynamic AMM, DLMM Pool, and Alpha Vault
Openbook market creation
Register and Resolve SNS
Jito Bundles
Pyth Price feeds for fetching Asset Prices
Register/resolve Alldomains

Solana Blinks

Lending by Lulo (Best APR for USDC)
Send Arcade Games
JupSOL staking

Non-Financial Actions

Gib Work for registering bounties

@cipher-rc5
Copy link

it would be better to make a new plugin, allow users choice regarding which instances they wish to implement

@thearyanag
Copy link
Contributor Author

@cipher-rc5 currently, it's just drop in replacement for the existing plugin so there wont' be any issues for backward compatibility, it's a w-w given we'll be adding all the supported action from the agent kit

@odilitime
Copy link
Collaborator

it would be better to make a new plugin, allow users choice regarding which instances they wish to implement

I'd be fine with actions we didn't already have, being served by the agent kit. But I don't think we should replace the existing actions that are explicit and transparent.

@odilitime odilitime changed the title Replaces the current plugin with Solana Agent Kit feat: Replaces the current plugin with Solana Agent Kit Jan 2, 2025
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.

3 participants