Skip to main content
All CollectionsConnections
Editing Swag mining csv file
Editing Swag mining csv file

Learn what changes make to the csv mining file in order to import it on CryptoBooks

Diego Lorenzetti avatar
Written by Diego Lorenzetti
Updated over a week ago

To download the Swag CSV files, follow the instructions provided in the following guide

To import Swag CSV files into CryptoBooks, follow the instructions provided in the following article

Important: Starting from 14/11/2023, it will be mandatory to include in the CSV mining file only the payment rows related to variable yield machines.

Due to some technical limitations, the CSV file of mining transactions that occurred on Swag requires a small modification by the user to be imported correctly into CryptoBooks and display the correct data.

In the original file downloaded from the platform, only the Mining Production rows are indicated, and it is necessary to manually add the Mining Payment rows.

Here an example:

As seen in the image above, the manually added Mining Payment rows (rows 34 and 40) should indicate the same machine code used for the mining production.

This is the format to use for entering the mining payment rows:

<dd/MM/yyyy HH:mm:ss>,<currency>,<amount>,,,,0,,Miner: <id>; Days: <days>,,MINING_PAYMENT

Here is an example of how a correctly formatted row will look like:

2023-08-15 00:31:58.000,BTC,0.0000000900,,,,0,,Miner: 56ZN-29KO-08EH-1PLQ; Days: 365,,MINING_PAYMENT

Note well

  • The amount displayed after BTC refers to the cost of acquisition of the mining machine.

  • The number of Days, refers to the duration of the mining contract (not necessarily 365 as seen in the example).






Did this answer your question?