Inspiration

When i get to know about web3 and blockchain.I found this technology very interesting and exciting,then I started learning more about it started reading blogs,documentations,groking bitcoin,seeing video about blockchain etc.A month ago my senior told me to participate in international hackathon, I started searching hackathons on internet then at devpost i saw the chainlink i found this hackathon as a opportunity to explore more about web3 and also showcase my skills.

What it does

NumPy is simply a decentralised number guessing game where you can bet and win real money. In this game you have to bet some amount of ethers,then guess the number from 1 to 20,you well get 6 chances to guess after every wrong guess winning amount gets decreased.I have used chainlink vrfv2 for generating random numbers.

How I built it

I first started with learning the concepts of blockchain and web3.Started learning to make smart contracts,deploying smart contracts etc.Then i started exploring chainlink,learned concepts of oracle.Then i come across the chainlink number generating function which is chainlink vrfv2.Then i got the the idea of building a decentralized betting game. I then learned hardhat,chai integrating smart contract with front end etc.I know react from before,hence didnt face any problem with frontend.Then i started working on my idea and built NumPy.

Challenges I ran into

I faced a few challenges while building NumPy. As Development and testing is a very big headache in web3 and BlockChain development. It is a time consuming process.I also wasted lot of time in testing.I also get many errors while developing NumPy debugging them is also a big headache as there is not much resources for web3. As i was doing this hackathon solo I have to do all my work with myself. As also have upcoming universities exams.

Accomplishments I am proud of

After facing many errors and difficulties.I have successfully completed this project. I was also participated solo,so have to motivate myself to work.

What I learned

I learned many important concepts of blockchain and web3. Learned unit testing, mock contracts, subnets, concept of gas etc.Learned etherjs and hardhat,chainlink oracle, avalanche etc.Understand how the blockChain works.Learned to develop decentralized applications.

What's next for NumPy-Guess and Win

I will add more features and functionalities to NumPy also to make more advance decentralized application.

Built With

Share this project:

Updates

Submission history