EOSIO cleos 命令

獲取全部命令

命令格式:$ cleosnode

cleos包含全部命令的文檔。有關cleos已知的全部命令的列表,只需簡單地運行它,不帶任何參數:網絡

$ cleos
ERROR: RequiredError: Subcommand required
Command Line Interface to EOSIO Client
Usage: cleos [OPTIONS] SUBCOMMAND
Options:
  -h,--help                   打印幫助信息而且退出
  -u,--url TEXT=http://localhost:8888/
                              nodeos 運行的http/https URL
  --wallet-url TEXT=http://localhost:8888/
                              keosd運行的 http/https URL
  -v,--verbose                輸出對錯誤的詳細操做
子命令:
  version                     返回版本信息
  create                      在區塊鏈上和區域外建立數據
  get                         從區塊鏈中檢索各類數據和信息
  set                         設置或更新區塊鏈狀態
  transfer                    從帳戶到帳戶轉移EOS
  net                         與本地p2p網絡鏈接進行交互
  wallet                      與本地錢包互動
  sign                        簽署交易
  push                        將任意事務推送到區塊鏈
  multisig                    Multisig合同命令
  system                      將eosio.system合約行爲發送到區塊鏈。

獲取全部子命令

命令格式: $ cleos ${command}工具

要得到有關任何特定子命令的幫助,請使用無參數運行它:學習

$ cleos create
ERROR: RequiredError: Subcommand required
Create various items, on and off the blockchain
Usage: ./cleos create SUBCOMMAND
Subcommands:
  key                         Create a new keypair and print the public and private keys
  account                     Create a new account on the blockchain
  producer                    Create a new producer on the blockchain
$ cleos create account
ERROR: RequiredError: creator
Create a new account on the blockchain
Usage: ./cleos create account creator name OwnerKey ActiveKey
Positionals:
  creator TEXT                The name of the account creating the new account
  name TEXT                   The name of the new account
  OwnerKey TEXT               The owner public key for the account
  ActiveKey TEXT              The active public key for the account

分享個《EOS智能合約與DApp開發入門教程》,歡迎你們來學習互動:區塊鏈

EOS教程ui

本教程幫助你快速入門EOS區塊鏈去中心化應用的開發,內容涵蓋EOS工具鏈、帳戶與錢包、發行代幣、智能合約開發與部署、使用代碼與智能合約交互等核心知識點,最後綜合運用React和EOS的各知識點完成一個便籤DApp的開發。url

相關文章
相關標籤/搜索