{"id":27097599,"url":"https://github.com/benyasin/dapp-tutorial","last_synced_at":"2025-04-06T10:48:28.182Z","repository":{"id":285186540,"uuid":"157676938","full_name":"benyasin/dapp-tutorial","owner":"benyasin","description":"lots of dapp developing tutorials and examples based on ultrain","archived":false,"fork":false,"pushed_at":"2019-06-19T06:41:03.000Z","size":290,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T06:01:55.554Z","etag":null,"topics":["blockchain","dapp","smart-contracts","tutorial","ultrain"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benyasin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-15T08:24:26.000Z","updated_at":"2021-09-08T03:49:07.000Z","dependencies_parsed_at":"2025-03-30T06:02:03.984Z","dependency_job_id":"cdccbf5f-3678-4c95-a446-8a7545380aef","html_url":"https://github.com/benyasin/dapp-tutorial","commit_stats":null,"previous_names":["benyasin/dapp-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyasin%2Fdapp-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyasin%2Fdapp-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyasin%2Fdapp-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyasin%2Fdapp-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benyasin","download_url":"https://codeload.github.com/benyasin/dapp-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247471397,"owners_count":20944154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","dapp","smart-contracts","tutorial","ultrain"],"created_at":"2025-04-06T10:48:27.629Z","updated_at":"2025-04-06T10:48:28.159Z","avatar_url":"https://github.com/benyasin.png","language":"TypeScript","readme":"# dapp-tutorial\n\nA complete tutorial is avaliable here [《Ultrain dapp开发指南》](https://legacy.gitbook.com/book/benyasin/ultrain-dapp/details)\n\n\u003cb\u003elots of dapp developing tutorials and examples based on ultrain.\u003c/b\u003e\n\n## Vote\n\n\u003e mocking the election process of president.\n\n\u003e 1、Only the owner can add some candidates\n\n\u003e 2、Everyone have one chance for voting one of the candidate\n\n#### Local Environment Setup\n   \n* start Longclaw successfully\n\n#### Vote\n\n* npm install\n* robin build\n* robin deploy\n* `mocha test/VoteContract.spec.js -g candidates` or `Run 'candidates'` in WebStorm \n* npm run serve\n* select some account in Longclaw and vote some candidate.\n\n### more tutorials and examples will come soon...\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenyasin%2Fdapp-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenyasin%2Fdapp-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenyasin%2Fdapp-tutorial/lists"}