{"id":17233837,"url":"https://github.com/anish-agnihotri/ens-lootbox","last_synced_at":"2025-07-03T08:07:32.120Z","repository":{"id":82696143,"uuid":"369756513","full_name":"Anish-Agnihotri/ens-lootbox","owner":"Anish-Agnihotri","description":"Bounty/Lootbox system for incentivizing donations of celebrity ENS names.","archived":false,"fork":false,"pushed_at":"2021-05-22T08:30:48.000Z","size":249,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-21T02:17:57.312Z","etag":null,"topics":["ens","ethereum","ethereum-name-service"],"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/Anish-Agnihotri.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":"2021-05-22T08:30:37.000Z","updated_at":"2023-07-29T01:24:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd75efd0-3a7d-4286-aa32-7fcc0d28a802","html_url":"https://github.com/Anish-Agnihotri/ens-lootbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Anish-Agnihotri/ens-lootbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anish-Agnihotri%2Fens-lootbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anish-Agnihotri%2Fens-lootbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anish-Agnihotri%2Fens-lootbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anish-Agnihotri%2Fens-lootbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anish-Agnihotri","download_url":"https://codeload.github.com/Anish-Agnihotri/ens-lootbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anish-Agnihotri%2Fens-lootbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263287849,"owners_count":23443084,"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":["ens","ethereum","ethereum-name-service"],"created_at":"2024-10-15T05:26:57.158Z","updated_at":"2025-07-03T08:07:32.107Z","avatar_url":"https://github.com/Anish-Agnihotri.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ENS Lootbox\n\nQuick hack inspired by [Mike's tweet about celebrity ENS domain donations](https://twitter.com/mikedemarais/status/1395910410063253505).\n\n## Run locally\n\nFirst, update ETH RPC url in `hardhat.config.js` and `test/main.js`.\n\n```bash\n# Install dependencies\nnpm install\n\n# Run tests\nnpx hardhat test\n```\n\n## Flow\n\n**Donator Flow**\n\n1. Anyone can send ETH to fund the donation contract.\n\n**ENS Administrator Flow**\n\n1. Can update the desired ENS names looking to be captured.\n2. Can attach a `bounty` to the desired ENS names (where `bounty \u003c balance(contract)`).\n3. Can withdraw the ENS names sent to the `ENSLootbox` contract to their EOA.\n\n**ENS Celebrity Name Owner Flow**\n\n1. Can check the `bounty` for a desired ENS name.\n2. Can send a matching ENS name to the contract and be rewarded `bounty`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanish-agnihotri%2Fens-lootbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanish-agnihotri%2Fens-lootbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanish-agnihotri%2Fens-lootbox/lists"}