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アカウントを作成または確認します。ユーザーが新しいアカウントを設定したい場合、アカウントの詳細を確認したい場合、またはキーを管理したい場合に使用します。
account
convex-dev
Convexアカウントを作成または確認します。ユーザーが新しいアカウントを設定したい場合、アカウントの詳細を確認したい場合、またはキーを管理したい場合に使用します。
token
convex-dev
Convex上で代替可能トークンを作成・管理します。ユーザーが新しいトークンの作成、トークン残高の確認、またはトークン供給量の管理を希望する場合に使用します。
build-convex
convex-dev
Convexプロジェクトをソースからビルドします。コントリビューターがConvexをコンパイル、テスト、またはパッケージ化したい場合に使用します。
convex-db
convex-dev
Convex DB(ラティスベースのSQLデータベース)を使用します。ユーザーがクエリの作成、JDBCまたはPostgreSQLクライアント経由の接続、テーブルの作成、データの挿入・クエリを行う際に役立ちます、…
convex-lisp
convex-dev
Convex Lisp言語リファレンス — CVMの規約、ライブラリコードの呼び出し、アクター定義、ジュースとエラーコード。CVMソースの作成やデバッグ時に使用。
deploy
convex-dev
アクター(スマートコントラクト)をConvexネットワークにデプロイします。エクスポートされた関数を持つ新しいオンチェーンアクターを作成したい場合に使用します。
ecosystem
convex-dev
Convexエコシステムにおけるオリエンテーション — どのリポジトリに何が含まれているか、仕様書とドキュメントがどこにあるか、どのクライアントライブラリが存在するか。コンテキストが必要なときに使用します…