{"id":29902906,"url":"https://github.com/trenddapp/lottery","last_synced_at":"2025-10-16T17:30:15.695Z","repository":{"id":37006711,"uuid":"441699267","full_name":"trenddapp/lottery","owner":"trenddapp","description":"Decentralized Lottery by TrendDapp 💰","archived":false,"fork":false,"pushed_at":"2022-12-09T16:20:59.000Z","size":403,"stargazers_count":23,"open_issues_count":0,"forks_count":7,"subscribers_count":10,"default_branch":"main","last_synced_at":"2023-03-03T20:13:28.469Z","etag":null,"topics":["brownie","chainlink","chainlink-vrf","openzeppelin-upgrades","solidity","upgradeable-smart-contract"],"latest_commit_sha":null,"homepage":"https://trenddapp.com/dapps/lottery","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trenddapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-25T14:48:19.000Z","updated_at":"2022-12-30T18:32:32.000Z","dependencies_parsed_at":"2023-01-17T12:42:51.133Z","dependency_job_id":null,"html_url":"https://github.com/trenddapp/lottery","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/trenddapp/lottery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trenddapp%2Flottery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trenddapp%2Flottery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trenddapp%2Flottery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trenddapp%2Flottery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trenddapp","download_url":"https://codeload.github.com/trenddapp/lottery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trenddapp%2Flottery/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268257513,"owners_count":24221062,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["brownie","chainlink","chainlink-vrf","openzeppelin-upgrades","solidity","upgradeable-smart-contract"],"created_at":"2025-08-01T16:17:27.240Z","updated_at":"2025-10-16T17:30:10.655Z","avatar_url":"https://github.com/trenddapp.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://trenddapp.com\"\u003e\n    \u003cimg width=\"110\" height=\"110\" alt=\"favicon\" src=\"https://user-images.githubusercontent.com/31795824/202284118-1d661634-6665-4fa4-89c1-5eb9131106d3.png\"\u003e\n    \u003ch3 align=\"center\"\u003eTrenddapp\u003c/h3\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Develop dapps for friends!\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://trenddapp.com/dapps/auction\"\u003e\u003cstrong\u003eAuction\u003c/strong\u003e\u003c/a\u003e .\n  \u003ca href=\"https://trenddapp.com/dapps/lottery\"\u003e\u003cstrong\u003eLottery\u003c/strong\u003e\u003c/a\u003e .\n  \u003ca href=\"https://trenddapp.com/dapps/nft\"\u003e\u003cstrong\u003eNFT\u003c/strong\u003e\u003c/a\u003e .\n  \u003ca href=\"https://trenddapp.com/dapps/wordle\"\u003e\u003cstrong\u003eWordle\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n## Lottery\nA decentralized lottery app running on the Ethereum network, where you can easily participate by connecting your crypto wallet and buying tickets. After the specified lottery duration, a winner is chosen with a random number generated by Chainlink.\n\n---\n\nBuilding a DAPP(Decentralized Application) on Ethereum includes two major steps:\n1. Writing a smart contract and deploying it to Ethereum.\n2. Interacting with the data and smart contract on Ethereum.\n\n## Interacting with the data and smart contract on Ethereum:\n\nNo matter what programming language you are using, in order to make a request to the Ethereum network, you'll need:\n\n|Name                  |Description                                                                                        |\n|----------------------|---------------------------------------------------------------------------------------------------|\n|RPC Provider          |A node(server) that is connected to the Ethereum network, and listens to the incoming RPC requests.|\n|Smart Contract ABI    |An interface that defines all methods with arguments available in the smart contract.              |\n|Smart Contract Address|An address that is used to find the smart contract runner nodes in the Ethereum network.           |\n|User's Private Key    |A private key that is used to sign/verify the write requests(transactions).                        |\n\n## Conventions\nHere is a list of conventions used:\n- [Conventional commits](https://www.conventionalcommits.org/en/v1.0.0)\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrenddapp%2Flottery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrenddapp%2Flottery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrenddapp%2Flottery/lists"}