Skip to content

P-Carth/NFT-MiniGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NFT-MiniGame

Dynamic NFT Game

For in-depth instructions on how to follow along and build your own NFT Minigame, checkout my medium article here: https://medium.com/@prestonkirschner1/how-to-mint-an-nft-minigame-29324fb7c1f9

To view/play with the NFT, click here: https://opensea.io/assets/matic/0xe1b930f1465c7368735680d00ba1363f1756599c/1

Summary

The purpose of this project was to try to put a Mario-Style game inside of an NFT.

While I was successfully able to put an interactive web game inside of an NFT, one aspect of the game does not work at the moment. Upon winning the game, one's Crypto Wallet (e.g. MetaMask) should activate sending a congratulations message. Due to the configuration of OpenSea's (& Rarible's) sandboxed environment used for displaying dynamic NFTs it runs into an issue with CORS same-origin-policy. If this issue were solved, it could allow for some really incredible functional NFTs. Typically, Metadata used for dynamic NFTs are stored under the metadata tag: "animation_url", however this is not standardized. For truly incredible dynamic NFTs there must be some level of standardization so dynamic NFTs can operate consistently regardless of platform it is hosted on.

If there are any workarounds to this issue allowing the user to successfully connect to their wallet from within these sandboxed environments, please share 😀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published