{"id":19374893,"url":"https://github.com/dappcoderr/raffle-contract","last_synced_at":"2025-11-16T17:04:18.119Z","repository":{"id":246344466,"uuid":"820760573","full_name":"DappCoderr/Raffle-Contract","owner":"DappCoderr","description":"Raffle is an onchain gambling competition build on top of evm blockchain in which people obtain numbered tickets, each of which has the chance of winning a prize.","archived":false,"fork":false,"pushed_at":"2024-07-10T09:27:27.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T03:13:51.248Z","etag":null,"topics":["evm","foundry","smart-contracts","solidity","solidity-contracts"],"latest_commit_sha":null,"homepage":"","language":"Solidity","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/DappCoderr.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":"2024-06-27T06:06:42.000Z","updated_at":"2024-07-10T09:27:31.000Z","dependencies_parsed_at":"2024-11-10T08:36:36.077Z","dependency_job_id":"9c3735ad-078b-4503-aeaa-60e699a700bd","html_url":"https://github.com/DappCoderr/Raffle-Contract","commit_stats":null,"previous_names":["dappcoderr/raffle-contract"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DappCoderr%2FRaffle-Contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DappCoderr%2FRaffle-Contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DappCoderr%2FRaffle-Contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DappCoderr%2FRaffle-Contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DappCoderr","download_url":"https://codeload.github.com/DappCoderr/Raffle-Contract/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240502493,"owners_count":19811811,"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":["evm","foundry","smart-contracts","solidity","solidity-contracts"],"created_at":"2024-11-10T08:36:27.539Z","updated_at":"2025-11-16T17:04:18.090Z","avatar_url":"https://github.com/DappCoderr.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Provably Random Raffle Contracts\n\n### What we are doing?\n\n1. User can enter by paying for the ticket.\n\n- The ticket fees are going to go to the winner during the draw.\n\n2. After x period of time, the lottery will automatically draw a winner.\n\n- This will be done programmatically.\n\n3. Using Chainlink VRF \u0026 Chainlink Automation\n\n- Chainlink VRF -\u003e Randomness\n- Chainlink Automation -\u003e Time based triggers\n\n## Project Structure 📦\n\nBefore delving into the code, let's take a moment to understand the structure of the repository:\n\n- `/src`: This folder contains all the solidity smart contract of the Raffle Contract.\n- `/script`: Here, you will find the script to deploy the smart contract\n- `/test`: All the unit, integration testing are here.\n\n## Foundry\n\nWe are using Foundry toolkit for this application development:\n\n- `Forge`: Ethereum testing framework (like Truffle, Hardhat and DappTools).\n- `Cast`: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.\n- `Anvil`: Local Ethereum node, akin to Ganache, Hardhat Network.\n- `Chisel`: Fast, utilitarian, and verbose solidity REPL.\n\n## Tests\n\n1. Write deploy script\n2. Write tests\n\n- Local Chain\n- Forked Testnet\n- Forked Mainnet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappcoderr%2Fraffle-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdappcoderr%2Fraffle-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappcoderr%2Fraffle-contract/lists"}