Skip to content

Charlie85270/Covalent-dashboard

Repository files navigation

Covalent dashboard APP

image

Demo live : https://covalent-board.netlify.app/

Demo vidéo : https://www.youtube.com/watch?v=bfs6MskSmUo

I created this app for the 14th Hackthon of Gitcoin. Hackathon: Grants Round 14 Hackathon

GR14: Web3 Application General Purpose Bounty (Covalent)

Challenge Description We at Covalent believe that access to organized blockchain data can unlock a billion possibilities and so we provide the best single unified API to bring full transparency and visibility to assets across all blockchain networks. With the Covalent API, there is no need to invest developer resources in writing SQL or other queries since granular, decoded, multi-chain data is immediately available for 30+ blockchain networks including Ethereum, BSC, Polygon, Fantom and Avalanche. Covalent is fast becoming the go-to data provider, with the Covalent API powering over 1,000 industry-leading projects such as Zerion, ChainGuardians, 0x and Reef.

The Covalent Unified API is the fastest way to get blockchain data for your GR14 Hackathon project!

The App

Technical stack

  • ReactJS & NextJS (Static site generator)
  • Typescript
  • TailwindCSS

Features

The dApp have 4 main features which are (on all 28th blockchain supported by covalent APIs) :

  • Track and check all tokens of an address (Tokens list, Folio history, TreeMap)
  • Track all transactions for an address and get statistics for the address (Total fees, total transactions, total in, total out)
  • A NFT collection explorer (track collections, tokenId, attributes, transactions, ....)
  • A events explorer (track all events/topics for a given contract)

Portfolio

folio

Covalent APIs used

  • GET /v1/{chain_id}/{address}/balances_v2/
  • GET /v1/{chain_id}/{address}/portfolio_v2/
  • GET /v1/chains/

Transactions

event

Covalent APIs used

  • GET /v1/{chainId}/{address}/transactions_v2/
  • GET /v1/chains/

NFT market

nft

Covalent APIs used

  • GET /v1/{chainId}/tokens/{contract}/nft_token_ids/
  • GET /v1/{chainId}/nft_market/
  • GET /v1/pricing/historical_by_addresses_v2/{chainId}/USD/{contract}/
  • GET /V1/{chainId}/tokens/{contract}/nft_metadata/{tokenId}/
  • GET /V1/{chainId}/tokens/{contract}/nft_transactions/{tokenId}
  • GET /v1/chains/

Events

transaction

Covalent APIs used

  • GET /v1/{chainId}/events/topics/{topic}/
  • GET /v1/{chainId}/events/address/{address}/
  • GET /v1/chains/

Run the project locally

To run the project you'll need NodeJS and yarn installed in your machine.

Install all dependencies

yarn install

Start the project

yarn dev

Then go to localhost:3000 to see the app on your navigator

Build the project for production

yarn build

Don't hesitate to contribute to improve this open source project.