The One Question bounty closes Thursday 10 December.

Join in
We Them Media logo We Them Media Support us

The Students Talk About The Dapps They Built Week 09

The picture loads from YouTube. The player loads only when you press Play. Turn on captions in the player if you need them.

Cohort 9 students at Web3 Bridge recap week 9, when the class built full-stack Web3 projects with React and smart contracts. They describe a crowdfunding app and a blog app with tipping, connecting wallets, listening to blockchain events and using Ethers.js, and one says front end work was hard for them.

Not by We Them Media Channel: Web3Bridge. Published Monday 30 October 2023.

Titles are the owner’s. It plays from their channel.

Transcript

This transcript may contain errors. This video belongs to Web3Bridge. Letters mark each change of speaker.

These are the speakers’ own words. We have not checked their claims.

0:09 A: Web3 Bridge Cohort 9, sponsored by Base.

0:11 B: Hello guys, um, it's James from Web3 Bridge and I'm here to talk about my week 9 at Web3 Bridge. Um, so week 8, we did We did the introduction into frontend, which is React, and week 9 we started acting on it. So we built projects using React, and these projects are projects that uses- that utilizes Web3, Solidity, and blockchain as the backend. So we can call them like full-stack Web3 projects. And what we did is using the frontend, building the smart contracts and learning how to integrate both, which for that we use, um, our injected Web3, which is being injected by our wallets. That way it gives us access to the blockchain, and on our front end we can act on that. And I was able to understand how the integration path works. So it's basically similar to how we integrating from the front end to the back end, but at the same time it's a bit different. And we also learned how to listen to changes on the blockchain. So by using events, we, we listen to events on the blockchain, and when there's a change like an update to states, through our codes, our front end will be able to read and update that particular point, that particular component that is being used.

1:56 C: During the bootcamp, we started working with frontend tools. We started working, we started delving into working with frontend using tools like React, TypeScript, Vite, and some other libraries like, um, Vite.js, React, working with frontend. So we also, some of the doubts I've built during the days With Naiwo, we didn't fund it, but we built the crowdfund app. We also built the blog app. So the tools we mainly used for the crowdfund app was the TouchShares, which we set up our wallet connection. We also set up the connection with our contract, which is to be able to interact with some functions that are in the contract. Like for the crowdfund app, we were able to create a campaign, we were able to would like start a crowdfunding campaign so people can come and donate. Then we have other functions that will direct it like donating the dApp to a particular crowd fund company that we created. So after the crowd fund dApp, we also built a blog app in which we directed the functions. We also binded the connection with the Dash.js, and most of the frontend interactions were also done with So in the blog app, we had functions like creating a blog post, which you can create a blog post and post your blog post. We also have functions like tipping a post. So if someone creates- the user creates a blog post, then you as a user of that particular blog, you can come in and tip the person who tipped that. So these are just things that we did in the front end week.

3:35 D: So week 9, we went in depth into fully integrating a contract. So we actually had a CrowdFund contract already made, so we just wanted to integrate and build a dApp frontend for that contract. So it was quite intense. We were introduced to Ethers.js as a library. We used Ethers.js for the integration, connecting so many things, to do some processing, to pop up ad campaigns, and quite a number of things. We used React as our framework actually, and It was intense, honestly. I had quite a lot of challenges because I'm not so much into frontend. Not like I'm into backend at all, but I'm not so much into frontend, so it was quite difficult for me. But I think I was able to scale somehow, somehow. So, um, we built on what we learned the last week, which was with Gabe, where we were introduced to Web3 frontend. So the class was interesting. We started with integrating the CrowdFund app with CrowdFund contracts with our frontend. So we built the UI using Tailwind and HTML and Tailwind, as we all know, and we started integrating it with JavaScript. We used React hooks such as useState, useEffect, useContext.

4:57 E: history users, and it was really an interesting week because we learned about Redux Multi-Call. We learned about promise.all and the difference and the advantage of Redux Multi-Call over promise.all. We also worked on a task where we were to integrate a smart contract that serves as a blog content web app where there's smart contracts where people can come and create a profile, create a blog content, and people can read through their content and give them a tip of an ERC-20 token. So I integrated the smart contract with React, with Tailwind, used GitHub Ethereum.js because the mentor walked us through the Ethereum documentation and the basic methods that we need in the Ethereum documentation to integrate smart contracts. He walked everyone through how to connect with our MetaMask, Etherscan Connect, and Parabellum Connect. He taught us about how to switch chains, taught us how to update the state of our app based on EVM events. It also taught us about how to like use different chains to like- when the user is connected to a chain that was supported by the contract, how to like prompt the user to switch to a different network. So that was what we learned a lot about. It was an interesting week and I look forward to learning more about Web3 frontend because it's something I want to deep dive into and know much about it. Thank you very much.

6:51 A: Web3 Bridge Cohort 9, sponsored by Base.

More from this hub

Something wrong, or a video you want off this page? Write to wethem.xyz@gmail.com and it is fixed or taken down within 48 hours.