How to extract swap data from a Komodo mobile wallet log file
Create a file named parse_logs.py
and copy the code below into it.
- the following code is from https://github.com/smk762/pytomicDEX/blob/master/scripts/parse_logs.py
- we assume that
python3
is already installed in your system
To parse a log file named log_username.txt
, use the command
python3 parse_logs.py log_username.txt
It parses the log file, creates two directories named "MAKER" and "TAKER", then creates files named <uuid>.json
in the appropriate directory.