transfer

โดย convex-dev

โอนเหรียญ CVM หรือโทเค็นที่สามารถใช้แทนกันได้ระหว่างบัญชี Convex ใช้เมื่อผู้ใช้ต้องการส่งเหรียญหรือโทเค็นไปยังบัญชีอื่น

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").

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

account
convex-dev
สร้างหรือตรวจสอบบัญชี Convex ใช้เมื่อผู้ใช้ต้องการตั้งค่าบัญชีใหม่ ตรวจสอบรายละเอียดบัญชี หรือจัดการคีย์
account
convex-dev
สร้างหรือตรวจสอบบัญชี Convex ใช้เมื่อผู้ใช้ต้องการตั้งค่าบัญชีใหม่ ตรวจสอบรายละเอียดบัญชี หรือจัดการคีย์
token
convex-dev
สร้างและจัดการโทเค็นที่สามารถใช้แทนกันได้บน Convex ใช้เมื่อผู้ใช้ต้องการสร้างโทเค็นใหม่ ตรวจสอบยอดคงเหลือของโทเค็น หรือจัดการอุปทานของโทเค็น
build-convex
convex-dev
Build โปรเจกต์ Convex จากซอร์ส ใช้เมื่อผู้มีส่วนร่วมต้องการ compile, test หรือ package Convex
convex-db
convex-dev
ใช้ Convex DB — ฐานข้อมูล SQL ที่มี lattice เป็นโครงสร้างพื้นฐาน ใช้เมื่อช่วยผู้ใช้เขียนคิวรี เชื่อมต่อผ่านไคลเอนต์ JDBC หรือ PostgreSQL สร้างตาราง แทรก/คิวรีข้อมูล,…
convex-lisp
convex-dev
เอกสารอ้างอิงภาษา Convex Lisp — ข้อกำหนด CVM, การเรียกใช้โค้ดไลบรารี, นิยามแอ็กเตอร์, juice และรหัสข้อผิดพลาด ใช้เมื่อเขียนหรือดีบักซอร์ส CVM สำหรับ…
deploy
convex-dev
ปรับใช้ actor (สมาร์ทคอนแทรกต์) ไปยังเครือข่าย Convex ใช้เมื่อผู้ใช้ต้องการสร้าง actor บนเชนใหม่ที่มีฟังก์ชันที่ส่งออก
ecosystem
convex-dev
การปฐมนิเทศในระบบนิเวศ Convex — อะไรอยู่ใน repository ใด, เอกสาร spec และ docs อยู่ที่ไหน, และมี client libraries ใดบ้าง ใช้เมื่อคุณต้องการบริบท...