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.

convex-devのその他のスキル

account
convex-dev
Convexアカウントを作成または確認します。ユーザーが新しいアカウントを設定したい場合、アカウントの詳細を確認したい場合、またはキーを管理したい場合に使用します。
official
build-convex
convex-dev
Convexプロジェクトをソースからビルドします。コントリビューターが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
Convexネットワーク上で読み取り専用のCVMクエリを実行します。オンチェーンの状態を読み取る、残高を確認する、アカウントを検索する、Convex Lispを評価する場合に使用します…
official
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.
official
transfer
convex-dev
Convexアカウント間でCVMコインまたは代替可能トークンを転送します。ユーザーが別のアカウントにコインやトークンを送信したい場合に使用します。
official