Community Archive

🧵 View Thread

🧵 Thread (6 tweets)

Placeholder
Miguel Piedrafita ✨@m1guelpf• almost 4 years ago

necromint.sol An ERC721 contract that allows you to resurrect burned NFTs. Idea by @dhof https://t.co/hrWSCysWn6

Tweet image 1
308 37
10/8/2021
Placeholder
Miguel Piedrafita ✨@m1guelpf• almost 4 years ago
Replying to @m1guelpf

@dhof Pushed to GitHub! https://t.co/jnKHwoRlMs

36 1
10/8/2021
Placeholder
Miguel Piedrafita ✨@m1guelpf• almost 4 years ago
Replying to @m1guelpf

Seems like this won't work for NFTs sent to 0x0, since the ERC721 standard checks for existence before returning the tokenURI. Pushed a fix that uses 0xdead instead (which may or may not have a burned punk 👀) Preview the cemetery: https://t.co/AsbAUTvBdh

26 2
10/8/2021
Placeholder
Miguel Piedrafita ✨@m1guelpf• almost 4 years ago
Replying to @m1guelpf

Not planning to deploy this on mainnet (will leave that to @dhof if he wants to), but anyone can clone the GitHub repo and run `yarn hardhat --network {mainnet|polygon} run scripts/deploy.ts` to deploy it themselves. Have fun! https://t.co/S6TI8E06D2

Tweet image 1
20 1
10/8/2021
Placeholder
Miguel Piedrafita ✨@m1guelpf• almost 4 years ago
Replying to @m1guelpf

Deployed by @pm 🚀 Contract address: 0x9A652E434250f29972A79B726F2e78974140BB8c Just call the resurrect function with the contract address and token id of the NFT you want to resurrect. https://t.co/YD1F1HrKPZ

22 2
10/8/2021
Placeholder
Miguel Piedrafita ✨@m1guelpf• almost 4 years ago
Replying to @m1guelpf

For anyone who's confused about how this works, @staringispolite made this amazing infographic https://t.co/X7YUkNi5kl

Tweet image 1
37 0
10/9/2021