GStable AI Payment for Openclaw

A protocol-driven skill for AI agents to discover, negotiate, and execute multi-chain cryptocurrency payments.

d5c5ceb0
v1.0.0
Mar 4, 2026
1
1.1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install gstable-ai-payment

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 gstable-ai-payment 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 GStable AI Payment?

The GStable AI Payment skill is a specialized integration for Openclaw Skills designed to bridge the gap between autonomous agents and decentralized finance. It provides a standardized framework for agents to interact with payment links, manage secure EIP-712 signatures, and handle the complete lifecycle of a blockchain transaction. By utilizing this skill, developers can empower their AI agents to perform commercial actions such as checking balances, approving tokens, and executing payments across major networks including Ethereum, Polygon, Arbitrum, and Base.

Built for the modern agentic workflow, this skill simplifies the complexity of on-chain interactions into actionable CLI commands. Whether an agent is assisting a user with a purchase or managing automated treasury tasks, GStable AI Payment ensures that every step—from link discovery to transaction confirmation—is handled with technical precision and security. It is a vital component for any developer looking to add financial capabilities to their Openclaw Skills ecosystem.

GStable AI Payment Use Cases

  • Automated e-commerce checkouts initiated by AI agents through chat interfaces.
  • Multi-chain token balance monitoring and allowance management for decentralized applications.
  • Secure negotiation of payment sessions using EIP-712 signatures to prevent unauthorized transactions.
  • Streamlined one-command payment flows for users who want agents to handle gas and approval complexities.

How GStable AI Payment Works

  1. The AI agent receives a GStable payment link and uses the get_link command to retrieve product details, costs, and supported chains.
  2. The agent or user selects a preferred chain and token, triggering the creation of a secure payment session.
  3. The skill generates an EIP-712 signature to authorize the session and prepares the necessary transaction calldata.
  4. The system automatically checks if the wallet has sufficient token allowance for the payment contract.
  5. If required, an approval transaction is generated and executed to permit the transfer.
  6. The final on-chain payment is executed, and the agent monitors the transaction hash for successful confirmation.

GStable AI Payment Setup

Install the skill via the hub and synchronize dependencies using uv:

clawhub install gstable-ai-payment
cd ~/.openclaw/workspace/skills/gstable-ai-payment
uv sync

Configure your environment by setting the required private key (ensure this is kept secure and never committed to version control):

export WALLET_PRIVATE_KEY=0x...your_private_key_here...
# Optional: Set a default email for receipts
export [email protected]

GStable AI Payment Data Schema & Taxonomy

The skill organizes payment data through a structured sequence of identifiers and cryptographic objects:

Component Type Description
link_id String The unique identifier for the payment request (e.g., lnk_BUDBgi...).
session_id String A unique session token (e.g., sess_abc123) used to track a specific payment attempt.
chain_id Integer The EIP-155 network identifier (e.g., 137 for Polygon, 1 for Ethereum).
calldata String The hex-encoded data payload used to interact with the GStable smart contracts.
txHash String The on-chain transaction hash generated upon successful execution.

GStable AI Payment Advanced Features

  • Atomic 'pay' command that handles discovery, session creation, approval, and execution in a single step.
  • Multi-chain support with configurable RPC endpoints for Ethereum, Polygon, Arbitrum, and Base.
  • Integrated EIP-712 signing logic to ensure secure, typed data hashing for payment authorizations.
  • Real-time balance and allowance checking to provide agents with proactive troubleshooting data before transaction submission.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*