/freshvrf2

tester

Primary LanguageCSSMIT LicenseMIT

๐Ÿ— Scaffold-ETH: Gamification to mitigate ownership concentration issues

The illustrative proof of concept app gamifies the minting of an on-chain NFT, providing a speedbump to mass minting by any single actor. It accomplishes this by requiring that the player randomly draws a prime number between 1 and 100 before being able to mint a NFT. Being able to win a portion of the accumulated balance provides the risk/reward element of the game. The gameplay is designed to teach basic concepts of Ethereum and blockchain technology to new users. ๐Ÿš€

The smart contract YourContract.sol contains detailed comments regarding the relevant smart contract considerations for this build

๐Ÿ” You can find the core smart contract YourContract.sol in packages/hardhat/contracts. You will need to update this file for your own subscrition ID (check out the constructor within the YourContract.sol file) to make it work. Go here (https://vrf.chain.link/) to create and manage your subscriptions (i.e. add your newly deployed smart contract to the list of consumers).

๐Ÿ“ฑ You will need to deploy it to Goerli to make it work

๐Ÿ“š Documentation

Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io

๐Ÿฆ Other Flavors

๐Ÿ”ญ Learning Solidity

๐Ÿ“• Read the docs: https://docs.soliditylang.org

๐Ÿ“š Go through each topic from solidity by example editing YourContract.sol in ๐Ÿ— scaffold-eth

๐Ÿ“ง Learn the Solidity globals and units

๐Ÿ›  Buidl

Check out all the active branches, open issues, and join/fund the ๐Ÿฐ BuidlGuidl!

๐Ÿ’Œ P.S.

๐ŸŒ You need an RPC key for testnets and production deployments, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx in packages/react-app/src/constants.js with your new key.

๐Ÿ“ฃ Make sure you update the InfuraID before you go to production. Huge thanks to Infura for our special account that fields 7m req/day!

๐Ÿƒ๐Ÿ’จ Speedrun Ethereum

Register as a builder here and start on some of the challenges and build a portfolio.

๐Ÿ’ฌ Support Chat

Join the telegram support chat ๐Ÿ’ฌ to ask questions and find others building with ๐Ÿ— scaffold-eth!


๐Ÿ™ Please check out our Gitcoin grant too!

Automated with Gitpod

Open in Gitpod