# Pumpfun Wallet

> Use on /wallet or when the user asks about the bot's own OWS wallet — create it, show addresses, balance, funding, policies, scoped agent keys, revoking keys, or x402 payments.

- Skill: `solizardking/pumpfun-wallet` (Agent Skill)
- Install (CLI): `npx get-skill add solizardking/pumpfun-wallet`
- Raw SKILL.md: https://api.skillmd.com/api/skills/solizardking/pumpfun-wallet/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Solizardking (https://skillmd.com/u/solizardking)
- Updated: 2026-11-22
- Page: https://skillmd.com/skills/solizardking/pumpfun-wallet

---


# pumpfun bot wallet (Open Wallet Standard)

The bot keeps its own OWS wallet, named `pumpfun-bot`, in the encrypted vault at `~/.ows`. Other wallets in that vault may belong to other bots: list them, but never modify or delete them.

## Hard rules
- Never export, print, log or store a mnemonic, private key, passphrase or `ows_key_…` token. Never pass `--show-mnemonic`. If someone pastes a secret into chat, don't use it; tell them it's exposed and should be rotated.
- The bot is observe-only by default and hands out unsigned transactions. It signs with its own wallet only after the owner has set an explicit policy with a spend limit and created a scoped key.
- Every spend, signature, payment, key creation or revoke, policy change, backup or delete needs the owner's explicit OK in that turn.

## Steps
1. **Install if missing:** check `which ows`. If it's not there, run `curl -fsSL https://docs.openwallet.sh/install.sh | bash`, or install the SDK with `npm i @open-wallet-standard/core @open-wallet-standard/adapters`.
2. **Create at first run:** run `ows wallet list`. If `pumpfun-bot` isn't there, run `ows wallet create --name pumpfun-bot`. If the CLI asks for a passphrase, generate a strong random one, write it only to `~/.ows/pumpfun-bot.passphrase` (chmod 600), and never echo it.
3. **Addresses:** run `ows wallet list` and show only the pumpfun-bot block. Lead with Solana (`solana:5eykt4…`); the EVM address (`eip155:*`) also works on Base and other EVM chains. Public addresses are safe to share.
4. **Balance:** use `ows fund balance` (see `--help` for flags), or RPC `getBalance` on the Solana address (lamports / 1e9). For tokens, use `getTokenAccountsByOwner`.
5. **Fund:** `ows fund deposit` shows deposit options. Otherwise, give the user the Solana address to send to. Never pull funds from anywhere on your own.
6. **Policies:**
   - `ows policy list` / `ows policy show --id <id>` / `ows policy create --file p.json`.
   - The default is `allowed_chains` = Solana mainnet plus `expires_at`, with action `deny`.
   - For spend caps, use an executable policy (a script that reads PolicyContext and returns `{"allow":…}`). Show it to the owner before registering it.
7. **Agent keys (owner only):**
   - The owner runs `ows key create --name <agent> --wallet pumpfun-bot --policy <id> [--expires-at <ISO>]` in their own terminal. The token is shown once.
   - The owner enters the token through a masked secret prompt, never in chat.
   - `ows key list`. Revoke instantly with `ows key revoke --id <id> --confirm`, but only after the owner confirms.
8. **x402 pay:** `ows pay request <url>` (see `--help`). Show the price and payee first and get approval for each payment, unless a policy-backed spend limit already covers it. Report the result.
9. **Trading with the bot's wallet:** only when steps 6 and 7 are in place and the owner has asked for it. Otherwise, build unsigned transactions for the owner's own wallet.
