daobet-cli

daobet command-line interface

daobet-cli is a command line tool that interfaces with the REST API exposed by daobet-node. daobet-cli contains documentation for all of its commands. For a list of all commands known to daobet-cli, simply run it with no arguments:

Using

set alias

alias daobet-cli="docker run --rm --network host daocasino/blockchain:latest haya-cli -u https://explorer.dao.casino/node --wallet-url http://127.0.0.1:8899"

check CLI help

daobet-cli --help

You should get help:

Options:
-h,--help Print this help message and exit
-u,--url TEXT=http://127.0.0.1:8888/
the http/https URL where daobet-node is running
--wallet-url TEXT=unix:///root/eosio-wallet/haya-wallet.sock
the http/https URL where keosd is running
-r,--header pass specific HTTP header; repeat this option to pass multiple headers
-n,--no-verify don't verify peer certificate when using HTTPS
--no-auto-keosd don't automatically launch a keosd if one is not currently running
-v,--verbose output verbose errors and action console output
--print-request print HTTP request to STDERR
--print-response print HTTP response to STDERR
‚Äč
Subcommands:
version Retrieve version information
create Create various items, on and off the blockchain
convert Pack and unpack transactions
get Retrieve various items and information from the blockchain
set Set or update blockchain state
transfer Transfer tokens from account to account
net Interact with local p2p network connections
wallet Interact with local wallet
sign Sign a transaction
push Push arbitrary transactions to the blockchain
multisig Multisig contract commands
wrap Wrap contract commands
system Send eosio.system contract action to the blockchain.