Manage .near domain names with ease.
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.
near-name check Check if a .near domain is available.
Parameters:
name - The domain name (without .near suffix)Example:
near-name check mydomain
near-name register [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 Resolve a .near domain to its account ID.
Parameters:
name - The domain name to resolveExample:
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)Set your default account:
export NEAR_ACCOUNT="myaccount.near"
共 1 个版本