SkillHub

near-name-service

v1.0.0

Manage NEAR Name Service (.near domains) - check availability, register, resolve, and manage names.

Sourced from ClawHub, Authored by shaiss

Installation

Please help me install the skill `near-name-service` from SkillHub official store. npx skills add shaiss/near-name-service

NEAR Name Service Skill

Manage .near domain names with ease.

Description

This skill provides a CLI interface to interact with NEAR Name Service (.near domains). Check availability, register names, resolve names to accounts, and manage your owned .near domains.

Features

  • Check .near name availability
  • Register a .near domain
  • Resolve .near domain to account ID
  • List owned .near domains
  • Simple command-line interface

Commands

near-name check <name>

Check if a .near domain is available.

Parameters: - name - The domain name (without .near suffix)

Example:

near-name check mydomain

near-name register <name> [account_id]

Register a .near domain.

Parameters: - name - The domain name (without .near suffix) - account_id - Account to register to (optional, uses default)

Example:

near-name register mydomain myaccount.near

near-name resolve <name>

Resolve a .near domain to its account ID.

Parameters: - name - The domain name to resolve

Example:

near-name resolve mydomain.near

near-name list [account_id]

List all .near domains owned by an account.

Parameters: - account_id - Account to list domains for (optional, uses default)

Configuration

Set your default account:

export NEAR_ACCOUNT="myaccount.near"

Pricing

  • Registration: ~5-10 NEAR (varies by name length)
  • Annual renewal: ~0.1 NEAR
  • Shorter names (<4 chars) cost more

References

  • NEAR Name Service: https://near.org/names/
  • Naming Registry Contract: naming.near
  • NEAR CLI: https://docs.near.org/tools/near-cli