# Solana rpc and wallet

> Solana rpc and wallet is an open-source agent skill for finance and payments. Read-only Solana chain lookups and safe throwaway-wallet connection rules for agents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/swcstudiospace/PumpGrok/tree/main/skills/solana-rpc-and-wallet
- **Repository:** https://github.com/swcstudiospace/pumpgrok
- **GitHub stars:** 93
- **License:** AGPL-3.0
- **Skill name:** solana-rpc-and-wallet
- **Collection:** https://github.com/swcstudiospace/PumpGrok
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-12-04

## About

This skill guides an agent through reading Solana on-chain state: wallet balances, token accounts, token metadata and Token-2022 extensions. It is built around read-only access and treats the agent as something that never touches private keys or seed phrases.

The workflow sets strict wallet rules. Only a dedicated throwaway wallet with a small USDC balance plus SOL for fees is allowed, the human performs any wallet connection through a screen hand-off, and the public address is recorded in a desk file once connected. For transaction fees, the skill points the agent to a priority-fee tool that handles RPC failover and rate limits, and it requires a fee cap so a spike cannot drain the wallet. Any send path without a cap is refused.

The skill expects access to a Solana RPC data source and the onchain priority-fee tool. It references a related key-custody skill for secret handling and is part of the PumpGrok project, which is written in Python and released under AGPL-3.0.

## When your agent uses it

> Safe patterns for reading balances, token accounts, metadata, Token-2022 extensions, and managing the throwaway wallet connection without ever handling private keys.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/swcstudiospace/PumpGrok/tree/HEAD/skills/solana-rpc-and-wallet)
- [License: AGPL-3.0](https://github.com/swcstudiospace/PumpGrok/tree/HEAD/skills/solana-rpc-and-wallet)

## Features

- **Safe balance reads:** Patterns for reading SOL and token balances without requiring any signing material.
- **Token account lookups:** Guidance for inspecting token accounts associated with a wallet address.
- **Token metadata reads:** Covers fetching on-chain metadata for Solana tokens.
- **Token-2022 extension checks:** Explains how to read Token-2022 extensions on mints and accounts.
- **Throwaway wallet rules:** Limits connections to a dedicated low-value wallet, with the human performing the connection.
- **Priority fee capping:** Uses a priority-fee tool and enforces a maximum fee to protect the wallet.

## Good for

- Check the SOL and USDC balance of a Solana wallet address
- List the token accounts held by a wallet
- Read metadata for a Solana token mint
- Inspect Token-2022 extensions on a mint before trading
- Estimate a safe priority fee for a Solana transaction

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/solana-rpc-and-wallet` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/solana-rpc-and-wallet &&
cp -R "$tmp/skills/solana-rpc-and-wallet" ~/.claude/skills/solana-rpc-and-wallet &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/solana-rpc-and-wallet` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/solana-rpc-and-wallet` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/solana-rpc-and-wallet &&
cp -R "$tmp/skills/solana-rpc-and-wallet" ~/.agents/skills/solana-rpc-and-wallet &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/solana-rpc-and-wallet` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/solana-rpc-and-wallet` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/solana-rpc-and-wallet &&
cp -R "$tmp/skills/solana-rpc-and-wallet" ~/.cursor/skills/solana-rpc-and-wallet &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/solana-rpc-and-wallet` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/swcstudiospace/PumpGrok.git --path skills/solana-rpc-and-wallet
```

Or copy the folder to `~/.gemini/skills/solana-rpc-and-wallet` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/solana-rpc-and-wallet`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/solana-rpc-and-wallet &&
cp -R "$tmp/skills/solana-rpc-and-wallet" ~/.copilot/skills/solana-rpc-and-wallet &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/solana-rpc-and-wallet` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git
```

Then copy `PumpGrok/skills/solana-rpc-and-wallet` into your agent's skills folder as `solana-rpc-and-wallet`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Solana rpc and wallet need my private key?

No. The skill forbids private keys and seed phrases from entering chat, files or memory, and the wallet connection is performed by the human through a screen hand-off.

### What kind of wallet should I use with Solana rpc and wallet?

The skill calls for a dedicated throwaway wallet holding at most $200 USDC plus SOL for fees.

### Can the agent send transactions with Solana rpc and wallet?

Any send path without a fee cap is refused, and the skill's permissions are set to read-only side effects.

### What does Solana rpc and wallet depend on?

It relies on the onchain.priority_fee tool and a Solana RPC data source, and refers to a key-custody skill for secret handling.

### How do I install Solana rpc and wallet in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/solana-rpc-and-wallet to use it in all your projects, or to .claude/skills/solana-rpc-and-wallet in one project.

### Does Solana rpc and wallet run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Solana rpc and wallet?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Solana rpc and wallet?

The closest alternatives to Solana rpc and wallet are Holder and flow analysis, Use usdc, Tinyplace agent, Solana market data and Pumpgrok setup.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Holder and flow analysis](https://ai-powered.com/skills/holder-and-flow-analysis): Holder and flow analysis is an open-source agent skill for finance and payments.
- [Use usdc](https://ai-powered.com/skills/use-usdc): Use usdc is an open-source agent skill for finance and payments.
- [Tinyplace agent](https://ai-powered.com/skills/tinyplace-agent): Tinyplace agent is an open-source agent skill for finance and payments.
- [Solana market data](https://ai-powered.com/skills/solana-market-data): Solana market data is an open-source agent skill for finance and payments.
- [Pumpgrok setup](https://ai-powered.com/skills/pumpgrok-setup): Pumpgrok setup is an open-source agent skill for finance and payments.
- [Trust wallet MCP](https://ai-powered.com/skills/trust-wallet-mcp): Trust wallet MCP is an open-source agent skill for finance and payments.
- [Use gateway](https://ai-powered.com/skills/use-gateway): Use gateway is an open-source agent skill for finance and payments.
- [Use developer controlled wallets](https://ai-powered.com/skills/use-developer-controlled-wallets): Use developer controlled wallets is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/solana-rpc-and-wallet
