sage-wallet

0
0
Source

Interact with the Sage Chia blockchain wallet via RPC. Use for XCH transactions, CAT tokens, NFTs, DIDs, offers, options, coin management, and wallet configuration. Supports cross-platform setups (Mac/Linux/Windows) with configurable RPC endpoints and SSL certificates. Invoke with /sage commands or natural language like "send XCH", "check my NFTs", "create an offer", "mint a CAT token".

Install

mkdir -p .claude/skills/sage-wallet && curl -L -o skill.zip "https://mcp.directory/api/skills/download/8231" && unzip -o skill.zip -d .claude/skills/sage-wallet && rm skill.zip

Installs to .claude/skills/sage-wallet

About this skill

Sage Wallet Skill

RPC interface to Sage wallet for Chia blockchain operations.

Configuration

User settings stored in {workspace}/config/sage-wallet.json:

{
  "platform": "auto",
  "rpc_url": "https://127.0.0.1:9257",
  "cert_path": null,
  "key_path": null,
  "fingerprint": null,
  "auto_login": false
}

Platform Defaults

PlatformCert PathKey Path
mac~/Library/Application Support/com.rigidnetwork.sage/ssl/wallet.crt...wallet.key
linux~/.local/share/sage/ssl/wallet.crt...wallet.key
windows%APPDATA%\com.rigidnetwork.sage\ssl\wallet.crt...wallet.key

When platform is "auto", detect via uname -s.

Slash Commands

Configuration

CommandAction
/sage statusShow config and test connection
/sage configDisplay current settings
/sage config platform <auto|mac|linux|windows>Set platform
/sage config rpc <url>Set RPC URL
/sage config cert <path>Set SSL cert path
/sage config key <path>Set SSL key path
/sage config fingerprint <fp>Set default wallet fingerprint
/sage config autologin <on|off>Toggle auto-login
/sage config resetReset to defaults

Operations

Route to appropriate sub-skill based on domain:

DomainSub-SkillExample Commands
Auth & Keyssage-auth/sage login, /sage logout, /sage keys
XCHsage-xch/sage send xch, /sage balance, /sage combine
CAT Tokenssage-cat/sage cats, /sage send cat, /sage issue cat
NFTssage-nft/sage nfts, /sage mint nft, /sage transfer nft
DIDssage-did/sage dids, /sage create did
Offerssage-offers/sage offers, /sage make offer, /sage take offer
Optionssage-options/sage options, /sage mint option
Coinssage-coins/sage coins, /sage check address
Transactionssage-txn/sage pending, /sage submit
Networksage-network/sage peers, /sage network
Systemsage-system/sage sync, /sage version
WalletConnectsage-walletconnect/sage wc sign

Global Parameters

All commands accept optional overrides:

  • --fingerprint <fp> — Use specific wallet
  • --rpc <url> — Override RPC URL
  • --cert <path> — Override cert path
  • --key <path> — Override key path

Scripts

  • scripts/sage-config.sh — Config management
  • scripts/sage-rpc.sh — RPC caller with mTLS

Making RPC Calls

# Source the RPC helper
source scripts/sage-rpc.sh

# Call an endpoint
sage_rpc "get_sync_status" '{}'
sage_rpc "send_xch" '{"address":"xch1...","amount":"1000000000000","fee":"100000000"}'

Sub-Skills

Each sub-skill handles a specific domain. Load the appropriate one based on the operation:

Sub-SkillWhen to Load
sage-authLogin, logout, key management, mnemonics
sage-xchSend/receive XCH, combine, split coins
sage-catCAT token operations
sage-nftNFT minting, transfers, collections
sage-didDID creation and management
sage-offersOffer creation, acceptance, cancellation
sage-optionsOptions protocol operations
sage-coinsCoin queries, address validation
sage-txnTransaction signing, submission
sage-networkPeer and network settings
sage-systemSync status, version, database
sage-walletconnectWalletConnect integration

First Run

On first invocation:

  1. Check for config file; create if missing
  2. Detect platform if set to "auto"
  3. Verify cert/key files exist
  4. If missing, prompt user to configure paths
  5. Test connection with GetVersion

If certs not found, guide user:

Sage certificates not found. Configure with:
  /sage config cert /path/to/wallet.crt
  /sage config key /path/to/wallet.key

Error Handling

RPC errors return HTTP status codes:

  • 400 — Bad request (invalid params)
  • 401 — Unauthorized (cert mismatch)
  • 404 — Not found
  • 500 — Internal error

Always check response for error field before processing data.

Amount Formatting

Sage uses mojos (1 XCH = 1,000,000,000,000 mojos). The Amount type in requests/responses is a string representing mojos. Convert for display:

1 XCH = "1000000000000"
0.001 XCH = "1000000000"

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

9521,094

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

846846

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

571700

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

548492

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

673466

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

514280

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.