Inspiration

First and foremost, I want to thank Patrick Collins, Chainlink, and the Moralis community for making me feel welcome and at home.

Please don't think less of me.

Not too long ago, I was sleeping under bridges in a wheelchair and outside of churches in the streets after getting hit by a vehicle going 55+ mph, while I was on a bicycle. I went from having multiple vehicles, Armani suits, cashmere Burberry outfits to literally not even having shoes on my feet during the pandemic.

I was using public computers at the library, until I was gifted a laptop a few months ago, now I study like 16 hours a day hoping that one day I'll be so good at this stuff that I be able to make money even if I'm stuck using the library's computer.


What it does

These NFTs are stored on the polygon network and naturally hatch automatically in 360 days or for a fee, unless the tokenOwner is lucky enough to get randomly selected after a set interval to have one of their NFTs hatch prematurely.

They are also exportable cross chain using a static domain name.

Here's how it works:

  1. The NFT is minted and stored 100% on the Polygon blockchain as a dataURL with its dynamic features.

  2. IPFS hosts the website using Fleek and is pinned on Filecoin.

  3. The token is recreated(minted) on Rinkeby with the URI/imageURI set to https://autumn-bonus-4104.on.fleek.co/#/tokenid0

  4. A function call is made by Moralis that returns the dataURL from polygon and mounts it to the link

  5. The link https://autumn-bonus-4104.on.fleek.co/#/tokenid0 represents that dataUrl so that it can be set equal to an src or utilized by axios and return the data.

  6. There would be a contract on both chains to show authenticity and keep track of the tokens.

The goal is to have a decentralized website with static URLs that represent dynamic NFTs

Other use cases:

In theory the page could be customized to display modular features in the future.

This could reduce load time from signing transactions when equipping NFT gear.

A person could verifiably own a page on a website.

Its revolutionary!


How we built it

This project was built using the hardhat framework with smart contracts written in Solidity, which were deployed to the mumbai-polygon and rinkeby network. The artwork was hand drawn on paper and animated in Adobe Illustrator. The front_end was built with React class components using Moralis and deployed to fleek.

The exportable feature was intended to utilize Unstoppable Domain names, Fleek, IPFS, Filecoin, Pinata, Moralis , Mumbai-polygon, and the Rinkeby network.


Challenges we ran into

  • JavaScript
  • the Unstoppable Domain names deployed on mumbai-polygon testnet wouldn't register
  • the Unstoppable Domain names on mainnet currently dont resolve in modern browsers without an extension or gateway. They are expected to be supported by the end of the year.
  • financial set backs such as using windows 7 and not being able to restart my computer cuz I'm running an expired trial version of Adobe illustrator that seems to still work if I never close it
  • traditional routes weren't working with fleek and had to use HashRouter instead of BrowserRouter
  • bugs here and there, I've been getting better at solving them
  • trying to get the dataURL from a polygon function call using Moralis to mount to the websiteURL/page
  • hoping I can fix it before the deadline

Accomplishments that we're proud of

Successfully used Chainlink VRF and keepers. I knew it was awesome from the exercises and videos I watched. To be honest, I was a little intimidated using it on my own before this hackathon. I finally got my toes wet dipping into the Moralis docs. I'm I glad used Fleek, its really awesome.


What we learned

Thank you guys so much! I really appreciate all the webinars, exercises, and fun projects. I really noticed the difference when I went to write my smart contract this time. It was a lot smoother and felt like I had a better grasp on the concepts.


What's next for Krypto Egg Gang

The Moon! I plan on adding more characters and cool attachable Items. As well as, a bridge to keep track of the tokens deployed on other networks, so there aren't doppelgangers floating around. I look forward to Chainlink CCIP.

Oh and definitely more test!

Built With

Share this project:

Updates