← Back to Skills Marketplace
bevanding

Eth Payment

by bevanding · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ Security Clean
357
Downloads
1
Stars
1
Active Installs
5
Versions
Install in OpenClaw
/install evm-payment
Description
Generate EIP-681 Ethereum payment links and QR codes for any EVM chain. Zero configuration, instant setup for receiving ETH and ERC-20 payments. Use when you...
README (SKILL.md)

ETH Payment Skill

Zero config. Instant setup. Works on any EVM chain.

What This Does

Generate EIP-681 compliant payment links that work with MetaMask and other Ethereum wallets. Perfect for:

  • Payment requests and invoices
  • Donation links
  • Mobile-friendly checkout
  • Any on-chain payment collection

No API keys. No servers. No configuration.

Installation

Prerequisites

  • Python 3.8+ - Required to run the script
  • pip packages: qrcode, pillow - For QR code generation

Quick Install

Install the required packages:

pip install qrcode pillow

Run the Skill

python3 scripts/eth_payment.py create --to 0xYourAddress --amount 0.1

Quick Start

# Basic ETH payment on Base
eth-payment create --to 0xYourAddress --amount 0.1

# USDC payment with QR code
eth-payment create --to 0xYourAddress --amount 100 --token USDC --qr payment.png

# Specify network
eth-payment create --to 0xYourAddress --amount 10 --token USDC --network ethereum --qr qr.png

Commands

create - Generate Payment Link

eth-payment create --to \x3Caddress> --amount \x3Cnumber> [options]

Required:
  --to \x3Caddress>      Recipient address (0x...)
  --amount \x3Cnumber>   Amount to request

Options:
  --token \x3Csymbol>    Token symbol (default: ETH)
  --network \x3Cname>    Network: base, ethereum, arbitrum, optimism, polygon (default: base)
  --qr \x3Cpath>         Generate QR code and save to path
  --json              Output as JSON for programmatic use

chains - List Supported Networks

eth-payment chains
eth-payment chains --json

tokens - List Tokens for Network

eth-payment tokens --network base
eth-payment tokens --network ethereum --json

validate - Validate Address

eth-payment validate 0x...

Supported Networks

Network Chain ID Native Token ERC-20 Tokens
base 8453 ETH USDC, USDT, WETH
ethereum 1 ETH USDC, USDT, WETH, DAI
arbitrum 42161 ETH USDC, USDT, ARB
optimism 10 ETH USDC, OP
polygon 137 MATIC USDC, USDT, WETH

Examples

Invoice with QR Code

eth-payment create \
  --to 0x1F3A9A450428BbF161C4C33f10bd7AA1b2599a3e \
  --amount 100 \
  --token USDC \
  --network base \
  --qr invoice_qr.png

JSON Output for Integration

eth-payment create --to 0x... --amount 10 --token USDC --json

Output:

{
  "success": true,
  "network": "base",
  "chain_id": 8453,
  "token": "USDC",
  "recipient": "0x...",
  "amount": "10",
  "links": {
    "eip681": "ethereum:0x833...@8453/transfer?address=0x...&uint256=10000000",
    "metamask": "https://metamask.app.link/send/..."
  },
  "transaction": {
    "to": "0x833...",
    "value": "0x0",
    "data": "0xa9059cbb..."
  }
}

How It Works

  1. EIP-681 Standard: Uses the Ethereum Improvement Proposal 681 format for payment links
  2. Universal: Same code works on any EVM chain - only configuration differs
  3. QR Codes: Generated locally via Python qrcode library, no external services

Security Notes

  • This skill only generates payment links, it cannot execute transactions
  • No private keys or secrets required
  • All processing happens locally
  • Always verify the recipient address before sharing payment links

Adding New Chains

To add a new EVM chain, edit config/chains.json:

{
  "chains": {
    "new-chain": {
      "name": "New Chain",
      "chain_id": 12345,
      "native_token": "NATIVE",
      "tokens": {
        "NATIVE": {
          "address": "0x0000000000000000000000000000000000000000",
          "decimals": 18,
          "is_native": true
        },
        "USDC": {
          "address": "0x...",
          "decimals": 6
        }
      }
    }
  }
}

Maintainer: Antalpha AI Team License: MIT

Usage Guidance
This package appears to do what it says (generate payment links and local QR codes) and asks for no secrets, but check these before using: 1) Review config/chains.json token addresses — I noticed some entries that look malformed or possibly mistyped (non-hex characters in at least one token address); using incorrect token addresses could create broken or misleading payment requests. 2) Inspect the full Python script for any unexpected network calls or shell calls (the file imports subprocess but the visible parts don't use it — confirm the remainder of the file). 3) Run the tool in a local/sandbox environment first and test with a non-sensitive address to verify outputs. 4) Only install the listed pip packages from PyPI and keep your environment isolated (virtualenv). If you want higher assurance, ask the maintainer for a checksum or official release URL and request fixes for any malformed addresses or syntax issues before using in production.
Capability Analysis
Type: OpenClaw Skill Name: eth-payment Version: 1.0.4 The eth-payment skill is a legitimate utility for generating EIP-681 Ethereum payment links and QR codes. Analysis of `scripts/eth_payment.py` shows it performs local string formatting and QR generation using standard libraries (qrcode, pillow) with no evidence of data exfiltration, malicious execution, or prompt injection. The `config/chains.json` file contains accurate contract addresses for common tokens on supported EVM networks (e.g., USDC on Ethereum and Base).
Capability Assessment
Purpose & Capability
Name/description, SKILL.md, and the included Python script all describe generating EIP-681 links and QR codes. No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
SKILL.md instructs the agent/user to install qrcode and pillow and to run the included script; the script only reads its local config, generates links, and can write a PNG file. It does not call remote APIs or read environment secrets. Note: SKILL.md claims 'zero config' but the script relies on the included config/chains.json file (which contains token addresses).
Install Mechanism
No install spec; instruction-only skill. Dependencies are typical Python libraries (qrcode, pillow) installed via pip per README. No downloads from unknown URLs or archive extraction.
Credentials
The skill requires no environment variables or credentials. It operates locally and does not request keys, tokens, or config paths.
Persistence & Privilege
always is false and the skill does not request any elevated persistence or modify other skills/configs. It only writes QR image files to paths given by the user.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install evm-payment
  3. After installation, invoke the skill by name or use /evm-payment
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.4
- Updated documentation to use Python's qrcode and pillow libraries for QR code generation (instead of npx qrcode) - Installation steps now specify required pip packages - Clarified that all dependencies are handled via Python pip packages - No functional code changes; documentation and setup improvements only
v1.0.3
- Added pip dependencies: qrcode and pillow to the skill metadata. - Updated installation instructions to reflect Python pip requirements. - No changes to core functionality; changes mainly affect packaging and setup.
v1.0.2
- Added version, author, and metadata fields to SKILL.md for improved documentation and clarity. - Updated maintainer from "Web3 Investor Team" to "Antalpha AI Team". - Improved installation instructions and prerequisites listing. - No functional changes to code; documentation enhancements only.
v1.0.1
- Added installation instructions, including prerequisites and setup steps. - Clarified that Python 3.8+ is required, and Node.js is only needed for QR code generation. - Explained that the skill uses only the Python standard library and that QR generation relies on `npx qrcode`. - Provided command examples for running the script directly with Python. - No changes to features or command-line usage; all updates are documentation improvements.
v1.0.0
Initial release of eth-payment: generate instant EVM payment links and QR codes. - Create EIP-681 Ethereum payment links and QR codes for ETH and ERC-20 tokens. - Supports Base, Ethereum, Arbitrum, Optimism, and Polygon networks. - Zero configuration required—no servers, no API keys, runs locally. - Features include payment requests, invoices, donation links, and address validation. - List supported chains and tokens, output QR codes or JSON for easy integration.
Metadata
Slug evm-payment
Version 1.0.4
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 5
Frequently Asked Questions

What is Eth Payment?

Generate EIP-681 Ethereum payment links and QR codes for any EVM chain. Zero configuration, instant setup for receiving ETH and ERC-20 payments. Use when you... It is an AI Agent Skill for Claude Code / OpenClaw, with 357 downloads so far.

How do I install Eth Payment?

Run "/install evm-payment" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Eth Payment free?

Yes, Eth Payment is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Eth Payment support?

Eth Payment is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Eth Payment?

It is built and maintained by bevanding (@bevanding); the current version is v1.0.4.

💬 Comments