near-name-service
bởi shaiss
Web & Frontend DevelopmentTóm tắt
Manage NEAR Name Service (.near domains) - check availability, register, resolve, and manage names.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- NEAR account
- NEAR tokens to cover registration (5-10 NEAR) and annual renewal (~0.1 NEAR) fees
Cài đặt
clawhub install shaiss/near-name-serviceChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.