near-qr-skill
Generate QR codes for NEAR addresses and payment requests, and read NEAR QR codes from images.
Setup & Installation
Install command
clawhub install ussyalfaks/near-qr-skillIf the CLI is not installed:
Install command
npx clawhub@latest install ussyalfaks/near-qr-skillOr install with OpenClaw CLI:
Install command
openclaw skills install ussyalfaks/near-qr-skillor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/ussyalfaks/near-qr-skillWhat This Skill Does
Generates QR codes for NEAR Protocol addresses and payment requests, and decodes NEAR QR codes from image files. Supports encoding a recipient, amount, and memo into a single payment QR. Outputs decoded data as structured JSON.
Handles both generation and decoding in one tool, eliminating the need to combine separate QR libraries with manual NEAR URI formatting.
When to Use It
- Sharing a NEAR wallet address as a printable or displayable QR
- Creating payment request QRs with amount and invoice memo for billing
- Scanning a received QR image to verify the recipient and amount before sending
- Generating donation QRs for events, websites, or printed materials
- Extracting payment details from a QR code screenshot
View original SKILL.md file
# NEAR QR Code Skill
Generate and read QR codes for NEAR Protocol addresses and payment requests.
## Setup
Install the required Python dependencies:
```bash
pip install -r requirements.txt
```
## Commands
### 1. Generate Address QR — `near_qr_address`
Generate a QR code containing a NEAR account address.
**Usage:**
```bash
python near_qr.py address <account_id> [--output <path>] [--size <pixels>]
```
**Parameters:**
- `account_id` (required) — The NEAR account address (e.g. `alice.near`)
- `--output` — Output file path (default: `<account_id>_qr.png`)
- `--size` — QR image size in pixels (default: `400`)
**Example:**
```bash
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:**
```bash
python near_qr.py payment <to> <amount> [--memo <text>] [--output <path>] [--size <pixels>]
```
**Parameters:**
- `to` (required) — Recipient NEAR account (e.g. `bob.near`)
- `amount` (required) — Amount of NEAR to request (e.g. `2.5`)
- `--memo` — Optional memo or reference note
- `--output` — Output file path (default: `payment_qr.png`)
- `--size` — QR image size in pixels (default: `400`)
**Example:**
```bash
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:**
```bash
python near_qr.py read <image_path>
```
**Parameters:**
- `image_path` (required) — Path to the QR code image
**Example:**
```bash
python near_qr.py read alice_qr.png
```
**Output:** Returns a JSON object with the decoded type and data:
```json
{
"type": "near_address",
"account": "alice.near"
}
```
or for payment QR codes:
```json
{
"type": "near_payment",
"to": "bob.near",
"amount": "5.0",
"memo": "Invoice #42"
}
```
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Sharing a NEAR wallet address as a printable or displayable QR
- 1Sharing a NEAR wallet address as a printable or displayable QR
- 2Creating payment request QRs with amount and invoice memo for billing
- 3Scanning a received QR image to verify the recipient and amount before sending
- 4Generating donation QRs for events, websites, or printed materials
- 5Extracting payment details from a QR code screenshot
Generate QR codes for NEAR addresses and payment requests, and read NEAR QR codes from images.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.
Similar Skills
VIEW ALLAgent Browser
A fast Rust-based headless browser automation CLI.
babyconnect
ActiveCampaign CRM integration for lead management, deal tracking.
bits
Control browser automation agents via the Bits MCP server.
testskillx
Simple test skill that calls a GET endpoint to fetch a daily post.