https://github.com/benyasin/dapp-tutorial
lots of dapp developing tutorials and examples based on ultrain
https://github.com/benyasin/dapp-tutorial
blockchain dapp smart-contracts tutorial ultrain
Last synced: 10 months ago
JSON representation
lots of dapp developing tutorials and examples based on ultrain
- Host: GitHub
- URL: https://github.com/benyasin/dapp-tutorial
- Owner: benyasin
- Created: 2018-11-15T08:24:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-19T06:41:03.000Z (over 6 years ago)
- Last Synced: 2025-03-30T06:01:55.554Z (10 months ago)
- Topics: blockchain, dapp, smart-contracts, tutorial, ultrain
- Language: TypeScript
- Size: 283 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dapp-tutorial
A complete tutorial is avaliable here [《Ultrain dapp开发指南》](https://legacy.gitbook.com/book/benyasin/ultrain-dapp/details)
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...