跳到正文
TakoAPI
返回技能列表

near-name-service

由 shaiss 提供

Web & Frontend Development
798下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Runs 'near-name check alice' to verify the domain is available

  2. 2

    Confirms registration cost based on name length (5-10 NEAR)

  3. 3

    Runs 'near-name register alice myaccount.near' to register the domain

  4. 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 或你在用的任意编程智能体里。

链接