Skip to content

bharathbabu-moralis/crypto-arbitrage-tracker-moralis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Crypto Arbitrage Tracker

This is a simple React app that allows users to track arbitrage opportunities between different decentralized exchanges (DEXs) for a specific ERC20 token on different blockchain networks. The app fetches token pair data and liquidity information using the Moralis Token Pairs API and finds price differences across exchanges.

Features

  • Fetch token pairs and liquidity for a specific ERC20 token on multiple networks (Ethereum, Binance Smart Chain, Polygon).
  • Identify arbitrage opportunities by comparing prices across exchanges.
  • Display detailed information about token pairs, including exchange names, prices, and liquidity.
  • Built-in loading states with dynamic messages.

Getting Started

Prerequisites

  • Node.js (v12 or higher)
  • React (v17 or higher)
  • A Moralis account to get an API key. You can sign up for a Moralis account here.

Installation

  1. Clone the repository:
git clone https://github.com/bharathbabu-moralis/crypto-arbitrage-tracker-moralis
cd frontend
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory and add your Moralis API key:
REACT_APP_MORALIS_API_KEY=your-moralis-api-key
  1. Start the development server:
npm start

The app will be running at http://localhost:3000.

Usage

  • Enter the token contract address of the ERC20 token you want to track in the input field.
  • Select the blockchain network from the dropdown
  • Click on the "Find Arbitrage Opportunities" button to fetch token pair data and see if there are any arbitrage opportunities across exchanges.

Token API Reference

This app uses the Moralis Web3 Token API to get token pairs and liquidity details. For more information, check out the official API documentation:

Learn More

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published