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 ใช้เมื่อผู้ใช้ต้องการตั้งค่าบัญชีใหม่ ตรวจสอบรายละเอียดบัญชี หรือจัดการคีย์
build-convex
convex-dev
สร้างโปรเจกต์ Convex จากซอร์สโค้ด ใช้เมื่อผู้มีส่วนร่วมต้องการคอมไพล์ ทดสอบ หรือแพ็กเกจ Convex
cad3-encoding
convex-dev
รูปแบบการเข้ารหัส CAD3 — เซลล์, การอ้างอิงแบบฝังเทียบกับแบบสาขา, รหัสค่า, กฎความถูกต้อง ใช้เมื่อทำงานกับตัวเข้ารหัส, ตัวถอดรหัส, การทำให้เป็นอนุกรม, การแฮช หรือ…
cad-reference
convex-dev
ดัชนีของเอกสารสถาปัตยกรรม Convex (CADs) ซึ่งเป็นข้อกำหนดมาตรฐานของ 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, การเรียกใช้โค้ดไลบรารี, นิยามแอ็กเตอร์, juice และรหัสข้อผิดพลาด ใช้เมื่อเขียนหรือดีบักซอร์ส CVM สำหรับ…
deploy
convex-dev
ปรับใช้ actor (สัญญาอัจฉริยะ) ไปยังเครือข่าย Convex ใช้เมื่อผู้ใช้ต้องการสร้าง actor บนเชนใหม่ที่มีฟังก์ชันที่ส่งออก