This repository is for running Ethereum Uniswap on a local Ganache blockchain with Truffle.
To test creating an ETH/Token pair do the following:
-
Fetch packages:
npm i -
Run ganache:
ganache-cli --gasLimit=9007199254740990 --gasPrice=0 --allowUnlimitedContractSize --account "0x0000000000000000000000000000000000000000000000000000000000000001,9000000000000000000000" --account "0x0000000000000000000000000000000000000000000000000000000000000002,9000000000000000000000" -
Compile:
truffle compile -
Migrate:
truffle migrate -
Run test:
truffle test