Check out my tutorial on Medium that explains the contracts that power this app.
This is a simple auction platform. You can create new auctions, set start and end times (and a bid increment), bid using ETH, and withdraw funds.
I used ConsenSys's truffle-webpack-demo as a starting point, because there's quite a bit of boilerplate required between the various libraries used here.
The Web3 RPC location will be picked up from the truffle.js
file.
- Clone this repo
npm install
- Make sure
testrpc
is running on its default port. Then:
npm run start
- Starts the development servernpm run build
- Generates a buildtruffle test
- Run the rest suite (there are no tests at the moment)
If you npm run start
, the app will be available at http://localhost:3001.