Position: Home page » Ethereum » Explanation of Ethereum erc20 principle

Explanation of Ethereum erc20 principle

Publish: 2021-04-20 00:12:18
1.

in order to create erc20 token, you need to write down the following contents

  1. token name
  2. token symbol
  3. token decimal
  4. number of tokens is in circulation
  5. Contract
  6. code verification source code
    1. in addition to erc20, there are erc20, erc721, erc223, erc621, erc827, But for erc721, by the way, erc721 is a protocol mainly used for blockchain games. The blockchain games you often see are basically based on erc721

2. Ethereum is an open source public blockchain platform with smart contract function. It provides decentralized virtual machine (Ethereum virtual machine) to process point-to-point contract through its special cryptocurrency ether (also known as "Ethereum"). The concept of Ethereum was first proposed by vitalik buterin, a programmer, from 2013 to 2014, inspired by bitcoin, to the effect of "next generation cryptocurrency and decentralized application platform". It began to develop through ICO crowdfunding in 2014
Ethereum is not only a database, it also allows you to run programs in the trusted environment of the blockchain. Ethereum has built a virtual machine named EVM (Ethereum virtual machine) on the blockchain. EVM allows code to be verified and executed on the blockchain, providing guarantee for code to run in the same way on everyone's machine. These codes are included in the smart contract. In addition to tracking the account balance, Ethereum uses the same method to save the EVM status on the blockchain. All nodes process the smart contract to verify the integrity of the contract itself and its output.
3. After giving birth to the baby, the body is more empty at the beginning. It is suggested to adjust after a while. Generally, it will be two or three months after returning to the previous state. The center of confinement is relatively better
4. The ideal state cannot be modified, and the blockchain can only be added, not modified or deleted. Although Ethereum can modify and delete account data, it is only at the state machine level. It is a state transition through transaction or event. The previous state will not be modified or deleted
if it is POW algorithm: such as bitcoin. Users tend to synchronize the new chain with the best computing power. And each trade has a delay of six blocks. So every time we make a fake block, we usually need to make all the POWs of the first six blocks at the same time, and the accumulated POWs of these six blocks need to be higher than those of the real main chain (the main chain is jointly maintained by honest users) to ensure success every time, so we need to master 51 computing power
5. No, I can't. let's switch to other ways
6. Before BTD was connected to the public chain, the wallet address was also the address of Ethereum

later, when BTD was connected to the public chain, it used its own wallet address
now we see that the
erc20 address in the binding address doesn't need to be taken care of, just bind the BTD's wallet address
7. Token is token, virtual token, erc20 is token standard
with Ethereum officially confirming erc-721 as one of the new token standards, many people are asking what erc-721 is recently. There are many technical posts on the Internet to analyze the code differences between erc-721 and erc-20. They are very unfriendly to Xiao and leek. With the attitude of sharing knowledge, I will try to explain the most significant differences between erc-721 and erc-20 with intuitive words
erc-20 standard token:
1
2. It can be subdivided into N parts (n = 10 ^ 18)
conclusion: similar to the currency in real life, it can perform all monetary functions. The application cases are similar to legal currency and virtual currency
erc-721 standard token:
1
2. The minimum unit is 1 and cannot be subdivided
summary: non homogeneity exists widely in life, such as art, pets, handicrafts, custom-made items, etc., and can even be used to mark students in schools, doctors and patients in hospitals, etc. The application scenarios are very wide
the above description is relatively concise. Taking a look at specific projects can help you better understand erc-721 standard. At present, the popular projects using erc-721 standard can take a look at
- cryptokitties (cryptokitties | collect and breed digital cats!)
this is the "ethereal cat" mentioned before. It's very basic and interesting. Each cat is a token with unique attributes. The more unique the attributes, the higher the value of the cat. It's very popular, but its development potential is limited
- 0xcert (0xcert - supporting uniformity.)
this project is a recent project of personal interest, which is close to life and easy to implement. Erc-721 token is used to mark real-life artwork or a unique item, and record the basic attributes, characteristics, value, previous owners, etc. It is very helpful in combating counterfeits and piracy. It may also be used in the second-hand market, exchange of valuables and other scenarios in the future
personally, I am very optimistic about erc-721 standard. After the whole blockchain instry calms down from the carnival, the implementation of the project has become the first consideration for developers, and erc-721 is very suitable for connecting the blockchain with the real world.
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750