BarterDEX creates swap files for all trades. They are available in the data dir. Depending on which GUI you are using they can be found in different locations. The purpose of this post is to help you find the files.
These swap files are necessary in case you have a swap that is stuck or pending or you need them to keep all history. These files contains all information related to your swap. There are multiple files for a single swap. Check the files below for a swap 3879252640-2091831651.
3879252640-2091831651.finished 3879252640-2091831651 3879252640-2091831651.bobpayment 3879252640-2091831651.bobreclaim 3879252640-2091831651.alicepayment 3879252640-2091831651.bobdeposit 3879252640-2091831651.bobrefund 3879252640-2091831651.myfee
The filename of the swapfiles are actually named after Request ID & Quote ID like the image below:
Location of the directory where you can find the swapfiles
Linux: ~/.BarterDEX/DB/SWAPS macOS: ~/Library/Application Support/BarterDEX/DB/SWAPS Windows: %appdata%\BarterDEX\DB\SWAPS
Linux: ~/.config/HyperDEX/marketmaker/DB/SWAPS macOS: ~/Library/Application Support/HyperDEX/marketmaker/DB/SWAPS Windows: %appdata%\HyperDEX\marketmaker\DB\SWAPS
Linux: ~/.config/OOTdapp/marketmaker/DB/SWAPS macOS: ~/Library/Application Support/OOTdapp/marketmaker/DB/SWAPS Windows: %appdata%\OOTdapp\marketmaker\DB\SWAPS