2.5k
GitHub Stars
3
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill solana-skills- _meta.json453 B
- requirements.txt81 B
- SKILL.md5.2 KB
Overview
This skill provides Solana wallet management and token operations for AI agents and scripts. It lets you create wallets, inspect SOL and SPL token balances, send SOL or tokens, perform swaps through Jupiter, and launch tokens via Pump.fun. The tool is implemented in Python and uses environment variables for private keys and API configuration.
How this skill works
The scripts generate or load a base58-encoded Solana private key (SOLANA_PRIVATE_KEY) and interact with the Solana RPC to query balances and submit transactions. Jupiter integration obtains swap quotes and executes swaps via the Jupiter API, requiring a JUPITER_API_KEY. The Pump.fun launcher mints and configures new SPL tokens and can perform an optional developer buy to seed liquidity.
When to use it
- Create a new Solana wallet and persist the private key to your environment
- Check SOL balance or any SPL token balance for an address
- Send SOL or transfer SPL tokens between wallets
- Execute token swaps using Jupiter for best-route aggregation
- Launch a new token with image, symbol, and optional dev buy on Pump.fun
- Test flows on devnet or testnet by using the --network flag
Best practices
- Keep SOLANA_PRIVATE_KEY secret and load it from environment variables, not source control
- Use a reliable RPC endpoint via SOLANA_RPC_URL for consistent performance
- Test all flows on devnet before running on mainnet to avoid costly mistakes
- Supply JUPITER_API_KEY for swap reliability and inspect quoted routes before executing
- Confirm recipient addresses and amounts; token decimals matter for SPL transfers
Example use cases
- Initialize a fresh wallet for automated agent payouts or escrow services
- Check a vault’s SOL and specific token balances programmatically
- Send SOL to a user or move tokens between hot and cold wallets
- Swap SOL to USDC using Jupiter to obtain best routing and rates
- Launch a community token with custom image and optional dev buy using Pump.fun
FAQ
Set SOLANA_PRIVATE_KEY (base58) and JUPITER_API_KEY for swaps. Optionally set SOLANA_RPC_URL to a preferred RPC endpoint.
Can I test without risking real funds?
Yes. Use the --network devnet or testnet flags to run all wallet, swap, and token launch operations in test environments.