Skip to content

xmxanuel/mask-flipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mask Flipper

Flip a hashmask against the floor price in NFTX.

How does it work?

  • a hashmasks NFT can be transfered into the contract
  • the contract flips the NFT for a mask token
  • the received mask token is swapped on sushi-swap for WETH
  • WETH is paid out to the user

All this is happening in one transaction.

Getting started

Mask Flipper uses dapp.tools for development. Please install the dapp client.

Run RPC tests

The RPC test is using the deployed mainnet contracts of NFTX, HashMasks and Sushiswap. install dependencies

dapp update
export ETH_RPC_URL= <INFURA/NODE URL>
make test

About

flip a hashmask against the floor price in NFTX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published