AntoineSirot / Oracle_Indexers_Wagmi

Front repo of a project using chainlink oracles and the graph indexers

Home Page:https://oracle-indexers-wagmi.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TheGraph and Chainlink Front

This repository hosts a web3 front-end project that uses chainlink oracle to simulate the ETH price on a ERC20 tokens and use TheGraph to retrieved information from sushiswap's pools.

Project Deployment on Vercel

Getting Started

To run the project locally, execute the following commands:

npm i
npm run dev

Contract Address (deployed on Sepolia)

Marketplace Contract : 0xff07eb7Ca89812CdEBe280CaFBc69c59a08C7203

StableCoin Contract : 0x512fB45C344831B147818C81A11E2D39368bb75d

ERC20 Ether Contract : 0x51E698fC402597824EA586B095DD8DfaCfbEd67c

Technical Stack

Key Features

Main Functionality:

The platform use two technology with specific purpose:

  • Swap tokens: This primary functionality allows anyone to mint some of my ETH / StableCoin tokens and then swap one for the other. The ratio of the tokens is calculated from the ETH price retrieved on the marketplace with Chainlink's oracle.
  • Get whales of a sushiswap poll: This secondary functionality is based on TheGraph. The front will return the three biggest whales of a specific sushiswap pool. The user can enter his pool id or he can choose one of the five preregistered pools. (nb: If the 3 whales ain't displayed in the first time you enter the app, please change the pool you want to display and then everything will work as it should)

Bugs and Issues

If you find any issues or have suggestions, please open an issue or create a pull request on this repository.

Thank you for your support !

About

Front repo of a project using chainlink oracles and the graph indexers

https://oracle-indexers-wagmi.vercel.app


Languages

Language:TypeScript 98.4%Language:JavaScript 1.4%Language:CSS 0.2%