ThunderEgg

Andy Gray
BlockRocket
Published in
5 min readOct 27, 2020

This project was conceived as an entry in the Untitled NFT Hackathon.

ThunderEgg is the ambitious project that hopes to unite three exciting fields in themselves DeFi, NFT’s and CryptoArt into one absolutely cracking experiment.

Coming soon…see release section. https://medium.com/blockrocket/release-the-thunderegg-714aa0669ab

Ethereum Mainnet: Release on Weds. 4th November 2020

PREMISE

The project exists in a fantastical world of Norse gods, magical creatures and powerful magic. To embark on your fated quest, you must stake your LP stones (UniV2 ERC20 tokens) gathered from the unicorn (providing liquidity to the ETH<>LAVA pair on Uniswap) to the fertile sacred groves of the Gods.

For your sacrifice, Thor shall bless you with a mighty ThunderEgg. A mere mortal like yourself, however only possesses the power to control a single ThunderEgg (one egg to one single ETH address at a time).

But what to do with this egg? Well, this is where the struggle really begins…

As LAVA is farmed over time and locked inside ThunderEggs so you have a tricky decision to destroy the egg and release LAVA as the value accumulates (in theory)…or keep strong hands as the NFT matures (in tokens and artistic value) and may eclipse the value held within.

Smiting the eggs reduces supply, theoretically making the other ThunderEggs worth more (as there is a limited supply). NFTs can naturally be sold on the secondary market, though it must be noted the ThunderEgg and LAVA are indivisible so they are sold as one.

A truly treacherous conundrum for our plucky adventurer to tackle, but one that could lead to riches beyond that of even the gods!

NOTE: THIS IS AN EXPERIMENT. THE CODE IS UNAUDITED. ARE THE GODS ARE SMILING ON YOU?

TECHNOLOGY

ThunderEgg is not only an exciting adventure, but is also a showcase of the latest tech and innovation happening in blockchain.

ThunderEgg is a mashup of SushiSwap 🍣 + ERC721 Non-Fungible Tokens (0x’s implementation) 💠 + Charged Particles ⚛️ +P5 Generative art scripts 🎨 x Compound “governance” 👩‍⚖ = ThunderEgg 🥚

Respect to all the giants who came before on who’s shoulders we built this project initially for the Untitled NFT Hackathon

Holy Trinity

In an eggshell, ThunderEggs are NFTs. LAVA is an ERC20 governance token.

Key concept: You require the staking token (obtained by becoming a liquidity provider on Uniswap) to spawn or mint an NFT. The NFT internally holds any yield of LAVA tokens based on the amount of staked token and LAVA per block rewarded.

As it is an NFT it can be sold and traded on secondary markets but if the owner decides the ThunderEggs can be destroyed or burned to release the LAVA held within plus the original stake of LP Stones. LAVA can then be sold again via the Uniswap pair of ETH <> LAVA.

Each generated ThunderEgg image changes block by block based on it’s traits that include Age, LAVA balance, Name, Token ID, and LP Stones. What will they look like in several weeks or months? Only time will tell.

ThunderEggs have fully ERC721 compliant metadata for viewing in external wallets and marketplaces.

The ThunderEgg is generative art with DeFi built in. Over time with the help of a p5.js script the egg will slowly become darker and more cracks will form on its surface. This will suggest to others the maturity and consequent scarcity of it as a NFT.

P5 Egg script

The smart contracts are ownable. All actions in the project are overseen by the god Thor, he and only he can create the sacred grove for farming LAVA. He can even decide to freeze the supply of new eggs & LAVA if he grows tired of the games of mortals.

But as LAVA is a governance token — Thor could in theory pass his absolute powers to an autonomous entity, otherwise known as a DAO.

GAME THEORY & EGG-A-NOMICS

We will pre-mint a small amount of LAVA to setup the uniswap pair with some seed ETH. A small airdrop of LAVA and UniV2 tokens to the founding Gods and selected others will kickstart liquidity and the trinity between ThunderEggs, LAVA, and LP stones. Go see the unicorn 🦄.

To reiterate, as LAVA is locked inside ThunderEggs you have a tricky decision to release potential gains in the egg via selling LAVA and LP Stones.

Or have strong hands as when the NFT matures (with internal token value and artistic value) that may eclipse the internal value for some.

Destroying ThunderEggs reduces supply, theoretically, making the other ThunderEggs worth more (as there is a limited supply) and Thor could raze the sacred grove at any moment!

Spawn, destroy, re-spawn, hold, trade — the choice is yours…

As LAVA is a governance token but you can only get this via airdrop or destroying ThunderEggs you must plan your strategy carefully.

DAPP

Two young ThunderEggs

The dApp allows you to spawn your own ThunderEgg and view other notable ThunderEggs.

It follows the now standard Web3 pattern of connect, approve, mint, view pattern using VueJs 3.x with Ethers.js.

in action…

Smart contracts are deployed to Rinkeby testnet but will be going to Mainnet imminently.

Below is a ThunderEgg NFT on OpenSea (Rinkeby)

Follow us on Twitter: https://twitter.com/ThunderEggNFT

Hit us up on Telegram for LAVA: https://t.me/joinchat/MJihcxjt-fZCBDRBQjAsyA

--

--