- Agent Frameworks: Rig
- Wallets: keypair, solana
- tools: Birdeye, dexscreener, solana, jupiter, helius and more
- Chains: Solana only
- Add dependencies
[dependencies]
# add wallet
solagent-wallet-solana = "0.1.4"
# add core
solagent-core = "0.1.6"
# add plugin
solagent-plugin-birdeye = "0.1.7"- Create agent
use solagent_core::{ConfigBuilder, SolanaAgentKit};
use solagent_plugin_birdeye::get_token_metadata;
use solagent_wallet_solana::Wallet;
#[tokio::main]
async fn main() {
let wallet = Wallet::from_env("SOLANA_WALLET").unwrap();
let config = ConfigBuilder::default().birdeye_api_key("api_key".into()).build();
let agent = SolanaAgentKit::new(wallet, "https://api.devnet.solana.com", config);
let data = get_token_metadata(&agent, "So11111111111111111111111111111111111111112")
.await
.unwrap();
println!("{:#?}", data);
}| Crate | Package | Version | Downloads |
|---|---|---|---|
| Core | solagent-core | ||
| Wallet | solagent-wallet-solana |
| Tools | Description | Package | Version | Downloads |
|---|---|---|---|---|
| gibwork | Create a task on Gibwork | solagent-rig-gibwork | ||
| goplus | Token Security API | solagent-rig-goplus | ||
| helius | Webhook operates | solagent-rig-helius | ||
| jupiter | Jupiter Exchange | solagent-rig-jupiter | ||
| pumpfun | Launch Token on pumpfun | solagent-rig-pumpfun | ||
| pyth | Fetch price from Pyth | solagent-rig-pyth | ||
| rugcheck | Rug check | solagent-rig-rugcheck | ||
| solana | Operations on solana | solagent-rig-solana | ||
| solayer | Stake with solayer | solagent-rig-solayer | ||
| cookie | Cookie Data Swarm APIs | solagent-rig-cookie | ||
| dexscreener | Dexscreener data APIs | solagent-rig-dexscreener | ||
| birdeye | Birdeye API | solagent-rig-birdeye |
| Plugin | Description | Package | Version | Downloads |
|---|---|---|---|---|
| gibwork | Create a task on Gibwork | solagent-plugin-gibwork | ||
| goplus | Token Security API | solagent-plugin-goplus | ||
| helius | Webhook operates | solagent-plugin-helius | ||
| jupiter | Jupiter Exchange | solagent-plugin-jupiter | ||
| pumpfun | Launch Token on pumpfun | solagent-plugin-pumpfun | ||
| pyth | Fetch price from Pyth | solagent-plugin-pyth | ||
| rugcheck | Rug check | solagent-plugin-rugcheck | ||
| solana | Operations on solana | solagent-plugin-solana | ||
| solayer | Stake with solayer | solagent-plugin-solayer | ||
| cookie | Cookie Data Swarm APIs | solagent-plugin-cookie | ||
| dexscreener | Dexscreener data APIs | solagent-plugin-dexscreener | ||
| birdeye | Birdeye API | solagent-plugin-birdeye |