cns

द्वारा convex-dev

Resolve or register Convex Name System (CNS) names. Use when the user wants to look up a CNS name, register a new name, or update a name's target.

npx skills add https://github.com/convex-dev/convex --skill cns

Convex Name System (CNS)

CNS maps human-readable names (like convex.fungible) to on-chain addresses.

Resolve a Name

Use mcp__convex-testnet__resolveCNS with the name.

Returns: value (usually an address), controller, metadata, and child node.

Register or Update a Name

Transaction: (call #9 (cns-update 'my.name *address*))

  • #9 is the CNS registry actor
  • The name must be under a namespace you control
  • Top-level names require special authority

CNS in Code

  • @convex.fungible in CVM source resolves to the actor address at runtime
  • Use CNS paths instead of hardcoded addresses for portable code
  • (@convex.fungible/balance #TOKEN #USER) calls balance on the resolved actor

Common CNS Names

NamePurpose
convex.fungibleFungible token standard library
convex.trustTrust and access control
convex.assetMulti-asset interface
convex.nftNon-fungible token support

convex-dev की और Skills

account
convex-dev
Create or inspect Convex accounts. Use when the user wants to set up a new account, check account details, or manage keys.
official
build-convex
convex-dev
Build the Convex project from source. Use when a contributor wants to compile, test, or package Convex.
official
convex-db
convex-dev
Use Convex DB — a lattice-backed SQL database. Use when helping users write queries, connect via JDBC or PostgreSQL clients, create tables, insert/query data,…
official
deploy
convex-dev
Convex नेटवर्क पर एक एक्टर (स्मार्ट कॉन्ट्रैक्ट) तैनात करें। जब उपयोगकर्ता निर्यातित फ़ंक्शनों के साथ एक नया ऑन-चेन एक्टर बनाना चाहे तब इसका उपयोग करें।
official
query
convex-dev
Execute a read-only CVM query on the Convex network. Use when reading on-chain state, checking balances, looking up accounts, or evaluating Convex Lisp…
official
token
convex-dev
Create and manage fungible tokens on Convex. Use when the user wants to create a new token, check token balances, or manage token supply.
official
transact
convex-dev
Execute a CVM transaction on the Convex network. Use when the user wants to modify on-chain state, call actor functions, or define values.
official
transfer
convex-dev
Transfer CVM coins or fungible tokens between Convex accounts. Use when the user wants to send coins or tokens to another account.
official