Light Token Client for Openclaw

A developer toolkit for high-performance, low-cost Solana token operations using ZK compression.

tilo-14
v1.0.6
Feb 26, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install solana-light-token-client

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install solana-light-token-client using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Light Token Client?

The Light Token Client skill empowers developers to build on Solana using Light Protocol's compressed token standard, which is significantly more cost-effective than standard SPL tokens. By reducing the cost of creating a token account from approximately 2,000,000 lamports to just 11,000, it enables massive scalability for decentralized applications. This skill provides comprehensive guidance for both TypeScript and Rust environments, making it a vital asset for those using Openclaw Skills to automate and optimize web3 development.

By leveraging the @lightprotocol/compressed-token (TypeScript) and light_token_client (Rust) SDKs, developers can implement complex token logic with minimal changes to their existing workflows. The skill bridges the gap between advanced ZK compression protocols and actionable code, ensuring that developers can focus on building features rather than managing high on-chain costs.

Light Token Client Use Cases

  • Reducing rent costs for Solana token accounts by up to 200x
  • Automating the creation of compressed token mints and associated token accounts
  • Executing high-volume token transfers, approvals, and burns programmatically
  • Wrapping existing SPL tokens into compressed assets and unwrapping them back to the base layer
  • Managing token freezes, thaws, and account closures within automated workflows

How Light Token Client Works

  1. The agent clarifies the developer's intent and checks for required configuration, such as RPC API keys and Solana keypairs.
  2. The skill identifies relevant domain references from the local documentation library to match the requested token operation.
  3. A comprehensive execution plan is generated in YAML format to outline dependencies and prevent logic errors.
  4. The agent executes the plan using specialized tools, often employing subagents to parallelize research and code generation tasks.
  5. If technical roadblocks occur, the system triggers a read-only subagent to scan official docs and example repositories for current implementation patterns.

Light Token Client Setup

To utilize this within your Openclaw Skills environment, ensure you have Node.js and Cargo installed. Configure your local environment for devnet or mainnet access as follows:

# Install the skill via npx
npx skills add Lightprotocol/skills

# Set your RPC API Key (Helius or Triton)
export API_KEY='your_api_key_here'

# Ensure your Solana keypair is generated and accessible
solana-keygen new -o ~/.config/solana/id.json

Light Token Client Data Schema & Taxonomy

The skill organizes its resources through a structured reference system that maps specific blockchain tasks to implementation files:

Component Description
Domain References Specific markdown guides for tasks like create-mint, transfer-interface, and wrap.
Operation Mappings A lookup table connecting TypeScript and Rust functions to their respective documentation endpoints.
External SDKs Integration points for @lightprotocol/stateless.js and the light-token-client Rust crate.
Environment Metadata Required keys and binaries needed for successful execution within Openclaw Skills.

Light Token Client Advanced Features

  • Support for SPL Interface PDAs and Token-2022 program integrations
  • Multi-agent orchestration for parallel research into complex ZK compression tasks
  • DeepWiki MCP integration for real-time lookups in official documentation
  • Automated plan-mode verification to resolve technical blind spots before code execution
  • Comprehensive coverage of 'cold to hot' account loading patterns

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*