aeternity / aepp-cli-js

Command line interface for the æternity blockchain
http://docs.aeternity.com/aepp-cli-js/
ISC License
7 stars 6 forks source link

feat: add select-node, select-compiler commands #213

Closed davidyuk closed 2 years ago

davidyuk commented 2 years ago

closes #210

aecli contract call --help
Usage: aecli contract call [options] <fn> [args] [wallet_path]

Execute a function of the contract

Arguments:
  fn                                   Name of contract entrypoint to call
  args                                 JSON-encoded arguments array of contract call (default: [])
  wallet_path                          Path to secret storage file

Options:
  -d --descrPath [descrPath]           Path to contract descriptor file
  --contractAddress [contractAddress]  Contract address to call
  --contractSource [contractSource]    Contract source code file name
  --contractAci [contractAci]          Contract ACI file name
  -W, --no-waitMined                   Force waiting until transaction will be mined
  --networkId [networkId]              Network id
  -P, --password [password]            Wallet Password
  -G --gas [gas]                       Amount of gas to call/deploy the contract
  -s --callStatic                      Call static
  -t --topHash                         Hash of block to make call
  -F, --fee [fee]                      Override the transaction fee
  -T, --ttl [ttl]                      Validity of the transaction in number of blocks (default: forever)
  -N, --nonce [nonce]                  Override the nonce that the transaction is going to be sent with
  -u, --url [nodeUrl]                  Node to connect to (default: Aeternity testnet, env: AECLI_NODE_URL)
  --compilerUrl [compilerUrl]          Compiler to connect to (default: Stable compiler, env: AECLI_COMPILER_URL)
  -f --force                           Ignore node version compatibility check
  --json                               Print result in json format
  -h, --help                           display help for command