{"id":16541479,"url":"https://github.com/zmisgod/guess-number-contract","last_synced_at":"2026-05-09T03:31:22.744Z","repository":{"id":97033461,"uuid":"384424102","full_name":"zmisgod/guess-number-contract","owner":"zmisgod","description":"a small ethereum contract","archived":false,"fork":false,"pushed_at":"2022-11-15T15:14:23.000Z","size":516,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T08:52:17.063Z","etag":null,"topics":["dapp","eth-contract","ethereum","game-contracts","solidity","solidity-contracts"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/zmisgod.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":"2021-07-09T12:02:50.000Z","updated_at":"2022-11-08T14:09:58.000Z","dependencies_parsed_at":"2024-03-09T03:15:53.666Z","dependency_job_id":null,"html_url":"https://github.com/zmisgod/guess-number-contract","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmisgod%2Fguess-number-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmisgod%2Fguess-number-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmisgod%2Fguess-number-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmisgod%2Fguess-number-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmisgod","download_url":"https://codeload.github.com/zmisgod/guess-number-contract/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787487,"owners_count":20020099,"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":["dapp","eth-contract","ethereum","game-contracts","solidity","solidity-contracts"],"created_at":"2024-10-11T18:55:08.210Z","updated_at":"2025-10-09T10:05:41.276Z","avatar_url":"https://github.com/zmisgod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lottery game contract\nlet we guess a number between 1 and 6\n\n## environment\n- node v14.0\n- ganache\n- `npm install -g truffle`\n- `metamask` -- chrome extension\n\n## run\nadd some contract code\n- `npm install` will install dependencies from openzeppelin\n- `truffle compile` will compile the contract\n- `truffle migrate` will deploy the contract to the current network\n- `truffle test` will test the contract test file\n\nchange web code\n- `cd web \u0026\u0026 npm insatll \u0026\u0026 npm run dev`\n\n## config\nchange `contractAddress(your contract address)` and `adminAddress(your wallet address)` in `web/lib/web3.js`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmisgod%2Fguess-number-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmisgod%2Fguess-number-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmisgod%2Fguess-number-contract/lists"}