paythefly for Openclaw

Create secure, EIP-712 signed crypto payment and withdrawal links for multi-chain applications.

seanlan
v1.0.8
Feb 26, 2026
2
1.7k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install paythefly

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 paythefly 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 paythefly?

PayTheFly is a specialized utility designed to bridge the gap between modern applications and the PayTheFlyPro crypto gateway. By leveraging EIP-712 and TIP-712 signature standards, it allows developers to generate secure, shareable payment and withdrawal URLs for major blockchain networks including BSC, Ethereum, and TRON. This tool is a vital addition to your library of Openclaw Skills, enabling non-custodial transaction authorization without exposing main wallet funds.

The skill focuses on security and ease of use, providing a dedicated environment where a signer key only authorizes messages rather than managing assets directly. This ensures that your Openclaw Skills remain secure while handling high-volume transaction requests across different chain IDs and token standards.

paythefly Use Cases

  • Automating e-commerce checkouts with crypto payments on BSC or Ethereum.
  • Streamlining user withdrawals in decentralized applications using TRON.
  • Integrating multi-chain payment gateways into existing CLI workflows.
  • Generating time-bound payment links for digital services or subscriptions.
  • Verifying order statuses programmatically to trigger post-purchase actions.

How paythefly Works

  1. Initialize the environment with project-specific credentials like PTF_PROJECT_ID and the signer's private key.
  2. Execute the payment or withdrawal script with specific parameters like amount, currency token, and unique serial number.
  3. The tool generates an EIP-712 or TIP-712 signature locally using the provided signer key.
  4. A secure, shareable URL is constructed, linking to the PayTheFlyPro gateway for user interaction.
  5. The application can then query the gateway to monitor the transaction lifecycle and confirm successful settlement.

paythefly Setup

Ensure you have Node.js and npm installed. First, install the necessary blockchain libraries:

npm install ethers tronweb

Next, configure your environment variables to allow the skill to interact with the blockchain:

export PTF_PROJECT_ID="your_project_id"
export PTF_CONTRACT_ADDRESS="your_contract_address"
export PTF_SIGNER_KEY="your_private_signing_key"
export PTF_CHAIN_ID="56"

You can then generate a payment link using the following command:

node scripts/payment.mjs --amount "0.01" --serialNo "ORDER001"

paythefly Data Schema & Taxonomy

The skill utilizes a structured metadata approach to manage transaction parameters. Below is the primary schema for link generation:

Parameter Description Data Type
amount Transaction value to be processed String/Number
serialNo Unique order identifier for tracking String
token Contract address (omit for native tokens) String (Hex/Base58)
deadline Signature expiration window Hours (Integer)
chainId Target network ID (e.g., 1, 56, tron:mainnet) String/Number

This data ensures that every Openclaw Skills execution is unique, verifiable on-chain, and correctly mapped to your merchant dashboard.

paythefly Advanced Features

  • Multi-chain support covering Ethereum, BSC, and TRON (Mainnet and Testnets).
  • Native and token-based (ERC-20, BEP-20, and TRC-20) payment processing capabilities.
  • Customizable branding and UI localization for English, Chinese, Korean, and Japanese users.
  • Configurable signature validity windows via the deadline parameter to enhance security.
  • Direct status querying for both payment and withdrawal workflows to automate backend updates.

SKILL.md


Loading

Related Openclaw Skills

Featured*