evtc Reference

Use evtc --help will give you all the available subcommands and options.

Options:
  -h, --help                   Print this help message and exit
  -u, --url TEXT=http://127.0.0.1:8888
                              the http/https URL where evtd is running
  --wallet-url TEXT=http://127.0.0.1:9999
                              the http/https URL where evtwd 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
  -v, --verbose                output verbose actions on error
  --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
  get                         Retrieve various items and information from the blockchain
  net                         Interact with local p2p network connections
  domain                      Create or update a domain
  token                       Issue or transfer tokens
  group                       Update pemission group
  fungible                    Create or update a fungible asset
  assets                      Issue and transfer assets between addresses
  meta                        Add metadata to domain, group ot token
  suspend                     Approve or cancel suspend transactions
  producer                    Votes for producers
  wallet                      Interact with local wallet
  sign                        Sign a transaction
  push                        Push arbitrary transactions to the blockchain

Subcommands

version

command to see build version:

evtc version client

output:

Build version: 655a3b4d

create

command to create key pair:

evtc create key

output:

Private key: 5KY78JezW24j8HdjwP323nCRU7JNrTJsAsSEX3FdJjFaiKAo7nu
Public key: EVT8KWnzXnoW8DG4MAvbAiyN6oEAgKcHGChcVvMqsXdx2KDJ5roqC

get

use evtc get --help to see more detail:

Retrieve various items and information from the blockchain
Usage: evtc get [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  info                        Get current blockchain information
  block                       Retrieve a full block from the blockchain
  domain                      Retrieve a domain information
  token                       Retrieve a token information
  group                       Retrieve a permission group information
  fungible                    Retrieve a fungible asset information
  balance                     Retrieve fungible balance from an address
  my                          Retrieve domains, tokens and groups created by user
  history                     Retrieve actions, transactions history
  suspend                     Retrieve a suspend transaction information

net

Interact with local p2p network connections
Usage: evtc net [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  connect                     start a new connection to a peer
  disconnect                  close an existing connection
  status                      status of existing connection
  peers                       status of all existing peers
laighno@ubuntu:~/Documents/evt/programs/evtc$ 

domain

Create or update a domain
Usage: evtc domain [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  create                      Create new domain
  update                      Update existing domain

token

Issue or transfer tokens
Usage: evtc token [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  issue                       Issue new tokens in specific domain
  transfer                    Transfer token
  destroy                     Destroy one token

group

Update pemission group
Usage: evtc group [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  create                      Create new group
  update                      Update specific permission group

fungible

Create or update a fungible asset
Usage: evtc fungible [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  create                      Create new fungible asset
  update                      Update existing domain
  issue                       Issue fungible tokens to specific address

assets

Issue and transfer assets between addresses
Usage: evtc assets [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  transfer                    Transfer asset between addresses
  2pevt                       Convert EVT tokens to Pinned EVT tokens

meta

Add metadata to domain, group ot token
Usage: evtc meta [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  domain                      Add metadata to one domain
  group                       Add metadata to one group
  token                       Add metadata to one token
  fungible                    Add metadata to one fungible asset

suspend

Approve or cancel suspend transactions
Usage: evtc suspend [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  approve                     Approve specific suspend transaction
  cancel                      Cancel specific suspend transaction
  execute                     Execute specific suspend transaction

producer

Votes for producers
Usage: evtc producer [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  prodvote                    Producer votes for chain configuration

wallet

Interact with local wallet
Usage: evtc wallet [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  create                      Create a new wallet locally
  open                        Open an existing wallet
  lock                        Lock wallet
  lock_all                    Lock all unlocked wallets
  unlock                      Unlock wallet
  import                      Import private key into wallet
  remove_key                  Remove key from wallet
  create_key                  Create private key within wallet
  list                        List opened wallets, * = unlocked
  keys                        List of public keys from all unlocked wallets.
  private_keys                List of private keys from an unlocked wallet in wif or PVT_R1 format.
  stop                        Stop evtwd (doesn't work with evtd).

sign

Sign a transaction
Usage: evtc sign [OPTIONS] transaction

Positionals:
  transaction TEXT (REQUIRED) The JSON of the transaction to sign, or the name of a JSON file containing the transaction

Options:
  -h, --help                   Print this help message and exit
  -k, --private-key TEXT       The private key that will be used to sign the transaction
  -c, --chain-id TEXT          The chain id that will be used to sign the transaction
  -p, --push-transaction       Push transaction after signing

push

Push arbitrary transactions to the blockchain
Usage: evtc push [OPTIONS] SUBCOMMAND

Options:
  -h, --help                   Print this help message and exit

Subcommands:
  transaction                 Push an arbitrary JSON transaction
  transactions                Push an array of arbitrary JSON transactions