transfer

tarafından convex-dev

Convex hesapları arasında CVM coin'leri veya değiştirilebilir token'ları transfer edin. Kullanıcının başka bir hesaba coin veya token göndermek istediğinde kullanın.

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 tarafından daha fazla skill

convex-lisp
convex-dev
Convex Lisp dil referansı — CVM kuralları, kütüphane kodu çağırma, aktör tanımları, juice ve hata kodları. CVM kaynağı yazarken veya hata ayıklarken kullanın…
ecosystem
convex-dev
Convex ekosisteminde yön bulma — hangi depoda ne var, spec'ler ve dokümanlar nerede ve hangi istemci kütüphaneleri mevcut. Bağlam gerektiğinde kullan…
local-network
convex-dev
Geliştirme için yerel bir Convex test ağı çalıştırın. Değişiklikleri canlı bir ağa karşı test ederken, bir eş sorununu yeniden üretirken veya uzak bir ağ yokken kullanın…
protocol-versions
convex-dev
Protokol sürümleri, geçişler ve v1 yükseltmesi — hangi semantiklere göre yazılacağı ve ağı fork etmeden CVM davranışının nasıl değiştirileceği. Şu durumlarda kullanın…
etch
convex-dev
Bir Etch deposunu inceleyin ve bakımını yapın — Convex'in içerik adresli veritabanı. Eş depolama alanını incelerken, bozulmayı teşhis ederken, çöp toplarken veya…
juice
convex-dev
Juice muhasebesi — CVM üzerindeki hesaplama ve bant genişliği maliyeti. İşlem yürütme maliyeti hakkında akıl yürütürken, :JUICE hatasını teşhis ederken veya…
trust
convex-dev
Trust monitors — Convex'in birleştirilebilir on-chain yetkilendirme modeli. Erişim kontrolü yazarken, aktör fonksiyonlarını kısıtlarken, kimin mint edebileceğini tanımlarken kullanın veya…
memory
convex-dev
Bellek muhasebesi ve ödenekleri — zincir üstü depolamanın maliyeti ve bunun nasıl en aza indirileceği ve geri kazanılacağı. Durum büyümesi hakkında akıl yürütürken, bir…