James Bachini

react

  • Dynamic Evolving NFTs | How To Create Dynamic NFTs & dApps

    Dynamic Evolving NFTs | How To Create Dynamic NFTs & dApps

    Dynamic NFTs include logic that evolves the underlying data that the NFT contract holds. In this example we will build a picture profile NFT that is upgradeable to an alien 👽 All the source code for this project is available at: https://github.com/jamesbachini/WomenWhoCode Dynamic NFT Smart Contract The Solidity smart contracts will comprise of two tokens:…

  • Prevent Mobile Browsers From Turning Off

    Prevent Mobile Browsers From Turning Off

    The following code has been published to prevent mobile browsers from turning off and going into sleep mode. This was affecting setTimeout functions as the javascript code in the browser is effectively paused preventing the event loop from processing once sleep mode is activated. I originally looked at nosleep.js but ended up simplifying the code…