Ensure you have the following installed
- Ganache
- Truffle
- MetaMask(optional)
-
Install package.json
npm install
-
Start gananche-cli and optionally connect to metamask
ganache - cli;
-
Deploy contract
truffle deploy
-
Copy content of
build/contract/Auction.json
to/src/components/pages/Auction.json
-
Start project locally
npm start
To run test, simply run truffle test