Skip to content

Bounty/Lootbox system for incentivizing donations of celebrity ENS names.

Notifications You must be signed in to change notification settings

Anish-Agnihotri/ens-lootbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENS Lootbox

Quick hack inspired by Mike's tweet about celebrity ENS domain donations.

Run locally

First, update ETH RPC url in hardhat.config.js and test/main.js.

# Install dependencies
npm install

# Run tests
npx hardhat test

Flow

Donator Flow

  1. Anyone can send ETH to fund the donation contract.

ENS Administrator Flow

  1. Can update the desired ENS names looking to be captured.
  2. Can attach a bounty to the desired ENS names (where bounty < balance(contract)).
  3. Can withdraw the ENS names sent to the ENSLootbox contract to their EOA.

ENS Celebrity Name Owner Flow

  1. Can check the bounty for a desired ENS name.
  2. Can send a matching ENS name to the contract and be rewarded bounty.

About

Bounty/Lootbox system for incentivizing donations of celebrity ENS names.

Topics

Resources

Stars

Watchers

Forks