返回顶部
n

near-qr-codeNEAR二维码生成

Generate QR codes for NEAR addresses and payment requests, and read NEAR QR codes from images.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
765
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

near-qr-code

NEAR QR Code Skill

Generate and read QR codes for NEAR Protocol addresses and payment requests.

Setup

Install the required Python dependencies:

CODEBLOCK0

Commands

1. Generate Address QR — near_qr_address

Generate a QR code containing a NEAR account address.

Usage:
CODEBLOCK1

Parameters:

  • - account_id (required) — The NEAR account address (e.g. alice.near)
  • INLINECODE3 — Output file path (default: <account_id>_qr.png)
  • INLINECODE5 — QR image size in pixels (default: 400)

Example:

python near_qr.py address alice.near --output alice_qr.png --size 500



2. Generate Payment QR — near_qr_payment

Generate a QR code for a NEAR payment request, encoding recipient, amount, and optional memo.

Usage:
CODEBLOCK3

Parameters:

  • - to (required) — Recipient NEAR account (e.g. bob.near)
  • INLINECODE10 (required) — Amount of NEAR to request (e.g. 2.5)
  • INLINECODE12 — Optional memo or reference note
  • INLINECODE13 — Output file path (default: payment_qr.png)
  • INLINECODE15 — QR image size in pixels (default: 400)

Example:

python near_qr.py payment bob.near 5.0 --memo "Invoice #42" --output pay_bob.png



3. Read QR Code — near_qr_read

Decode a NEAR QR code from an image file and extract the embedded data.

Usage:
CODEBLOCK5

Parameters:

  • - image_path (required) — Path to the QR code image

Example:
CODEBLOCK6

Output: Returns a JSON object with the decoded type and data:

{
  "type": "near_address",
  "account": "alice.near"
}

or for payment QR codes:
CODEBLOCK8

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 near-qr-skill-1776420091 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 near-qr-skill-1776420091 技能

通过命令行安装

skillhub install near-qr-skill-1776420091

下载

⬇ 下载 near-qr-code v1.0.0(免费)

文件大小: 6.67 KB | 发布时间: 2026-4-17 20:20

v1.0.0 最新 2026-4-17 20:20
- Initial release of near-qr-code skill.
- Generate QR codes for NEAR account addresses.
- Create QR codes for NEAR payment requests, including recipient, amount, and optional memo.
- Read and decode NEAR QR codes from image files, extracting address or payment details as JSON.
- Includes command-line interface for all functions.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部