Sigil Wallet LogoSigil Wallet

SPL Token Tools

Create, mint, burn, and manage SPL tokens on Solana Devnet.

Sigil Wallet agents can fully manage SPL (Solana Program Library) tokens through the built-in tool registry. All operations execute on Solana Devnet.

Available Tools

ToolDescription
create_tokenCreate a new SPL token mint with optional metadata (name, symbol, URI)
mint_tokensMint tokens to this wallet (requires mint authority)
burn_tokensBurn tokens from the agent's wallet
get_token_accountsList all SPL token accounts owned by this wallet
transfer_tokenTransfer SPL tokens to another wallet (creates recipient account if needed)
close_empty_token_accountsClose all zero-balance accounts and reclaim rent SOL

Example Scenarios

These scenarios leverage the SPL token tools:

"If a token account has zero balance, close it and reclaim rent"
"Mint 100 DEMO tokens every day at 9am"
"If I create a new token, mint 1,000,000 to my primary wallet"
"Burn any SPAM tokens that appear in my wallet"

Token Creation with Metadata

The create_token tool supports optional metadata to create fully-featured tokens:

"Create a token with 9 decimals, name 'Sigil Test Token', symbol 'SGT'"
"Create a new token called 'AgentCoin' with symbol 'AGNT' and 6 decimals"

Metadata parameters:

  • name — Token name (max 32 characters)
  • symbol — Token ticker/symbol (max 10 characters)
  • uri — Optional URI pointing to a JSON file with image and description
  • decimals — Precision (0-9, default 9)

Token Lifecycle

A typical token workflow:

  1. Create a new token mint with create_token (specifying name, symbol, decimals)
  2. Mint initial supply with mint_tokens (you become the mint authority)
  3. Transfer tokens between wallets using transfer_token (recipient account created automatically)
  4. Burn unwanted tokens with burn_tokens
  5. Close empty accounts to reclaim rent with close_empty_token_accounts

Guardrail Integration

All token operations pass through the Guardrails layer:

  • mint_tokens — Checked against daily volume limits
  • burn_tokens — Checked against per-trade value limits
  • transfer_token — Validates recipient allowlists
  • close_empty_token_accounts — Always allowed (reclaiming rent is never risky)

See Safety & Guardrails for details.

On this page