Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 831 Bytes

README.md

File metadata and controls

48 lines (33 loc) · 831 Bytes

SwipeIWO Contract

This project utilizes Truffle Suite to automate testing.

You will need to install Truffle:

npm install truffle -g

and Ganache CLI:

npm install -g ganache-cli

Once installed, run Ganache CLI in a terminal:

My-Comp:~ johndoe$ ganache-cli

Then, from the root of this project, run the tests:

truffle test

SwipeIWO Contract

You can test SwipeIWO contract by forking mainnet into local. You will need to copy start.sh.example to start.sh in root directory. And please add your infura id and mnemonic.

Then, from the root of this project, run the tests:

sh ./start.sh
truffle test

or

truffle test ./test/SwipeIWO.test.js