A complete tutorial is avaliable here 《Ultrain dapp开发指南》
lots of dapp developing tutorials and examples based on ultrain.
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
- start Longclaw successfully
- npm install
- robin build
- robin deploy
mocha test/VoteContract.spec.js -g candidates
orRun 'candidates'
in WebStorm- npm run serve
- select some account in Longclaw and vote some candidate.