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

convex-lisp
convex-dev
เอกสารอ้างอิงภาษา Convex Lisp — ข้อกำหนด CVM, การเรียกใช้โค้ดไลบรารี, นิยามแอ็กเตอร์, juice และรหัสข้อผิดพลาด ใช้เมื่อเขียนหรือดีบักซอร์ส CVM สำหรับ…
ecosystem
convex-dev
การปฐมนิเทศในระบบนิเวศ Convex — อะไรอยู่ใน repository ใด, เอกสาร spec และ docs อยู่ที่ไหน, และมี client libraries ใดบ้าง ใช้เมื่อคุณต้องการบริบท...
local-network
convex-dev
เรียกใช้เครือข่ายทดสอบ Convex ในเครื่องเพื่อการพัฒนา ใช้เมื่อทดสอบการเปลี่ยนแปลงกับเครือข่ายจริง จำลองปัญหาจากเพียร์ หรือเมื่อไม่มีเครือข่ายระยะไกล…
protocol-versions
convex-dev
โปรโตคอลเวอร์ชัน การย้ายข้อมูล และการอัปเกรด v1 — ควรเขียนตามความหมายใด และจะเปลี่ยนพฤติกรรมของ CVM ได้อย่างไรโดยไม่ต้องแยกเครือข่าย ใช้เมื่อ…
etch
convex-dev
ตรวจสอบและบำรุงรักษา Etch store — ฐานข้อมูลแบบ content-addressed ของ Convex ใช้เมื่อตรวจสอบพื้นที่จัดเก็บของ peer วินิจฉัยความเสียหายของข้อมูล การเก็บขยะ หรือ…
juice
convex-dev
การคิดบัญชี Juice — ต้นทุนของการคำนวณและแบนด์วิดท์บน CVM ใช้เมื่อพิจารณาเกี่ยวกับต้นทุนการดำเนินการธุรกรรม วินิจฉัยความล้มเหลว :JUICE หรือ…
trust
convex-dev
Trust monitors — โมเดลการอนุญาตบนเชนที่ประกอบได้ของ Convex ใช้เมื่อเขียนการควบคุมการเข้าถึง จำกัดฟังก์ชันของนักแสดง กำหนดว่าใครสามารถ mint หรือ…
memory
convex-dev
การบันทึกบัญชีหน่วยความจำและวงเงิน — ต้นทุนของการจัดเก็บข้อมูลบนเชน และวิธีลดและเรียกคืนต้นทุนดังกล่าว ใช้เมื่อพิจารณาเกี่ยวกับการเติบโตของสถานะ วิเคราะห์…