tm2txsync

May 3, 2023 ยท View on GitHub

tm2txsync is used for backing up a local node's transactions.

Import Transaction Data To (or Export It From) a Node

You may import or export transaction data with the following command.

tm2txsync {SUB_COMMAND}

Subcommands

NameDescription
exportExports txs from the node.
importImports txs to the node.

Import

Options

NameTypeDescription
remoteStringThe Remote RPC in addr:port format (default: localhost:26657)
inStringThe input file path (default: txexport.log)

Export

Options

NameTypeDescription
remoteStringThe Remote RPC in addr:port format (default: localhost:26657)
startInt64Starting height (default: 1)
tailInt64Start at LAST - N.
endInt64End height (optional)
outStringThe output file path (default: txexport.log)
quietBooleanQuiet mode.
followBooleanKeep attached and follow new events.