swig-smart-wallet

Create and manage Solana programmable wallets with granular authority controls.

9|7|Updated Apr 4, 2025
One-click install
npx skills add https://github.com/anagrambuild/swig-ts --skill swig-smart-wallet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swig-smart-wallet
Source: https://github.com/anagrambuild/swig-ts/tree/main/skills/swig-smart-wallet
Command: npx skills add https://github.com/anagrambuild/swig-ts --skill swig-smart-wallet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @swig-wallet/classic, @swig-wallet/kit, @solana/web3.js, @solana/kit, and includes references (resource) and assets (resource) components.

What problem does it solve?

It enables AI agents to create and manage programmable Solana wallets with granular authority controls, simplifying blockchain operations.

Core Features & Use Cases

  • Create and derive on-chain Swig wallets using TypeScript SDKs.
  • Manage authorities by adding, removing, or updating permissions for other keys.
  • Execute transactions through the wallet with inner instruction signing.
  • Handle gas fees via Swig Paymaster API, custom servers, or self-funded SOL.
  • Generate keypairs for agent identities in secure, automated workflows.
  • Support multiple SDKs for compatibility with web3.js v1.x and @solana/kit v2.x.

Quick Start

Initialize by selecting RPC, configure gas sponsorship, generate or load a keypair, create a wallet, and then manage authorities or execute transactions with natural-language instructions.

Frequently Asked Questions about swig-smart-wallet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a programmable Solana wallet for an AI agent?

You can create a programmable Solana wallet for an AI agent by deriving an on-chain Swig wallet using TypeScript SDKs, enabling automated blockchain operations with secure key handling. Initialize the setup by selecting an RPC and generating a keypair.

How do I manage granular permissions for Solana smart wallet authorities?

Managing granular permissions for Solana smart wallet authorities involves adding, removing, or updating permissions for specific keys. This ensures secure operation by enforcing flexible authority controls over on-chain transactions executed by AI agents.

Can I use @solana/kit v2.x to execute on-chain transactions through a Swig wallet?

Yes, you can use @solana/kit v2.x to execute on-chain transactions through a Swig wallet. The implementation supports multiple SDKs for compatibility, allowing you to perform inner instruction signing and automate blockchain workflows.

What's the best way to handle gas fees for automated Solana smart contract wallets?

The best way to handle gas fees for automated Solana smart contract wallets is using flexible fee strategies. You can sponsor gas via the Swig Paymaster API, route fees through custom servers, or use self-funded SOL.

Do I need secure keypair generation to automate Solana blockchain workflows?

Yes, you need secure keypair generation to automate Solana blockchain workflows. Generating keypairs establishes secure agent identities, which is strictly required for creating wallets, managing authorities, and executing on-chain transactions safely.