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.

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

Fungible Tokens on Convex

Fungible tokens use the @convex.fungible standard library.

Create a New Token

Deploy a token actor using the fungible token standard:

(deploy
  (let [f @convex.fungible]
    (f/build-token
      {:supply 1000000})))

This creates a token with initial supply held by the deployer. The returned address is the token's actor address.

Check Token Balance

Query: (@convex.fungible/balance #TOKEN #HOLDER)

Or use mcp__convex-testnet__getBalance with the token parameter.

Transfer Tokens

Transaction: (@convex.fungible/transfer #TOKEN #DEST AMOUNT)

Or use mcp__convex-testnet__transfer with the token parameter.

Mint Additional Supply

Transaction (must be token controller): (call #TOKEN (mint AMOUNT))

Common Operations

TaskExpression
Create token(deploy (let [f @convex.fungible] (f/build-token {:supply N})))
Check balance(@convex.fungible/balance #TOKEN #ADDR)
Transfer(@convex.fungible/transfer #TOKEN #DEST AMOUNT)
Total supply(@convex.fungible/quantity #TOKEN)
Mint(call #TOKEN (mint AMOUNT))

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