Payments and Wallets (Solana ZK Compression) for Openclaw

A specialized skill for building ultra-low-cost Solana payment flows and wallet integrations using ZK Compression and the light-token API.

tilo-14
v1.0.2
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-payments-wallet-dev

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-payments-wallet-dev 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 Payments and Wallets (Solana ZK Compression)?

This skill empowers developers to integrate high-performance stablecoin payment flows and comprehensive wallet features on the Solana blockchain. By leveraging Light Protocol and ZK Compression, it reduces the cost of token account creation from ~2,000,000 lamports to just ~11,000 lamports, representing a 200x cost saving. Using Openclaw Skills with this module allows for seamless management of compressed tokens with an API that mirrors the familiar SPL-token standard.

The skill provides a robust framework for handling asset transfers, balance inquiries, and transaction history. It is designed to be highly extensible, supporting both standard Solana wallet adapters and embedded wallet providers like Privy. For developers looking to build scalable financial applications, this skill offers the perfect balance of cost-efficiency and developer-friendly abstractions within the Openclaw Skills ecosystem.

Payments and Wallets (Solana ZK Compression) Use Cases

  • Deploying high-volume stablecoin payment gateways with minimal account overhead.
  • Developing wallet user interfaces that display balances and transaction history for compressed tokens.
  • Implementing secure client-side signing flows using Privy or mobile wallet adapters.
  • Automating the wrapping and unwrapping process between standard SPL tokens and compressed tokens.
  • Building double-spend prevention mechanisms using nullifier programs for critical financial transactions.

How Payments and Wallets (Solana ZK Compression) Works

  1. The agent clarifies the user's intent and suggests entering a structured plan mode to ensure all financial parameters are defined.
  2. It identifies relevant domain references, such as payment logic, wallet UI requirements, or specific signing providers.
  3. A comprehensive YAML plan is generated, mapping out dependencies like RPC URLs and necessary environment variables for Openclaw Skills execution.
  4. Subagents are deployed to execute specific tasks, such as generating instructions for token transfers or balance lookups in parallel.
  5. If technical blockers arise, the skill triggers a read-only subagent with specialized MCP access to analyze documentation and example repositories.

Payments and Wallets (Solana ZK Compression) Setup

To begin using this skill within Openclaw Skills, install the required dependencies and configure your environment variables.

npm install @lightprotocol/compressed-token@beta @lightprotocol/stateless.js@beta @solana/web3.js @solana/spl-token

Required Environment Variables:

  • HELIUS_RPC_URL: Required for all RPC operations and ZK Compression lookups.
  • PRIVY_APP_ID / PRIVY_APP_SECRET: Required only if using Privy for embedded wallet signing.

Payments and Wallets (Solana ZK Compression) Data Schema & Taxonomy

The skill organizes data by mapping standard SPL operations to high-efficiency light-token instructions. This structure ensures compatibility while maximizing cost savings.

Operation SPL Function Light-Token Equivalent
Receive getOrCreateAssociatedTokenAccount loadAta
Transfer createTransferInstruction transferInterface
Balance getAccount getAtaInterface
History getSignaturesForAddress rpc.getSignaturesForOwnerInterface
Interop N/A wrap / unwrap

All plural functions return TransactionInstruction[][] to handle automatic loading of cold accounts efficiently.

Payments and Wallets (Solana ZK Compression) Advanced Features

  • Plural instruction handling: Automatically manages the complexities of loading cold accounts by returning batched transaction arrays.
  • Embedded Wallet Integration: Full support for Privy signing flows, including treasury authorization and secure secret management.
  • ZK Compression Support: Native integration with stateless.js for handling compressed state proofs on Solana.
  • Double-Spend Prevention: Advanced nullifier support to ensure payment instructions cannot be executed more than once.
  • Multi-Agent Orchestration: Utilizes subagents for parallelized research and execution within the Openclaw Skills framework.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*