liquidity-client packΒΆ

LIQUIDITY-CLIENT-PACK

LIQUIDITY-CLIENT-PACK

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
COMMON OPTIONS
MORE HELP
EXIT STATUS
ENVIRONMENT
BUGS

NAME

liquidity-client-pack - Serialize (pack) a constant value

SYNOPSIS

liquidity-client pack [OPTION]... [CONSTANT] [TYPE]

DESCRIPTION

Serialize (pack) a constant value

OPTIONS

-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)

CONSTANT

Constant value for pack

TYPE

Type of value to be packed (serialized)

EXAMPLES

liquidity-client pack --node http://testnet-node.dunscan.io '()' unit

0x05030b

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

pack 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 pack:
LIQUID_NETWORK

Network to use, possible values: Dune, Tezos.

BUGS

Report bugs at https://github.com/OCamlPro/liquidity/issues.