Skip to content

Repository files navigation

Folio_Tracking

The aim is to track crypto positions on dex and cex

RoadMap

1. Wallet Integration

  • Connect to MetaMask and other wallets.
  • Retrieve tokens and balances for the connected chain.
    • Display all tokens in connected chain
      • Testnet: Need to define contract address for each token
      • Convert bigInt to formatted number (formatUnits)
      • Have Token List : https://tokenlists.org/
    • Displays all tokens of a wallet from its address
  • Extend functionality to fetch tokens from multiple chains.
  • Retrieve the moment they put the token on the wallet and get the price at that moment.
  • Calculate ROI based on historical and current prices.
  • A way to keep track of all connected wallets (Create an account)

2. Crypto Exchange (CEX) Token Integration

  • Establish connection with CEX APIs. (Binance)
  • Retrieve and list available tokens from CEX on our front-end.
  • Fetch historical purchase prices for tokens.
  • Calculate ROI based on historical and current prices.

3. Dashboard Development

  • Design and implement the dashboard interface.
  • Display tokens and balances from CEX and wallets.

4. Data Visualization

  • Implement charts and graphs for price trends.
  • Create ROI visualizations per token.
  • Develop a consolidated view of investment performance.

Installation

Create the project with WAGMI

  • npm init wagmi
    • Framework : Next.js
    • Template : RainbowKit (For connection button)
    • Provider : Infura
    • Create an WalletConnect ID: https://cloud.walletconnect.com/sign-in
      • Create a Project and give the Project ID
    • cd next-rainbowkit
    • npm run dev
    • Add an alchemyProvider, infuraProvider, or alike to src/wagmi.ts before deploying your project to production to prevent being rate-limited.
  • npm install -D tailwindcss postcss autoprefixer
  • npx tailwindcss init -p
  • Update Globals.css
  • Update tailwind.config.js

Create the project with NEXT

  • npx create-next-app@latest myproject
  • And import the rest:
    • npm i wagmi viem

Quick setup

  • npm init wagmi

Learn more

To learn more about Next.js or wagmi, check out the following resources:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages