Skip to content

vutuanlinh2k2/uniswap-data-visualization

Repository files navigation

🦄 Uniswap Data Visualization

Demo Link

https://uniswap-data-visualization-ayqk.vercel.app/

About

This is a project to display DeFi data related to tokens, pools and transactions from the Uniswap Protocol, following the Uniswap Info website. Uniswap V3 Subgraph and Ethereum Blocks are used for GraphQL API calling.

Warning: If facing slowness or errors when running the project locally, please click Refresh and/or check all of the mentioned sources first.

Technologies used

Project structure

  • apollo: Define Apollo clients
  • components: React components
  • constants: Project constants
  • context: Handle app's Context
  • data: Define apps, data types and formatting-data functions
  • generate: Generated types from GraphQL queries
  • graphql: Defined GraphQL queries
  • hooks: Custom React hooks
  • test: Test utility functions
  • types: Defined Typescript type files
  • utils: Commonly-used utility functions

Running the project locally

Prerequisites:

  • Node v16.10.0
  • Yarn v1.22.19

Steps:

  1. Clone the project:
git clone https://github.com/vutuanlinh2k2/uniswap-data-visualization.git
  1. Move to the project's directory:
cd uniswap-data-visualization
  1. Install dependencies:
yarn
  1. Generate types from GraphQL queries
yarn generate
  1. Start running the project:
yarn start

Other scripts

  • yarn prertier: Format code
  • yarn lint: Linting check

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages