Skip to content

Latest commit

 

History

History
125 lines (81 loc) · 6.26 KB

File metadata and controls

125 lines (81 loc) · 6.26 KB

🎲 Scaffold-D&D

Judges verify: Chainlink VRF Smart Contract, deployment on Goerli here

image (6)

Using Scaffold-ETH to accelerate my contract testing, unfortunately had to just use remix because this wasn't displaying my contracts. If you have a similar problem, just navigate to packages/hardhat/contracts/VRFD22.sol that's where the action is. Smart Contract Demo Video🚀

image

🧊 Cool way to use Chainlink for an NFT. When storing the D&D Avatar CID onto the blockchain with the user's wallet address (this is callend NFT), it rolls some dice for the player. They get a public mission that the DM can confirm and award "Action drawings" NFTs (coming soon).

🏄‍♂️ Quick Start

image

🧊 Chainlink VRF2 Subscription is providing for consumer contract 0xa41a00db6c90b969252b38580e36b5241c16de85 to this contract on Goerli testnet.

Prerequisites: Node (v16 LTS) plus Yarn (v1.x) and Git

clone/fork 🏗 scaffold-eth:

git clone https://github.com/scaffold-eth/scaffold-eth.git

install and start your 👷‍ Hardhat chain:

cd scaffold-eth
yarn install
yarn chain

in a second terminal window, start your 📱 frontend:

cd scaffold-eth
yarn start

in a third terminal window, 🛰 deploy your contract:

cd scaffold-eth
yarn deploy

🔏 Edit your smart contract YourContract.sol in packages/hardhat/contracts

📝 Edit your frontend App.jsx in packages/react-app/src

💼 Edit your deployment scripts in packages/hardhat/deploy

📱 Open http://localhost:3000 to see the app

📚 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