near-name-service
由 shaiss 提供
Web & Frontend Development简介
Manage NEAR Name Service (.near domains) - check availability, register, resolve, and manage names.
描述
该技能的功能
A CLI interface for managing .near domain names on the NEAR blockchain. Supports checking availability, registering names, resolving domains to account IDs, and listing all domains owned by an account.
Wraps NEAR Name Service contract interactions into simple CLI commands, avoiding manual contract calls through NEAR CLI.
何时使用
- Checking if a desired .near domain is available before registering
- Registering a custom .near domain to a wallet or project account
- Looking up which NEAR account a .near domain resolves to
- Listing all .near domains owned by a specific account
- Setting a human-readable address for a NEAR account identity
示例工作流
User asks: register 'alice' as a .near domain to myaccount.near
- 1
Runs 'near-name check alice' to verify the domain is available
- 2
Confirms registration cost based on name length (5-10 NEAR)
- 3
Runs 'near-name register alice myaccount.near' to register the domain
- 4
Runs 'near-name resolve alice.near' to confirm the domain resolves correctly
alice.near registered and resolving to myaccount.near
前置要求
- NEAR account
- NEAR tokens to cover registration (5-10 NEAR) and annual renewal (~0.1 NEAR) fees
安装
clawhub install shaiss/near-name-service运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。