A token sale dApp for SensToken built with react, redux, and truffle.
- Make sure you have truffle installed globally
npm install -g truffle
. npm install
oryarn install
- Run in
truffle develop
on port9545
. - Run
npm run dev
.
this script will build the contracts and migrate them to port 9545
then open the app in dev mode at http://localhost:3000.
Builds the app for production and compiles the contracts.
Migrates the contract to the rinkeby network.
Migrates the contract to your local network on port 9545
.
Migrates the contract to rinkeby and deploys to gh-pages.
Tests the solidity contracts and react app.
- Add tip to check MetaMask popup on purchase.
- Add tip to add contract address into MetaMask Tokens list afterwords.
- Handle account and network changes from MetaMask.
- Write unit tests.