OpenClaw · Skill
Near Name Service
Manage .near domain names with ease.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install shaiss/near-name-serviceClawHub installer
npx clawhub@latest install shaiss/near-name-serviceOpenClaw CLI
openclaw skills install shaiss/near-name-serviceDirect OpenClaw install
openclaw install shaiss/near-name-serviceWhat this skill does
Manage .near domain names with ease.
Why it matters
Wraps NEAR Name Service contract interactions into simple CLI commands, avoiding manual contract calls through NEAR CLI.
Typical use cases
- 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
Source instructions
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