# Route2 Web3: week1

By [Ruthu Rao](https://paragraph.com/@ruthu) · 2023-02-10

---

After dabbling around for a while in web3, I finally realized that everything I thought I know about, is only on a surface level. This journey of me unlearning things and learning things from a new perspective couldn’t have been possible without the EthIndia Fellowship and being ecstatic would be an understatement. I cannot wait to see what the end of this 8 week course holds for me as it definitely did start on a great note and I have to thank my fellows, mentors and the Devfolio team for this.

One of the things I look forward to in this fellowship apart from the tasks itself is the discord server because it’s POPPING off with all these deep tech cool blogs/articles and the nerdy geek in me is overjoyed.

I’m nice I like to share :)

[https://twitter.com/cowswap/status/1623680760522612738?s=46&t=gNak7U0Y3yIPf6wX1PPfow](https://twitter.com/cowswap/status/1623680760522612738?s=46&t=gNak7U0Y3yIPf6wX1PPfow)

[https://mirror.xyz/joenrv.eth/DdbK6GR-CkeYxHoU8sKl0AFYbGeQwZcvCM5Qvzipr0g](https://mirror.xyz/joenrv.eth/DdbK6GR-CkeYxHoU8sKl0AFYbGeQwZcvCM5Qvzipr0g)

[https://mirror.xyz/0x6afeB3d9E380787e7D0a17Fc3CA764Bb885014FA/D3g-4UPRLkAnug-p6AZYfjgXWo-psaTulyu3SaL35vg](https://mirror.xyz/0x6afeB3d9E380787e7D0a17Fc3CA764Bb885014FA/D3g-4UPRLkAnug-p6AZYfjgXWo-psaTulyu3SaL35vg)

[https://dev.to/spalladino/a-beginners-intro-to-coding-zero-knowledge-proofs-c56](https://dev.to/spalladino/a-beginners-intro-to-coding-zero-knowledge-proofs-c56)

As I received the SBT, I also received my tasks for the week and this week was all about getting the basics right. Here’s my beautiful SBT :D

[https://opensea.io/assets/0xfE8321Df99317C365797c4f95C2dbd9BeEC8C694/20](https://opensea.io/assets/0xfE8321Df99317C365797c4f95C2dbd9BeEC8C694/20)

The week started of with a **simple NFT Challenge** which was an introduction to ERC721 and a walk through Scaffold.eth, I have to admit it was annoying initially but not more annoying than building a ui for every contract.

We had to build a contract which let users mint an NFT, and which further helped me get an idea about how users can purchase and sell NFTS.This challenge also helped me understand scaffold.eth better and the entire structure of Hardhat.

The second challenge was a **Decentralised Staking App**, where users can work towards a cause to raise funds and the funds are further sent to a second contract, if they don’t cooperate it’s sent back to them. This challenge was tricky initially as I was figuring out the wireframe, but it got easier to execute once I got the hang of it .

The challenge was tricky as I had initially used a If else() statement but considering each and every contract is open source and is deployed on the blockchain, we have to abide by strict conditions, due to this some of the test cases weren’t passing and replacing that with require() solved it.

Some of the mistakes I did was to not really read through the whole thing and I attempted to do it on my own, well of course the perks were that I got to learn a lot but the cons were the test cases ;( but going through the test cases individually was a lot more learning again!!

I conveniently used that One sad modifier in other functions as well.

I don’t know who needs to hear this but you don’t have to use **require()** every where because it really restricts the contract, and a simple **If-else** really serves the purpose.

![Here's my Proof of Work ;D](https://storage.googleapis.com/papyrus_images/b5792b83de349eb73da44efde1bbe9b413242b76ef35d016fe8f5aa7caa5dcc0.png)

Here's my Proof of Work ;D

You’ve reached the end, and you can subscribe to see my route2 web3 ;)

---

*Originally published on [Ruthu Rao](https://paragraph.com/@ruthu/route2-web3-week1)*
