{"id":21754451,"url":"https://github.com/e00dan/blockchain-workshop","last_synced_at":"2025-04-13T09:08:48.333Z","repository":{"id":41710496,"uuid":"238787506","full_name":"e00dan/blockchain-workshop","owner":"e00dan","description":"Ethereum workshop","archived":false,"fork":false,"pushed_at":"2024-04-04T17:10:51.000Z","size":3290,"stargazers_count":7,"open_issues_count":7,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T09:08:43.543Z","etag":null,"topics":["blockchain","ethereum"],"latest_commit_sha":null,"homepage":"","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/e00dan.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":"2020-02-06T21:23:22.000Z","updated_at":"2024-07-25T07:24:52.000Z","dependencies_parsed_at":"2024-05-11T19:44:55.977Z","dependency_job_id":"f13043ee-aaf4-42d3-8858-74fb4f8ce90b","html_url":"https://github.com/e00dan/blockchain-workshop","commit_stats":null,"previous_names":["e00dan/blockchain-workshop","kuzirashi/blockchain-workshop"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e00dan%2Fblockchain-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e00dan%2Fblockchain-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e00dan%2Fblockchain-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e00dan%2Fblockchain-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e00dan","download_url":"https://codeload.github.com/e00dan/blockchain-workshop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688565,"owners_count":21145766,"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","ethereum"],"created_at":"2024-11-26T09:14:01.481Z","updated_at":"2025-04-13T09:08:48.298Z","avatar_url":"https://github.com/e00dan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ethereum workshop\n\nLearn Ethereum development by creating application where you can bet what choice has the other party committed to the blockchain and win cryptocurrency in the process.\n\n## Stages\n\n| Stage | Status | Description |\n| --- | --- | --- |\n| [master](https://github.com/Kuzirashi/blockchain-workshop/tree/master) | ![](https://api.travis-ci.com/Kuzirashi/blockchain-workshop.svg?branch=master) | Starting point |\n| [stage-1](https://github.com/Kuzirashi/blockchain-workshop/tree/stage-1) | ![](https://api.travis-ci.com/Kuzirashi/blockchain-workshop.svg?branch=stage-1) | Create a function that saves user one address and accepts deposit |\n| [stage-2](https://github.com/Kuzirashi/blockchain-workshop/tree/stage-2) | ![](https://api.travis-ci.com/Kuzirashi/blockchain-workshop.svg?branch=stage-2) | Allow two users to deposit 1 ETH and save their address |\n| [stage-3](https://github.com/Kuzirashi/blockchain-workshop/tree/stage-3) | ![](https://api.travis-ci.com/Kuzirashi/blockchain-workshop.svg?branch=stage-3) | Add ability to save boolean along with the address |\n| [stage-3.1](https://github.com/Kuzirashi/blockchain-workshop/tree/stage-3.1) | ![](https://api.travis-ci.com/Kuzirashi/blockchain-workshop.svg?branch=stage-3.1) | Move user one deposit function to constructor |\n| [stage-4](https://github.com/Kuzirashi/blockchain-workshop/tree/stage-4) | ![](https://api.travis-ci.com/Kuzirashi/blockchain-workshop.svg?branch=stage-4) | Add prize distribution function, sends ETH after a correct guess |\n| [stage-5](https://github.com/Kuzirashi/blockchain-workshop/tree/stage-5) | ![](https://api.travis-ci.com/Kuzirashi/blockchain-workshop.svg?branch=stage-5) | Encrypt user one choice with secret |\n\n## Requirements\n\n1. Node.js version `\u003e= 16`\n\n## Install and run\n\nInstall:\n```\nyarn\n```\n\nBuild:\n\n```\nyarn build\n\n// Contracts only\nyarn compile\n\n// TypeScript only\nyarn build:ts\n```\n\nStart local Ethereum blockchain:\n```\nyarn start:ethereum\n```\n\nRun demo (`src/HeadTail.ts`):\n```\nyarn start\n```\n\nTest:\n```\nyarn test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe00dan%2Fblockchain-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe00dan%2Fblockchain-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe00dan%2Fblockchain-workshop/lists"}