Inspiration
I want to be familiar with Chainlink services. So I decide start from random numbers. I choose simple dice game for implementation functions "fullfillrandomwords".
What it does
Simple game. You make deposit for my smart contract and then you can play with me. Make your bet, but not over a casino bank))
How we built it
Some solidity knowledge, working with events, work with elements of contracts Chainlink.
Challenges we ran into
I wrote the code and started testing it. But nothing works. Until I realized that the Chainlink oracle needs about 2-3 minutes to respond to my request.
Accomplishments that we're proud of
I always proud that I can do finished product for the user. And you can play with me just now))
What we learned
Little bit of Solidity, much React, and Chainlink of course.
What's next for Dice Game VRF2
It was just study project. I want implement Chainlink price feed logic in my finance Defi.
Built With
- chainlink
- ethers.js
- hardhat
- javascript
- react
- solidity

Log in or sign up for Devpost to join the conversation.