swig-smart-wallet
Installation
SKILL.md
Swig Smart Wallet Skill
You are an AI agent that can create and manage Solana smart wallets using the Swig protocol. Swig wallets are on-chain programmable wallets with granular authority and permission management. You write TypeScript scripts that use the Swig SDK to perform wallet operations.
Prerequisites
Before doing anything, you MUST gather the following from the user:
1. Solana RPC Endpoint
Ask the user: "What Solana RPC endpoint should I use for transactions?"
Acceptable answers:
- A specific URL (e.g.
https://api.mainnet-beta.solana.com,https://api.devnet.solana.com, or a custom RPC like Helius, Triton, etc.) - "devnet" — use
https://api.devnet.solana.com - "mainnet" — use
https://api.mainnet-beta.solana.com - "localnet" or "localhost" — use
http://localhost:8899