chainlib-eth

Ethereum implementation of the chainlib interface
Info | Log | Files | Refs | README | LICENSE

eth-decode.1 (4012B)


      1 .TH eth-decode 1
      2 
      3 .SH NAME
      4 eth-decode \- Decode a transaction in wire-format to human readable form
      5 
      6 .SH SYNOPSIS
      7 \fBeth-decode\fI [ -i \fIchain_spec\fP ] encoded_tx
      8 
      9 .SH DESCRIPTION
     10 .P
     11 This tool deserializes a wire-format transaction and outputs its fields in human-readable form. It does not require a node to operate, and does not apply transaction state.
     12 .P
     13 The transaction wire-format is an ordered concatenation of transaction values, which in turn is serialized using the Recurive Length Prefix (RLP) format. \fBeth-decode\fP accepts the RLP-encoded transaction as a hex string.
     14 .P
     15 
     16 .TP
     17 \fB-0\fP
     18 Omit newline to output
     19 
     20 .TP
     21 \fB-c \fI\fIconfig_dir\fP\fP, \fB--config \fI\fIconfig_dir\fP\fP
     22 Load configuration files from given directory. All files with an .ini extension will be loaded, of which all must contain valid ini file data.
     23 
     24 .TP
     25 \fB--dumpconfig \fI\fIformat\fP\fP
     26 Output configuration settings rendered from environment and inputs. Valid arguments are \fIini\fP for ini file output, and \fIenv\fP for environment variable output. See \fBCONFIGURATION\fP.
     27 
     28 .TP
     29 \fB--env-prefix\fP
     30 Environment prefix for variables to overwrite configuration. Example: If \fB--env-prefix\fP is set to \fBFOO\fP then configuration variable \fBBAR_BAZ\fP would be set by environment variable \fBFOO_BAZ_BAR\fP. Also see \fBENVIRONMENT\fP.
     31 
     32 .TP
     33 \fB-i \fI\fIchain_spec\fP\fP, \fB--chain-spec \fI\fIchain_spec\fP\fP
     34 Chain specification string, in the format <engine>:<fork>:<chain_id>:<common_name>. Example: "evm:london:1:ethereum". Overrides the \fIRPC_CREDENTIALS\fP configuration setting.
     35 
     36 .TP
     37 \fB-n \fI\fInamespace\fP\fP, \fB--namespace \fI\fInamespace\fP\fP
     38 Load given configuration namespace. Configuration will be loaded from the immediate configuration subdirectory with the same name.
     39 
     40 .TP
     41 \fB--no-logs\fP
     42 Turn of logging completely. Negates \fB-v\fP and \fB-vv\fP
     43 
     44 .TP
     45 \fB--raw\fP
     46 Produce output most optimized for machines.
     47 
     48 .TP
     49 \fB-v\fP
     50 Verbose. Show logs for important state changes.
     51 
     52 .TP
     53 \fB-vv\fP
     54 Very verbose. Show logs with debugging information.
     55 
     56 .SH CONFIGURATION
     57 
     58 All configuration settings may be overriden both by environment variables, or by overriding settings with the contents of ini-files in the directory defined by the \fB-c\fP option.
     59 
     60 The active configuration, with values assigned from environment and arguments, can be output using the \fB--dumpconfig\fP \fIformat\fP option. Note that entries having keys prefixed with underscore (e.g. _SEQ) are not actual configuration settings, and thus cannot be overridden with environment variables.
     61 
     62 To refer to a configuration setting by environment variables, the \fIsection\fP and \fIkey\fP are concatenated together with an underscore, and transformed to upper-case. For example, the configuration variable \fIFOO_BAZ_BAR\fP refers to an ini-file entry as follows:
     63 
     64 .EX
     65 [foo]
     66 bar_baz = xyzzy
     67 .EE
     68 
     69 In the \fBENVIRONMENT\fP section below, the relevant configuration settings for this tool is listed along with a short description of its meaning.
     70 
     71 Some configuration settings may also be overriden by command line options. Also note that the use of the \fB-n\fP and \fB--env-prefix\fP options affect how environment and configuration is read. The effects of options on how configuration settings are affective is described in the respective \fBOPTIONS\fP section.
     72 
     73 .SH ENVIRONMENT
     74 
     75 
     76 .TP
     77 \fICHAIN_SPEC\fP
     78 String specifying the type of chain connected to, in the format \fI<engine>:<fork>:<network_id>:<common_name>\fP. For EVM nodes the \fIengine\fP value will always be \fIevm\fP.
     79 
     80 .SH LICENSE
     81 
     82 This documentation and its source is licensed under the Creative Commons Attribution-Sharealike 4.0 International license.
     83 
     84 The source code of the tool this documentation describes is licensed under the GNU General Public License 3.0.
     85 
     86 .SH COPYRIGHT
     87 
     88 Louis Holbrook <dev@holbrook.no> (https://holbrook.no)
     89 PGP: 59A844A484AC11253D3A3E9DCDCBD24DD1D0E001
     90 
     91 
     92 
     93 .SH SOURCE CODE
     94 
     95 https://git.defalsify.org
     96 
     97 
     98 .SH SEE ALSO
     99 
    100 .BP
    101 confini-dump(1), eth-keyfile(1)
    102