Collate transactions

Collates transaction and corresponding signature files with the same names. This command includes steps to verify the transactions.

After the transactions are collated a zip file is generated that includes a verification.csv file, the signature file (.txsig), the signature(s) (.sig) files, and the transaction (.tx) file. The CSV file generated includes the transaction, account ID, and key that signed the transaction.

Command

collate

col

Argument

Description

Optional/Required

-a

--info-files=<infoFilesLocation>

The path to the account info file or directory of files related to the transaction (.info). No spaces in folder names.

Optional

-f

--folders

Root folder containing the transaction (.tx) and signatures (.sig). No spaces in folder name.

Required

-k

--key-files=<keyFilesLocation>

File or directory of file containing public keys involved in the transaction (.pub). No spaces in folder name.

Optional

-o

--output-directory=<outputLocation>

Folder where the transactions will be stored.

Default: stores in the same folder the transactions are contained within the root folder (.txsig)

Optional

bash launch.sh collate

Example

bash launch.sh col -a <path to folder containing account info> -f </path/to/transaction/and/signature/files/1625538609-0_0_9401-2092093589-testnetKey> -k </path/to/publicKey>  

Last updated