npx skills add ...
npx skills add convex-dev/convex --skill token
npx skills add convex-dev/convex --skill 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.
Fungible tokens use the @convex.fungible standard library.
Deploy a token actor using the fungible token standard:
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)) |