Skip to content

A token sale dApp for SensTokens built with react, redux, and truffle

Notifications You must be signed in to change notification settings

futuremarc/SensToken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SensToken

A token sale dApp for SensToken built with react, redux, and truffle.

See it here

Getting Started

  1. Make sure you have truffle installed globally npm install -g truffle.
  2. npm install or yarn install
  3. Run in truffle develop on port 9545.
  4. Run npm run dev.

Available Scripts

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.

npm run build

Builds the app for production and compiles the contracts.

npm run migrate:rinkeby

Migrates the contract to the rinkeby network.

npm run migrate:local

Migrates the contract to your local network on port 9545.

npm run deploy

Migrates the contract to rinkeby and deploys to gh-pages.

npm run test

Tests the solidity contracts and react app.

TO DO

  • 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.

About

A token sale dApp for SensTokens built with react, redux, and truffle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published