Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 719 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 719 Bytes

dapp-tutorial

A complete tutorial is avaliable here 《Ultrain dapp开发指南》

lots of dapp developing tutorials and examples based on ultrain.

Vote

mocking the election process of president.

1、Only the owner can add some candidates

2、Everyone have one chance for voting one of the candidate

Local Environment Setup

  • start Longclaw successfully

Vote

  • npm install
  • robin build
  • robin deploy
  • mocha test/VoteContract.spec.js -g candidates or Run 'candidates' in WebStorm
  • npm run serve
  • select some account in Longclaw and vote some candidate.

more tutorials and examples will come soon...