Difference between revisions of "DeFiChain-Portfolio"

From DeFiChain-Wiki
Line 47: Line 47:
 
Once you have downloaded the .tar package you have to extract the files. In the "DeFiPortfolio" folder there is the file "launchDeFiPortfolio". Before you can launch the program it must be made executable. Right click on "launchDeFiPortfolio" and cklick in properties. Switch to the tab Permissions and allow executing file as program.
 
Once you have downloaded the .tar package you have to extract the files. In the "DeFiPortfolio" folder there is the file "launchDeFiPortfolio". Before you can launch the program it must be made executable. Right click on "launchDeFiPortfolio" and cklick in properties. Switch to the tab Permissions and allow executing file as program.
  
Once this is done you can launch the tool. <gallery mode="packed" heights="375">
+
Once this is done you can launch the tool. <gallery mode="packed" heights="350">
 
File:LinuxInstallation1 .png
 
File:LinuxInstallation1 .png
 
File:LinuxInstallation2.png
 
File:LinuxInstallation2.png

Revision as of 23:48, 9 April 2021

Community

If you have ideas for new features, bug reports or questions do not hesitate to create an issue on GitHub or contact the Telegram Community

For an introduction to DeFiChain-Portfolio, we recommend the video from Crypto Explained on YouTube

General

Use DeFi-Portfolio to export, analyse and visualize your transactions, rewards and commissions of your liquidity mining pools or DEX transactions to interact with DeFiChain. The current version of DeFi-Portfolio is released here on Github.

Minimum Requirements

RAM: 4GB

OS: macOS 10.14, Windows 10, Ubuntu LTS 18 and above

Getting started

  • Install and run the DeFi-Portfolio for Windows, Mac or Linux.
  • Click on update database (left bottom corner) When you load the data for the first time you have to allow access.
  • Now your big data will imported and you can look on the raw data, export them or analyse your rewards and commissions.
  • After closing close the defid.exe. (If not then maybe you need a full resync the next time)

Installation Windows

Download the latest version for windows: DeFi-Portfolio 1.4.1

When you start the installer Windows Defender will block the installation. Just click on "more info" and "run anyway".

Once the installation is done a shortcut of the DeFi-Portfolio will be available on the desktop.

Installation Mac

Download the latest version for mac: DeFi-Portfolio 1.4.1

Open the app. The first time you open the DeFi-Portfolio, you will be presented with a security prompt. Press OK to dismiss it. Go to System Preferences and click on Security & Privacy.

Then click on the Open Anyway. Click Open on the confirmation popup. DeFi-Portfolio will launch automatically when the installation is complete.

Move defi-portfolio to applications

MacInstallation.jpg

Installation Linux

Download the latest version for linux: DeFi-Portfolio 1.4.1

Once you have downloaded the .tar package you have to extract the files. In the "DeFiPortfolio" folder there is the file "launchDeFiPortfolio". Before you can launch the program it must be made executable. Right click on "launchDeFiPortfolio" and cklick in properties. Switch to the tab Permissions and allow executing file as program.

Once this is done you can launch the tool.

Functionality description

Update Database:

Before you can analyse your rewards and commissions the database must be updated. With the update database button the transactions will be read out and saved locally (appdata). While updating the database the connection to the node will be established (command line window). This will automatically close once the local data are up to date.

UpdateDatabase.png

Raw Data:

All transactions are shown here in tabular form. When clicking on Blockheight, Blockhash, Owner or Transaction-Hash the Blockchain Explorer will be opened with the respective value. The table can be exported as a csv file. To do this, right-click on the corresponding sub-functions.

Rawdata.jpg

Analyse Data:

Portfolio:

In the first pie chart your tokens are displayed with the fiat value from the latest update. The second pie chart show the liquidity mining tokens also with the fiat value from the latest update. In the table on the right side the tokens and the liquidity mining tokens are summarized. It is displayed the amount of tokens and also the value in fiat.

Total amount: Balance of complete wallet in choosen FIAT currency

Total yield: All rewards and commissions calculated in choosen FIAT currency (Price at date of the last Update not daily calculated like in the other tabs)

Rewards yield: All rewards calculated in choosen FIAT currency (Price at date of the last Update not daily calculated like in the other tabs)

Commissions yield: All commissions calculated in choosen FIAT currency (Price at date of the last Update not daily calculated like in the other tabs)

PortfolioOverview.jpg

Column description:

"Token" Name of Token or Liquidity Mining Token

"Crypto value" Amount of token in wallet or LM Token with for example how much BTC or DFI it is

"FIAT value (FIAT)" Same like "Crypto value" but shown in choosen FIAT currency

Rewards:

The rewards are displayed in graphical form. You can choose the start date and the end date. In addition, the interval (daily, weekly, monthly, yearly) can be selected and the pool share can be choosen. The plot can be switched between individual and cumulative view. The table can be also exported as a csv file. To do this, right-click on the corresponding sub-functions.

Column description:

"Date" Day, week, month or year (Depend on choosen intervall)

"Pool Pair" LM Pool from which you get the rewards or comissions

"DFI" How many DFI rewards you get on this intervall of the line

"DFI (FIAT)" same like "DFI" but converted to choosen FIAT currency (with daily calculated price of coingecko API)

Commissions:

The commissions are displayed in graphical form. The setting options are the same as for rewards. You can select the start date and the end date. In addition, the interval (daily, weekly, monthly, yearly) can be selected and the pool share can be choosen. The plot can be switched between individual and cumulative view.

Column description:

"Date" Day, week, month or year (Depend on choosen intervall)

"Pool Pair" LM Pool from which you get the rewards or comissions

"DFI" How many DFI commissions you get on this intervall of the line

"DFI (FIAT)" same like "DFI" but converted to choosen FIAT currency (with daily calculated price of coingecko API)

"2nd commission of choosen Pool Pair eg. BTC" is how many commissions you get on this intercall of the line in second pool pair

"BTC (FIAT)" same like "2nd commission of choosen Pool Pair eg. BTC" but converted to choosen FIAT currency (with daily calculated price of coingecko API)

"Total (FIAT)" Total of all commissions of this line (intervall) in choosen FIAT currency

Overview:

The overview is displayed in graphical form. The rewards and commissions are combined in one plot. You can choose the start date and the end date.You can also select the interval (daily, weekly, monthly, yearly).

Overview.jpg

Column description:

"Date" Day, week, month or year (Depend on choosen intervall)

"Pool Pair" LM Pool from which you get the rewards or comissions

"Rewards" How many DFI rewards you get on this intervall of the line

"Rewards (USD)" same like "Rewards" but converted to choosen FIAT currency (with daily calculated price of coingecko API)

"Commissions DFI" is how many DFI commissions you get on this intercall of the line

"Commissions DFI (USD)" same like "Commissions DFI" but converted to choosen FIAT currency (with daily calculated price of coingecko API)

"Commissions 2" is how many BTC, ETH, LTC... etc commission you earned on the intervall of the line... for example on Pool BTC-DFI is commission2 = BTC

"Commissions 2 (USD)" same like "Commissions 2" but converted to FIAT currency (with daily calculated price of coingecko API)

"Total" Total of reward and all commissions of this line (intervall) in choosen FIAT currency

Settings

The following settings can be made in the Settings menu:

  • Language: Switch between english and german.
  • Preferred Currency: Euro, US-Dollar, Swiss franc
  • Design: Light Mode and dark Mode
  • Launch "Node" on tool start: When starting the Node on tool start the synchronization of the local data will be done. This shortens the time needed for synchronization with update data
  • Delete local Portfolio data: You can delete the local transaction data which are generated by the DeFi-Portfolio. Before you click on "update Data" you have to restart the tool.
Settings.png

Help

In the help menu you will find the link to the GitHub repository as well as the link to our Telegram community. With the youtube link you will get to the video about DeFiPortfolio from crypto explained. There is also the possibility to open the DeFiChain website.Furthermore a link to this wiki is available and a link to the DeFiChainExplained website.

FAQs

Q: The defid is not closing after update data. How can I close it?

A: If the defid does not close automatically, then an error occurred during the update process. You must not close the defid (mostly white or black cmd/terminal) by clicking on the x/o-symbol (close), otherwise a reindex is necessary. There are two ways to close the defid safely: Click with the left mouse button on the defid and press ctrl+c / cmd +c / cmd +q on the keyboard or click the button close defid in the settings menu.

Q: Where can I find the logfile?

A: In the logfile there are hints why the Defi-Portfolio app does not work properly. This information helps the developers to make the tool more stable. The logfile can be found here:

Windows: C:\Users\Username\AppData\Roaming\defi-portfolio\log.txt

Mac (right click on the app and open package informationen): defi-portfolio.app/Contents/Resources/PortfolioData/log.txt

Linux: Folder where you unzipped the .tar: PortfolioData/log.txt

Q: Where is the installation folder?

A: The program files are copied during the installation into following folder:

Windows: C:\Users\Username\AppData\Local\Programs\defi-portfolio\

Mac (right click on the app and open package informationen): defi-portfolio.app/Contents/Resources/

Linux: Folder where you unzipped the .tar:

Q: Where is the application data stored?

A: The application folder can be found here:

Windows: C:\Users\Username\AppData\Roaming\defi-portfolio\log.txt

Mac (right click on the app and open package informationen): defi-portfolio.app/Contents/Resources/PortfolioData/log.txt

Linux: Folder where you unzipped the .tar: PortfolioData/log.txt

In the application folder follwoing files are available: TransactionData (all data from DeFi Wallet), PortfolioData/defid (node),PortfolioData/defi.conf (config for node), Settings, Logfile, CoinPriceData (stored coinprices)

Q: Do I need to uninstall the old version when a new version is available?

A: No,you do not need to uninstall the old version. During the installation process the files of the old version will be replaced with the files of the new version

Projects interact with DeFiChain Portfolio

DeFiPortfolio2Cointracking

Convertion of CSV Export from DeFiChain Portfolio to a Cointracking format

Download: v1.3.3

Telegram Channel: https://t.me/joinchat/xs2tRCnHojVkNWQy