Skip to content

microbecode/uniswap-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

This repository is for running Ethereum Uniswap on a local Ganache blockchain with Truffle.

Local testing

To test creating an ETH/Token pair do the following:

  1. Fetch packages: npm i

  2. Run ganache: ganache-cli --gasLimit=9007199254740990 --gasPrice=0 --allowUnlimitedContractSize --account "0x0000000000000000000000000000000000000000000000000000000000000001,9000000000000000000000" --account "0x0000000000000000000000000000000000000000000000000000000000000002,9000000000000000000000"

  3. Compile: truffle compile

  4. Migrate: truffle migrate

  5. Run test: truffle test

About

Running Ethereum Uniswap locally

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors