Skip to content

DeFi DApp powered by the Ethereum blockchain and the Uniswap V2 library

Notifications You must be signed in to change notification settings

tarunvadde/uniswap-v2-defi-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeFi App Based on Uniswap v2

Simple decentralized application based on Solidity and Web3 that swap a simple pair of tokens with the help of the Uniswap V2 library.

Technology Stack & Tools

  • Solidity (Writing Smart Contract)
  • Javascript (React & Testing)
  • Web3 (Blockchain Interaction)
  • Truffle (Development Framework)
  • Ganache CLI (For Local Blockchain)
  • Infura (Ethereum Node As A Service Provider)

Requirements For Initial Setup

  • Install NodeJS, should work with any node version below 16.5.0
  • Install Truffle, In your terminal, you can check to see if you have truffle by running truffle version. To install truffle go to your project root directory and run npm install --save-dev truffle Ideal to have truffle version 5.4 to avoid dependency issues.
  • Install Ganache CLI.

Setting Up

1. Clone/Download the Repository

$ git clone https://github.com/davdotsol/uniswap-v2-defi-app.git
$ cd uniswap-v2-defi-app
$ git checkout starter

2. Install Dependencies:

$ cd uniswap-v2-defi-app
$ npm install

3. Start Ganache

$ npm run ganache

4. Migrate Smart Contracts

$ npx truffle migrate --reset --skip-dry-run

5. Run Tests

$ npx truffle test

About

DeFi DApp powered by the Ethereum blockchain and the Uniswap V2 library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.9%
  • CSS 14.3%
  • Solidity 13.4%
  • HTML 8.4%