/twitter

sample app

Primary LanguageJavaScript

twitter

sample app

Start ganache

ganache-cli -h 0.0.0.0 -p 7777 -d -l 200000000 -g

Run tests

truffle test

Run mythx verification

truffle run verify

Run sample app

truffle test test/scenarioTest.js
nodemon app
  1. Any browsers work except Safari
  2. Go to localhost
  3. Select network and confirm metamask popup if you use rinkeby/ropsten
  4. Copy the address from the test above and paste in the web UI
  5. Interact with contract via the right panel
  6. You can switch account on the left panel with local, or open metamask to switch if using others

Example: getTweets: Alice comment: 4,I know how it works now