一键导入
token
Create and manage fungible tokens on Convex. Use when the user wants to create a new token, check token balances, or manage token supply.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and manage fungible tokens on Convex. Use when the user wants to create a new token, check token balances, or manage token supply.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build the Convex project from source. Use when a contributor wants to compile, test, or package Convex.
Deploy an actor (smart contract) to the Convex network. Use when the user wants to create a new on-chain actor with exported functions.
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, or use the direct lattice API.
Create or inspect Convex accounts. Use when the user wants to set up a new account, check account details, or manage keys.
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.
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 expressions.
| name | token |
| description | Create and manage fungible tokens on Convex. Use when the user wants to create a new token, check token balances, or manage token supply. |
| argument-hint | [create|balance|mint|transfer] [args...] |
Fungible tokens use the @convex.fungible standard library.
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.
Query: (@convex.fungible/balance #TOKEN #HOLDER)
Or use mcp__convex-testnet__getBalance with the token parameter.
Transaction: (@convex.fungible/transfer #TOKEN #DEST AMOUNT)
Or use mcp__convex-testnet__transfer with the token parameter.
Transaction (must be token controller): (call #TOKEN (mint AMOUNT))
| Task | Expression |
|---|---|
| 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)) |