The One Question bounty closes Thursday 10 December.

Join in
We Them Media logo We Them Media Support us

Web3bridge Students (Cohort XI) Share What They’ve Learned: Multicall

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

Cohort XI students explain Multicall, which batches several function calls to the blockchain into one. They say it improves user experience because people approve once instead of signing every transaction, helps with scaling, and lowers gas costs. They also name simple, dynamic and batch Multicall as the three main types.

Not by We Them Media Channel: Web3Bridge. Published Thursday 26 December 2024.

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:00 A: This video is proudly brought to you by Breakthrough Bridge with LIX, our official sponsors for Cohort 11.

0:08 B: In this video, we will be talking about multi-call.

0:16 C: Multi-call is the process of batching several functions into a particular function to make calls onto the blockchain. Let's say, for example, you need to interact with the blockchain like multiple times, But then Multicall makes it possible for you to make those multiple calls into one particular call or one particular function. It's very useful in situations where you need to interact with the blockchain multiple times, but then you use Multicall to make that call once and execute those particular functions.

0:47 B: One of the reasons why Multicall it is necessary is it improves user experience. So if you have used, uh, a decentralized application before, you must have seen that you have to sign every transaction yourself, which is very necessary and important for security and some other reasons. But with Multicall, instead of you having to like sign every single transaction, approving everything at once, it could be batched together and a lot of things can be sent at once and then it's approved and then you just have to just approve once for a lot of things to happen. It improves the user experience for you. And then for scalability, like as the need for interaction increases on the blockchain, it helps in scalability. And Multicall helps for gas optimization, so it reduces the number of- the amount of gas that you pay, because for each channel you would have paid different gas for each transaction, but now you're just paying one gas for the batch transaction. You can't actually like overemphasize the importance of multi-core.

1:55 D: We have 3 main types of multi-core. We have the simple multi-core, we have the dynamic multi-core, and the batch multi-core. And, um, as my colleague has spoken earlier, they majorly focus on the batch Multicall. So basically, uh, multicall makes it, makes it, makes it easier to like call a particular function multiple times in our smart contracts, you know. Um, if like we want to like get some data like at once, multicall makes it easier instead of signing that particular transaction every time, calling that particular function multiple times. So multicall batch the transaction altogether and then return the response to us at once. So this would have been possible without um, the multi-core contract, which was founded by MakerDAO. So basically, multi-core is very, very important in writing of smart contracts, in writing of our dApps. Multi-core is very, very, very, very much important. It makes it easier for a developer and as well the user experience, because if you decide to sign a particular transaction multiple times, it It's an overkill for the user, which might like- they might lose interest in that particular dApp. So with Multicall, we can like batch a particular transaction multiple times.

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.