Skip to content
Back to skills

Near Qr Skill

ASecurity

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

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 7, 2026
developmentpythonbash

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 6 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add modbender/skill-library-mcp --skill near-qr-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Near Qr Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Near Qr Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-near-qr-skill/badge)](https://www.skillsdirectory.com/skills/modbender-near-qr-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: near-qr-code
description: Generate QR codes for NEAR addresses and payment requests, and read NEAR QR codes from images.
version: 1.0.0
author: humanAgent
tags:
  - near
  - qr-code
  - payments
  - blockchain
---

# 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"
}
```

Files in this skill

  • README.md1.2 KB
  • SKILL.md2.3 KB
  • molthub.json585 B
  • near_qr.py8.6 KB
  • requirements.txt47 B
  • test_near_qr.py4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…