The One Question bounty closes Thursday 10 December.

Join in
We Them Media logo We Them Media Support us

Our Students Explain Mainnet Forking: Mirroring The Live Blockchain || Cohort X

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

Cohort X students explain mainnet forking in their own words. One compares it to filling in a copy of a loan form before the real one, and others describe it as a local replica of the live blockchain where developers can test deployed contracts for risks cheaply without changing anything on mainnet.

Not by We Them Media Channel: Web3Bridge. Published Monday 29 April 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:05 A: Have you ever tried to apply for a loan application or a school student loan and you are wondering, um, the information that you have to write on it, they need to be precise and straight to the point, and you only get to do this application once? So what happens is you might download the application form and make a copy of it. And then in the copy, you make sure you write the precise and detailed information that you need, and then you transfer all that information in your main application form. So this whole analogy, it's what main-takings is all about.

0:54 B: Mainnet forking is a technique using blockchain to create a local replica of whatever is happening on the mainnet.

1:03 C: It's just basically a concept that allows developers to interact with already deployed contracts, to understand the vulnerabilities and risks before deploying to the mainnet.

1:15 D: Basically to test deployed contracts, to actually check for risks. or vulnerability before we can actually deploy to the mainnet.

1:25 B: We were able to run more like a simulation of a live contract on the mainnet where we get to impersonate someone who is on the mainnet, a real-time user on the mainnet. And I think interestingly, it's a form of interactions where we get to test our use cases within our contract before we get deployed to the mainnet. As the name implies, they actually just fork the mainnet, use that as a testing ground for their smart contracts, and give a kind of live- they create a kind of live environment testing for whatever they want to do so they see how it is, but actually not affecting the mainnet.

2:04 E: Let's say you have a contract that you want to test before deploying it to the mainnet, and the testnet doesn't have all the features that allows you to test them efficiently. So what mainnet forking does is it gives you a simulation of the mainnet without actually making any permanent change to the mainnet, hence making it very cheap and effective to test your contracts before finally pushing it to the mainnet.

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.