If Ethereum forks, will NFT also "fork"?

If Ethereum forks, will NFT also "fork"?

The process of Ethereum PoS to PoW will affect the interests of miners. As the merger date is approaching, many topics about forks have emerged in the community. One topic has attracted the attention of Odaily Planet Daily, that is: Ethereum forks may lead to reentry attacks, putting users at risk of losing NFTs .

The user in the picture above pointed out that if the user does nothing, his NFT may be lost due to a replay attack. In response to this, different opinions also appeared in the comment area, such as that if the user does nothing, he can protect his assets.

Which of the two views is right or wrong? If a fork occurs, will the user's NFT be at risk? How should one protect his assets? Odaily Planet Daily will answer the above questions by analyzing the causes.

Reentrancy attacks and EIP-155

Let us first review two knowledge points, one is the reentry attack and the other is EIP-155.

In blockchain, a reentry attack specifically refers to a situation in which, during a network hard fork, a transaction signed by a user on the original chain can be copied by the user or others without permission on other forked chains to obtain more assets.

For example, Xiao Ming has several CryptoPunks on a PoW chain. After the PoW chain forks into a PoS chain, Xiao Ming will have the same number of CryptoPunks on both chains. At this time, Xiao Ming signed a transaction on the PoW chain to sell several CryptoPunks. In theory, this transaction can be copied again on the B chain without Xiao Ming's permission. If Xiao Ming copied this transaction himself, Xiao Ming would get an extra profit from selling NFTs (which also cheated the buyer by "adding more" in disguise); if the transaction was copied by others, Xiao Ming would lose his assets on the PoS chain in vain.

EIP-155 is a protocol used to prevent reentrancy attacks. Simply put, if different forked networks and test networks follow the protocol consensus and set a unique [CHAIN_ID] for themselves, reentrancy attacks can be avoided.

Who protects users? How can users protect themselves?

After understanding the principles of reentrancy attacks and EIP-155, we have made it clear what we should do if a fork occurs after the Ethereum merger.

First of all, we need to collect some information: does Ethereum's forked chain follow the EIP-155 protocol?

If the forked chain follows the EIP-155 protocol (depending on the changes to the code made by the fork leader), then the user's transactions on different blockchains are not replicable and the user does not need to do anything .

If the forked chain does not follow the EIP-155 protocol (not very particular), then reentrancy attacks are feasible, and any transaction signed by the user may be copied on other forked chains. If you want to maximize your benefits, you should copy each transaction on other chains (preferably through automated contracts); if you choose to embrace (genuine) Ethereum, do not sign any transactions on forked chains.

<<:  Bitmain donates $1 million to Hong Kong Polytechnic University to study the integration of Bitcoin and carbon neutrality

>>:  The Ethereum merger is imminent, and fork stakeholders are gathering. What should ordinary users do?

Recommend

What kind of face is easy to lose money

Whether a person is prone to losing money can be ...

A person is used to going out without meeting people.

As society becomes more and more advanced, the re...

Teach you how to tell who are villains from their faces

We will meet all kinds of people in our lives, am...

What does it mean when a woman has a mole on her upper right eyelid?

Many people have moles on their faces, and differ...

Just eat something to celebrate the New Year

Although New Year's Eve comes once a year and...

Bitcoin.com preaches Bitcoin, and its founder sells out his Bitcoin

On the evening of December 19, Bitcoin suddenly f...

What does a mole in the ear mean? Does it mean your health is vulnerable?

Different moles represent different meanings, and...

The face of a woman who can marry a rich husband

1. If her complexion is radiant, she is not far f...

Big changes beyond Bitcoin

Blockchain technology will quickly spread in the ...