han0110 / loothunt

πŸ’°πŸ’°πŸ’° Loothunt

Home Page:https://han0110.github.io/loothunt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


LootHunt is a reward tool for airdrop marketing. Providers can offer a reward to anyone who meets the requirements. For users, it’s fun to collect NFTs and even unlock/discover other items. It is as amazing as treasure hunting!

Introduction

This repository contains 0x extension contract RequirementFilter, which acts two roles

  • Requirements Checker

    Implement a hook to check whether all requirements have been achieved by signer before calling executeTransaction to exchange.

  • Fake ERC20

    Implement an always-success transferFrom interface for no need for taker asset, which is useful when holding an airdrop or hunting!

    Besides, in addition to take advantage of the feature of partial filling of 0x, we require the amount in transferFrom to be 1, which makes airdrop issuers more convenient to issue multiple amount of goods in one signing action (no need for transaction).

Development

  • Installing

git clone https://github.com/han0110/loothunt && cd loothunt
yarn
  • Developing demo page

yarn dev

Contributors

About

πŸ’°πŸ’°πŸ’° Loothunt

https://han0110.github.io/loothunt


Languages

Language:JavaScript 70.1%Language:Solidity 18.9%Language:CSS 8.9%Language:Shell 1.3%Language:Dockerfile 0.7%