near-name-service
by shaiss
Web & Frontend DevelopmentBrief
Manage NEAR Name Service (.near domains) - check availability, register, resolve, and manage names.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
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
Requirements
- NEAR account
- NEAR tokens to cover registration (5-10 NEAR) and annual renewal (~0.1 NEAR) fees
Installation
clawhub install shaiss/near-name-serviceRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.