account

Tạo hoặc kiểm tra tài khoản Convex. Sử dụng khi người dùng muốn thiết lập tài khoản mới, kiểm tra chi tiết tài khoản hoặc quản lý khóa.

npx skills add https://github.com/convex-dev/convex --skill account

Convex Account Management

Accounts are self-sovereign: an address like #1337 controlled by a key pair. See the convex-lisp skill for CVM conventions.

Via the CLI

Always available from a built convex.jar:

java -jar convex.jar account create        # create an account
java -jar convex.jar account info #13      # full account record
java -jar convex.jar account balance #13   # coin balance
java -jar convex.jar account fund #13      # fund from the faucet, where available

java -jar convex.jar key generate          # new key pair in the keystore
java -jar convex.jar key list              # keys in the keystore
java -jar convex.jar key import|export|delete|sign

--keystore and --storepass select the keystore; -k/--key and -p/--keypass select a key within it. Add --host/--port to target a specific network.

Via a Convex MCP Server

If one is configured (tool names look like mcp__<server>__…) — it is set up per user, not by this repository, so check before relying on it:

  • Create in one step: signingCreateAccount — key pair plus on-chain account, optionally funded from the faucet
  • From a raw key: keyGen, then createAccount with the public key
  • Inspect: describeAccount (full record), getBalance (balance only)
  • Keys: signingListKeys, signingListAccounts, signingCreateKey

Via Query

(account #ADDR) returns the full account record; (balance #ADDR) the coin balance. Both are free — see the query skill.

Handling Keys

Save the seed when an account is created — it cannot be recovered. Tell the user explicitly at the moment of creation, not afterwards.

Never write a seed or passphrase into a file in the repository, a commit message, or any output that will be shared onward. If the user pastes one, use it for the operation at hand and do not repeat it back.

Display

  • Balances in CVM units (1 CVM = 10^9 copper)
  • Addresses with the # prefix
  • Public keys as hex strings

Thêm skills từ convex-dev

convex-lisp
convex-dev
Tài liệu tham khảo ngôn ngữ Convex Lisp — quy ước CVM, gọi mã thư viện, định nghĩa actor, mã juice và lỗi. Sử dụng khi viết hoặc gỡ lỗi mã nguồn CVM cho…
ecosystem
convex-dev
Định hướng trong hệ sinh thái Convex — thứ gì nằm trong repository nào, specs và docs ở đâu, và những thư viện client nào tồn tại. Sử dụng khi bạn cần ngữ cảnh…
local-network
convex-dev
Chạy mạng thử nghiệm Convex cục bộ để phát triển. Sử dụng khi kiểm tra các thay đổi với mạng trực tiếp, tái hiện sự cố của đồng nghiệp, hoặc khi không có mạng từ xa…
protocol-versions
convex-dev
Các phiên bản giao thức, di chuyển và nâng cấp v1 — nên viết theo ngữ nghĩa nào, và cách thay đổi hành vi CVM mà không fork mạng. Sử dụng khi…
etch
convex-dev
Kiểm tra và bảo trì một cửa hàng Etch — cơ sở dữ liệu định địa chỉ theo nội dung của Convex. Sử dụng khi kiểm tra bộ nhớ ngang hàng, chẩn đoán hỏng hóc, thu gom rác, hoặc…
juice
convex-dev
Hạch toán Juice — chi phí tính toán và băng thông trên CVM. Sử dụng khi phân tích chi phí thực thi giao dịch, chẩn đoán lỗi :JUICE, hoặc…
trust
convex-dev
Trust monitors — mô hình ủy quyền trên chuỗi có thể kết hợp của Convex. Sử dụng khi viết kiểm soát truy cập, hạn chế chức năng của tác nhân, xác định ai có thể mint hoặc…
memory
convex-dev
Kế toán và hạn mức bộ nhớ — chi phí lưu trữ trên chuỗi, và cách giảm thiểu cũng như thu hồi nó. Sử dụng khi suy luận về sự tăng trưởng trạng thái, chẩn đoán một…