Dexfolio App—Dev Update #1

The foundation: Backend architecture, ETH integration, price feed, and the front end UI

Dexfolio App Preview — Apr 23, 2021
  • Backend architecture
  • Address validation
  • App front end, UI components, and animations
  • ETH price integration with
  • Instant address loading
  • Ethereum network support
  • Community founder drawer (keep an eye out for a form to provide your name and profile picture!)
  • Instant push notification framework

To Do

We’ve got our eyes on two high value features that we’re implementing as we speak: BSC integration and Average cost!

BSC integration

After evaluating the current API integrations for BSC, none offered real-time price updating or the network reliability we are striving for (see image below).

Bitquery unreliable network

Average Cost

This seemingly simple concept is actually super difficult to achieve correctly!

  1. Was the token deposited or purchased? (If it’s deposited from another wallet, it doesn’t affect average cost since the price paid is unknown.)
  2. Once we figure out which transactions are purchases, we need to determine what the USD price was for each token at the time of purchase
  3. If we can’t pull the USD price for the token, we will need to look at the token you sold and then check the price of it at the time you did the swap.
  4. Now, let’s say you purchased this token a few times over the past year at different costs. We need to calculate the weighted average cost of all your purchases!
  5. And finally, let’s say you have multiple addresses with the same token, we need to include those purchases in the weighted average cost.
  • Adding multiple addresses—focusing on getting the other high priority features first
  • Real-time price updating — we need to do some small adjustments to turn this on




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dexfolio | $DEXF |

A multi-DEX tracker with an intelligent alert system. $DEXF, our native token runs on Binance Smart Chain and is used for governance and pro features.