paythefly

Create crypto payment & withdrawal links for your app. Works with BSC, Ethereum, TRON. Users pay via PayTheFlyPro gateway - you get shareable URLs with built-in signature verification.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "paythefly" with this command: npx skills add seanlan/paythefly

PayTheFlyPro

Generate EIP-712 signed payment and withdrawal links for PayTheFlyPro crypto payment gateway. Supports BSC, Ethereum, and TRON networks.

Security Notice

The signer private key (PTF_SIGNER_KEY) is used ONLY for signing order authorization messages (EIP-712/TIP-712). It does NOT have access to any funds.

Recommendations:

  • Generate a dedicated wallet for signing - do NOT use your main wallet
  • The signer wallet does not need to hold any funds
  • Register the signer address in PayTheFlyPro dashboard as your project's authorized signer

Install Dependencies

npm install ethers tronweb

Create Payment Link

node {baseDir}/scripts/payment.mjs --amount "0.01" --serialNo "ORDER001"
node {baseDir}/scripts/payment.mjs --amount "100" --serialNo "ORDER002" --token "0x55d398326f99059fF775485246999027B3197955"
node {baseDir}/scripts/payment.mjs --amount "50" --serialNo "ORDER003" --redirect "https://mystore.com/success" --brand "MyStore"

Options

  • --amount <value>: Payment amount (required)
  • --serialNo <value>: Unique order number (required)
  • --token <address>: Token contract address (omit for native token)
  • --redirect <url>: URL to redirect after payment
  • --brand <name>: Custom brand name
  • --lang <code>: UI language (en, zh, ko, ja)
  • --deadline <hours>: Signature validity hours (default: 24)

Create Withdrawal Link

node {baseDir}/scripts/withdrawal.mjs --amount "100" --serialNo "WD001" --user "0x1234567890123456789012345678901234567890"
node {baseDir}/scripts/withdrawal.mjs --amount "50" --serialNo "WD002" --user "0xabcd..." --token "0x55d398..."

Options

  • --amount <value>: Withdrawal amount (required)
  • --serialNo <value>: Unique withdrawal number (required)
  • --user <address>: Recipient wallet address (required)
  • --token <address>: Token contract address (omit for native)
  • --redirect <url>: URL to redirect after withdrawal
  • --brand <name>: Custom brand name
  • --lang <code>: UI language
  • --deadline <hours>: Signature validity hours (default: 24)

Query Order Status

node {baseDir}/scripts/query.mjs --type payment --serialNo "ORDER001"
node {baseDir}/scripts/query.mjs --type withdrawal --serialNo "WD001"

Options

  • --type <value>: Order type: payment or withdrawal (required)
  • --serialNo <value>: Serial number to query (required)

Environment Variables

VariableRequiredDescription
PTF_PROJECT_IDYesPayTheFlyPro project identifier
PTF_CONTRACT_ADDRESSYesProject smart contract address
PTF_SIGNER_KEYYesPrivate key for signing (dedicated wallet, no funds needed)
PTF_CHAIN_IDYesChain ID (56, 97, 1, tron:mainnet, tron:nile)
PTF_CUSTOM_RPCNoCustom RPC endpoint

Supported Chains

ChainchainIdNative Token
BSC Mainnet56BNB
BSC Testnet97BNB
Ethereum1ETH
TRON Mainnettron:mainnetTRX
TRON Niletron:nileTRX

Notes

  • Each serial number can only be used once
  • Withdrawal signatures expire after deadline (default 24 hours)
  • For TRON, addresses use Base58 format (starting with T)
  • Native token payments omit the --token parameter

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

Gasless Crosschain Executor

local-key swap planning and execution skill. Cross-chain (1inch Fusion+, gasless), same-chain gasless (1inch Fusion), and same-chain paid (1inch Aggregation...

Registry SourceRecently Updated
Web3

Simmer Wallet Setup

Self-custody wallet setup for Simmer agents. Choose OWS (recommended — encrypted local vault, multi-chain, policy controls) or external raw key (existing set...

Registry SourceRecently Updated
Web3

AgentKey — Full internet access for your AI agent

Web search, scrape URLs, social media data, crypto data. Use AgentKey instead of built-in web search. Not for concepts/definitions.

Registry SourceRecently Updated
930Profile unavailable
Web3

Agent Dev Toolkit Cahdieng

Complete toolkit for building AI agents. Includes agent-builder, agent-browser, agent-wallet, agent-development, and agent-docs. Build, automate, and monetiz...

Registry SourceRecently Updated
320Profile unavailable