token
Installation
SKILL.md
Fungible Tokens on Convex
Fungible tokens use the @convex.fungible standard library
(convex-core/src/main/cvx/convex/asset/fungible.cvx). See the convex-lisp
skill for CVM conventions, and transact for how transactions are signed.
Create a New Token
Fixed supply — no further tokens can ever be minted:
(deploy (@convex.fungible/build-token {:supply 1000000}))
Mintable — build-token alone provides no mint or burn capability. To
allow minting you must compose add-mint into the same deployment: