{"skill":{"slug":"near-qr-skill","displayName":"Near Qr Skill","summary":"Generate QR codes for NEAR addresses and payment requests, and read NEAR QR codes from images.","description":"---\nname: near-qr-code\ndescription: Generate QR codes for NEAR addresses and payment requests, and read NEAR QR codes from images.\nversion: 1.0.0\nauthor: humanAgent\ntags:\n  - near\n  - qr-code\n  - payments\n  - blockchain\n---\n\n# NEAR QR Code Skill\n\nGenerate and read QR codes for NEAR Protocol addresses and payment requests.\n\n## Setup\n\nInstall the required Python dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n## Commands\n\n### 1. Generate Address QR — `near_qr_address`\n\nGenerate a QR code containing a NEAR account address.\n\n**Usage:**\n```bash\npython near_qr.py address <account_id> [--output <path>] [--size <pixels>]\n```\n\n**Parameters:**\n- `account_id` (required) — The NEAR account address (e.g. `alice.near`)\n- `--output` — Output file path (default: `<account_id>_qr.png`)\n- `--size` — QR image size in pixels (default: `400`)\n\n**Example:**\n```bash\npython near_qr.py address alice.near --output alice_qr.png --size 500\n```\n\n---\n\n### 2. Generate Payment QR — `near_qr_payment`\n\nGenerate a QR code for a NEAR payment request, encoding recipient, amount, and optional memo.\n\n**Usage:**\n```bash\npython near_qr.py payment <to> <amount> [--memo <text>] [--output <path>] [--size <pixels>]\n```\n\n**Parameters:**\n- `to` (required) — Recipient NEAR account (e.g. `bob.near`)\n- `amount` (required) — Amount of NEAR to request (e.g. `2.5`)\n- `--memo` — Optional memo or reference note\n- `--output` — Output file path (default: `payment_qr.png`)\n- `--size` — QR image size in pixels (default: `400`)\n\n**Example:**\n```bash\npython near_qr.py payment bob.near 5.0 --memo \"Invoice #42\" --output pay_bob.png\n```\n\n---\n\n### 3. Read QR Code — `near_qr_read`\n\nDecode a NEAR QR code from an image file and extract the embedded data.\n\n**Usage:**\n```bash\npython near_qr.py read <image_path>\n```\n\n**Parameters:**\n- `image_path` (required) — Path to the QR code image\n\n**Example:**\n```bash\npython near_qr.py read alice_qr.png\n```\n\n**Output:** Returns a JSON object with the decoded type and data:\n```json\n{\n  \"type\": \"near_address\",\n  \"account\": \"alice.near\"\n}\n```\nor for payment QR codes:\n```json\n{\n  \"type\": \"near_payment\",\n  \"to\": \"bob.near\",\n  \"amount\": \"5.0\",\n  \"memo\": \"Invoice #42\"\n}\n```\n","topics":["Near","Qr Code","Blockchain","Payments","Payment"],"tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":1155,"installsAllTime":43,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1770889875467,"updatedAt":1778488070529},"latestVersion":{"version":"1.0.0","createdAt":1770889875467,"changelog":"- Initial release of near-qr-code skill.\n- Generate QR codes for NEAR account addresses.\n- Create QR codes for NEAR payment requests, including recipient, amount, and optional memo.\n- Read and decode NEAR QR codes from image files, extracting address or payment details as JSON.\n- Includes command-line interface for all functions.","license":null},"metadata":null,"owner":{"handle":"ussyalfaks","userId":"s17bhwvkxmrqnvfyzzpnjwgme5885hcg","displayName":"ussyalfaks","image":"https://avatars.githubusercontent.com/u/82191216?v=4"},"moderation":null}