{"id":23862803,"url":"https://github.com/aytaditya/lottery_system-solidity","last_synced_at":"2026-04-09T02:31:03.226Z","repository":{"id":233881599,"uuid":"786877558","full_name":"Aytaditya/Lottery_System-Solidity","owner":"Aytaditya","description":" Repository for a lottery system integrated with a user-friendly frontend. Leveraging blockchain technology, this smart contract ensures transparency and security in the lottery process.frontend interface simplifies participation, result checking, and prize management, enhancing the overall user experience.","archived":false,"fork":false,"pushed_at":"2024-05-29T17:13:26.000Z","size":5835,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T12:47:20.055Z","etag":null,"topics":["deployment","ethereum-contract","javascript","react","smart-contracts","solidity","web3"],"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/Aytaditya.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,"zenodo":null}},"created_at":"2024-04-15T13:25:35.000Z","updated_at":"2024-06-20T22:23:24.000Z","dependencies_parsed_at":"2024-04-19T21:35:06.998Z","dependency_job_id":"c062b13d-877c-4285-a4b6-c9a6c544e439","html_url":"https://github.com/Aytaditya/Lottery_System-Solidity","commit_stats":null,"previous_names":["aytaditya/lotterysystem-solidity-project","aytaditya/lottery_system-solidity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aytaditya/Lottery_System-Solidity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aytaditya%2FLottery_System-Solidity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aytaditya%2FLottery_System-Solidity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aytaditya%2FLottery_System-Solidity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aytaditya%2FLottery_System-Solidity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aytaditya","download_url":"https://codeload.github.com/Aytaditya/Lottery_System-Solidity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aytaditya%2FLottery_System-Solidity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["deployment","ethereum-contract","javascript","react","smart-contracts","solidity","web3"],"created_at":"2025-01-03T07:24:05.502Z","updated_at":"2026-04-09T02:31:03.210Z","avatar_url":"https://github.com/Aytaditya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Blockchain Lottery System with User-Friendly Frontend\n\nWelcome to our Blockchain Lottery System! This project combines the transparency and security of blockchain technology with a user-friendly frontend interface to create a seamless and enjoyable lottery experience for users.\n\n## Note\n\nThis lottery system is built using Solidity version 0.8.11.\n\n\n![image](./lottery.png)\n\n\n\n## Features\n\n- **Blockchain Integration**: Our lottery system is built on blockchain technology, ensuring transparency and security throughout the lottery process. The smart contract manages ticket purchases, prize distribution, and result verification.\n\n- **User-Friendly Frontend**: The frontend interface provides an intuitive platform for users to participate in the lottery, check results, and manage prizes effortlessly. The interface is designed to enhance the overall user experience, making it accessible to both experienced blockchain users and newcomers.\n\n- **Transparency**: With blockchain technology, every transaction and lottery drawing is recorded on the blockchain, providing a transparent and immutable record of the entire lottery process. Users can verify the fairness of the lottery results at any time.\n\n## Getting Started\n\n1. **Install Dependencies**: Ensure you have the necessary dependencies installed to run the frontend interface and interact with the blockchain. Run `npm install` to install all required dependencies.\n\n2. **Deploy Smart Contract**: Deploy the smart contract onto your preferred blockchain network. You can find the deployment script in the root directory of the project. Customize the deployment parameters as needed, then run the script to deploy the contract.\n\n3. **Set Up Environment Variables**: Create a `.env` file in the root directory of the project and add your mnemonic for deploying contracts. This file will be used to securely pass sensitive information to your application. Add the following line to your `.env` file:\n    ```env\n    MNEMONIC=your-mnemonic-phrase-here\n    ```\n\n4. **Set Up Frontend**: Clone or download the frontend interface code from our repository. The frontend is built using a React application, which runs on port 3000. Update the necessary configurations to connect the frontend to the deployed smart contract.\n\n5. **Run the Frontend**:\n    - Navigate to the frontend directory:\n        ```sh\n        cd frontend\n        ```\n    - Install the necessary dependencies:\n        ```sh\n        npm install\n        ```\n    - Start the React application:\n        ```sh\n        npm start\n        ```\n    This will launch the React application on port 3000, making it accessible at `http://localhost:3000`.\n\n6. **Testing**: Test the lottery system by participating in the lottery, checking results, and managing prizes through the frontend interface. The test scripts are located in the `tests` folder. To run the tests, use the command:\n    ```sh\n    npm run test\n    ```\n\n\n\n\n7. **Deployment**: Once testing is complete, deploy the frontend interface to a web server or hosting platform of your choice. Ensure the server is configured to serve the React application correctly, and that it is connected to the deployed smart contract on the blockchain.\n\n![image](./lottery1.png)\n\n---\n\nBy following these steps, you can get your blockchain lottery system up and running, offering a transparent, secure, and user-friendly lottery experience. Enjoy the enhanced transparency and security that blockchain technology brings to the lottery process, and provide a seamless experience for your users with our intuitive React-based frontend.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faytaditya%2Flottery_system-solidity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faytaditya%2Flottery_system-solidity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faytaditya%2Flottery_system-solidity/lists"}