transfer

作成者: convex-dev

Convexアカウント間でCVMコインまたは代替可能トークンを転送します。ユーザーが別のアカウントにコインやトークンを送信したい場合に使用します。

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

Transfer Coins or Tokens

A transfer is a transaction, so it needs a key the user has supplied — see the transact skill for the authorisation model and the CLI form. Without a key you can prepare the transfer but not execute it.

CVM Coin Transfer

Source: (transfer #42 1000000000) — sends 1 CVM.

With a Convex MCP server configured, its transfer tool takes to (destination address) and amount (in copper).

Fungible Token Transfer

Source: (@convex.fungible/transfer #TOKEN #DEST AMOUNT)

With the MCP transfer tool, set the token parameter to the token actor address.

Before Executing

  • Confirm destination and amount with the user. Restate both in CVM units — "send 2.5 CVM to #42" — and get agreement before signing. A transfer is irreversible.
  • Convert to copper: multiply CVM by 1,000,000,000. Getting this wrong by a factor of 10^9 is the easiest and most expensive mistake here.
  • Check the sender's balance first with a query, so a :FUNDS failure is caught before signing rather than after.
  • For tokens, check the token balance, not the coin balance — they are unrelated.

Report the result in CVM units (e.g. "Sent 2.5 CVM to #42").

convex-devのその他のスキル

account
convex-dev
Convexアカウントを作成または確認します。ユーザーが新しいアカウントを設定したい場合、アカウントの詳細を確認したい場合、またはキーを管理したい場合に使用します。
build-convex
convex-dev
Convexプロジェクトをソースからビルドします。コントリビューターがConvexをコンパイル、テスト、またはパッケージ化したい場合に使用します。
cad3-encoding
convex-dev
CAD3エンコーディング形式 — セル、埋め込み参照とブランチ参照、値ID、有効性ルール。エンコーダー、デコーダー、シリアライゼーション、ハッシュ化、その他…に取り組む際に使用します。
cad-reference
convex-dev
Convexアーキテクチャ文書(CAD)の索引。Convexの規範仕様であり、プロトコルを変更する前にどのCADがどのサブシステムを管理しているかを確認するために使用する、…
cns
convex-dev
Convex Name System(CNS)名の解決または登録を行います。ユーザーがCNS名を検索したい、新しい名前を登録したい、または名前のターゲットを更新したい場合に使用します。
convex-db
convex-dev
Convex DB(ラティスベースのSQLデータベース)を使用します。ユーザーがクエリを作成したり、JDBCやPostgreSQLクライアント経由で接続したり、テーブルを作成したり、データの挿入・クエリを行う際に役立ちます。
convex-lisp
convex-dev
Convex Lisp言語リファレンス — CVMの規約、ライブラリコードの呼び出し、アクター定義、ジュースとエラーコード。CVMソースの作成やデバッグ時に使用。
deploy
convex-dev
アクター(スマートコントラクト)をConvexネットワークにデプロイします。ユーザーがエクスポートされた関数を持つ新しいオンチェーンアクターを作成したい場合に使用します。