From alchemy-skills
Refreshes cached MoonPay wallet balances shown in compatible CLI status lines. Use for 'refresh balances', 'update status bar', or after external fund receipts.
npx claudepluginhub moonpay/skills --plugin alchemy-skillsThis skill uses the workspace's default tool permissions.
Refresh the cached MoonPay wallet balances shown in a compatible CLI status line.
Displays MoonPay wallet balances in compatible CLI status lines using local cache and bash refresh script. Useful for persistent crypto balance views in dev CLIs like Claude Code or Cursor.
Connects to EmblemVault for wallet-aware workflows on Solana, Ethereum, Base, BSC, Polygon, Hedera, Bitcoin with review-first, operator-controlled actions. Explains Emblem's unified browser and agent auth model.
Configures Bankr x402 SDK client with payment and receiving wallets, private keys, environment variables, and two-wallet setup for micropayments and token handling.
Share bugs, ideas, or general feedback.
Refresh the cached MoonPay wallet balances shown in a compatible CLI status line.
npm i -g @moonpay/climp verify~/.config/moonpay/statusline.json~/.config/moonpay/refresh-statusline.shIf the config or refresh script is missing, run the moonpay-wallet-statusline setup skill first.
# Run the refresh script
bash ~/.config/moonpay/refresh-statusline.sh
# View cached output
cat ~/.config/moonpay/statusline-cache.txt
# Strip ANSI codes for plain text output
sed 's/\x1b\[[0-9;]*m//g' ~/.config/moonpay/statusline-cache.txt
# Check authentication if refresh fails
mp verify
Verify the setup files exist:
~/.config/moonpay/statusline.json~/.config/moonpay/refresh-statusline.shRun the refresh command:
bash ~/.config/moonpay/refresh-statusline.sh
If the cache file exists, show the user the refreshed value in plain text:
sed 's/\x1b\[[0-9;]*m//g' ~/.config/moonpay/statusline-cache.txt
If the cache file does not exist after a successful refresh, tell the user no balances were found for the configured address-and-chain entries.
Only query the underlying mp balance commands directly if the user explicitly asks for a detailed balance breakdown. Otherwise, trust the configured refresh script as the source of truth for the status line.
Confirm that the cache was refreshed and remind the user that the target CLI may show the change on the next status line render or next session, depending on local setup.
| Error | Cause | Fix |
|---|---|---|
| No config file | Setup not run | Run moonpay-wallet-statusline first |
| No refresh script | Setup not run | Run moonpay-wallet-statusline first |
mp verify failed | Auth expired or missing | Run mp login then mp verify |
| Refresh exits successfully but cache is missing | No balances on configured entries | Check the configured addresses/chains and verify the wallet has funds |