{"id":23113840,"url":"https://github.com/sanyampunia/lottery-dapp","last_synced_at":"2026-04-13T01:34:14.996Z","repository":{"id":105986382,"uuid":"535775251","full_name":"SanyamPunia/Lottery-Dapp","owner":"SanyamPunia","description":"🎟 A simple decentralized lottery application built with Next.js and thirdweb. Styled using TailwindCSS","archived":false,"fork":false,"pushed_at":"2022-09-13T07:49:59.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T23:02:20.701Z","etag":null,"topics":["nextjs","spheron","tailwindcss","thirdweb","thirdweb-dev-sdk"],"latest_commit_sha":null,"homepage":"https://lottery-dapp-l92moj.spheron.app/","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/SanyamPunia.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":"2022-09-12T17:21:50.000Z","updated_at":"2025-07-11T17:06:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c1e4432-681b-4712-b840-68f94fcd651d","html_url":"https://github.com/SanyamPunia/Lottery-Dapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SanyamPunia/Lottery-Dapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FLottery-Dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FLottery-Dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FLottery-Dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FLottery-Dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SanyamPunia","download_url":"https://codeload.github.com/SanyamPunia/Lottery-Dapp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FLottery-Dapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nextjs","spheron","tailwindcss","thirdweb","thirdweb-dev-sdk"],"created_at":"2024-12-17T03:15:07.641Z","updated_at":"2026-04-13T01:34:14.957Z","avatar_url":"https://github.com/SanyamPunia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🎫 The Lottery DAPP\n\nThis **Lottery Dapp** is an implementation of basic lottery application where each individual can buy certain number of tickets, while the total amount of tickets purchased accumulate as the total prize pool for that time period\n\nHosted on Spheron - [Lottery DAPP](http://lottery-dapp-l92moj.spheron.app/)\n\n---\n\n### 📹 Preview\n![preview](./public//preview.png)\n\n\n----\n\n### 🛠 Tech Stack\n* [Next.js](https://nextjs.org/) - Frontend Framework\n* [thirdweb](https://thirdweb.com/) - Web3 Platform (`@thirdweb/react` \u0026 `@thirdweb/sdk`)\n* [Tailwind CSS](https://tailwindcss.com/) - CSS Utility Framework\n\n### 📐 Local Setup and Usage\n* Make sure you have [*Metamask*](https://metamask.io/) installed as the extension in your browser \n* Clone the repository\n* Install the required dependencies by using the following command in the project directory using your terminal\n```bash\n$ pnpm install\n```\n* Create `.env.local` file in your project directory and add the following variable(s)\n```\nNEXT_PUBLIC_LOTTERY_CONTRACT_ADDRESS=\n```\nThe above contract address is of the Smart Contract version (*`contract/Lottery.sol`*) that is currently deployed to `thirdweb`\n* Spin up the development server\n```bash\n$ npm run dev\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanyampunia%2Flottery-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanyampunia%2Flottery-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanyampunia%2Flottery-dapp/lists"}