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.

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

Execute a Convex Transaction

Transactions modify global state atomically. They cost juice (gas) and require a funded, signed account.

Source: $ARGUMENTS

Workflow

  1. If the user has a signing key stored in the signing service, use mcp__convex-testnet__signingTransact with their address and passphrase.
  2. If the user has a raw seed, use mcp__convex-testnet__transact with address and seed.
  3. If neither is available, use mcp__convex-testnet__prepare to prepare the transaction, then guide the user through signing.

CVM Conventions

  • Amounts are in copper: 1 CVM = 1,000,000,000 copper
  • Never use import — it mutates the account environment and costs extra juice
  • For single calls: (@convex.fungible/transfer #128 #13 100)
  • For multiple calls to the same actor: (let [f @convex.fungible] (f/transfer ...) (f/balance ...))

Common Transaction Patterns

TaskSource
Transfer coins(transfer #DEST AMOUNT)
Define a value(def my-var 42)
Call an actor(call #ACTOR (function-name arg1 arg2))
Set controller(set-controller #ADDR)

Always confirm the transaction source and destination with the user before executing.

Skills เพิ่มเติมจาก convex-dev

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
Deploy an actor (smart contract) to the Convex network. Use when the user wants to create a new on-chain actor with exported functions.
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
สร้างและจัดการโทเค็นที่สามารถใช้แทนกันได้บน Convex ใช้เมื่อผู้ใช้ต้องการสร้างโทเค็นใหม่ ตรวจสอบยอดคงเหลือของโทเค็น หรือจัดการอุปทานของโทเค็น
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