liquidity-client run
ΒΆ
LIQUIDITY-CLIENT-RUN
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
COMMON OPTIONS
MORE HELP
EXIT STATUS
ENVIRONMENT
BUGS
NAME
liquidity-client-run - Run (simulate) a transation on a Liquidity contract
SYNOPSIS
liquidity-client run [OPTION]... [ENTRY] [PARAMETER] [STORAGE]
DESCRIPTION
Run (simulate) a transation on a Liquidity contract
OPTIONS
-a <a>DUN, --amount=<a>DUN
Set amount to <a>DUN for deploying or running a contract (default: 0DUN)
-n ADDR:PORT, --node=ADDR:PORT
Set the address and port to ADDR:PORT of a node to run or deploy contracts (default: 127.0.0.1:8733)
--public-key=edpk...
Set the public key to edpk... for revelations (default: derived from private key)
-s dn1..., --source=dn1...
Set the source to dn1... for manager operations (default: derived from public key)
ENTRY
Entry point name for simulation
PARAMETER
Parameter value for simulation
STORAGE
Storage value for simulation
EXAMPLES
liquidity-client
run \
--files tests/others/multisig.liq \
--node http://testnet-node.dunscan.io \
--source dn1HieGdCFcT8Lg9jDANfEGbJyt6arqEuSJb \
manage 'Some { destination =
dn1UqnHgHFe8ezEgsoow4hERctPssuWiw9h8; amount = 10DUN }'
'{owners = (Set [dn1HieGdCFcT8Lg9jDANfEGbJyt6arqEuSJb]);
actions = Map; owners_length = 1p; min_agree = 1p}'
{
owners = (Set [dn1HieGdCFcT8Lg9jDANfEGbJyt6arqEuSJb]);
actions = Map;
owners_length = 1p;
min_agree = 1p
}
# Internal operations: 1
COMMON OPTIONS
These options
are common to all commands.
-c, --compact
Produce compact Michelson
--files=FILE1,FILE2,...
Filenames to compile (comma separated)
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of ’auto', ’pager', ’groff' or ’plain'. With ’auto', the format is ’pager’ or ’plain' whenever the TERM env var is ’dumb' or undefined.
-m ContractName, --main=ContractName
Produce code for contract named ContractName
-N NETWORK, --network=NETWORK (absent LIQUID_NETWORK env)
Set the network to use (possible values: Dune, Tezos).
--no-annot
Don't produce any annotations when compiling
--no-ignore-annots
Don't ignore annotations of failure when decompiling
--no-inline
Disable inlining
--no-love-typecheck
Don't typecheck resulting Love output
--no-peephole
Disable peephole optimizations
--no-simplify
Disable simplifications
--no-uncurry
Don't uncurry non partially applied lambdas
--reason, --re
Use ReasonML syntax
-t LANG, --target=LANG
Set the target language (possible values: michelson, love).
-v, --verbose
Increment verbosity
-V level
Verbosity level
--version
Show version and exit
MORE HELP
Use ’liquidity-client COMMAND --help' for help on a single command.
EXIT STATUS
run exits with the following status:
0 |
on success. |
|||
124 |
on command line parsing errors. |
|||
125 |
on unexpected internal errors (bugs). |
ENVIRONMENT
These
environment variables affect the execution of run:
LIQUID_NETWORK
Network to use, possible values: Dune, Tezos.
BUGS
Report bugs at https://github.com/OCamlPro/liquidity/issues.