An open API service indexing awesome lists of open source software.

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

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