Ethereum ERC20 Transaction (i)

Source: Internet
Author: User

Using Ethereum Smart Contract hairstyle tokens (tokens) has become a shortcut to the District (BI) block (quan) chain, below we have two times to describe the use of ERC20 standards, create tokens, send tokens, to obtain the technical details of tokens transaction. 1. About the ERC20 standard.

Ethereum provides the use of solidity programming, deployed in the Ethereum block to achieve the working mode of the smart contract, which can be based on the needs of different projects, the writing of different intelligent contracts. Of course, the smart contract is a lot of security issues, many of the earlier incidents of hacking, and the vulnerability of smart contracts. ERC20 is an open source, long-proven, secure, smart contract standard that allows users to hairstyle their digital currency on the main chain of Ethereum. 2. Deploy ERC20 tokens on the mist wallet.

Download Mist Wallet, do not need to synchronize the block, but need an ethereum account, and the account has at least 1ETH balance.

Click the Deploy new contracts in the upper right contracts, select the account that meets the above requirements, and then click Build a token at the bottom right.

In the popup page, select Code Copy, paste into the source window, wait for the right side to load, click the dropdown box to select Token ERC20.

Then, the following is filled in the total circulation, the name of the token, tokens and other tokens information.

Finally, click on the Deploy button below and wait for the contract to be broadcast, and the absenteeism will be written into chunks by mining the contract. 3. Observe a token in your wallet

Each ethereum address can hold the ETH and hold any tokens, and you will need to add watch tokens if you want to see where a certain token is held at an address.

At the bottom of the contracts, click Watch token and fill in the pop-up box with information about the token's address.

After adding the success, when the block synchronization is complete, click any address, you can view the address of the ETH and the corresponding token number.

because this article explores Ethereum-related development work, the wallets used are all-node wallets and other light wallets (which do not need to synchronize all chunk data) to view the ETH balance and the token balance.

After that, you can send tokens to any address according to the normal sending process. Reference Documents

ERC20 Official standards

Smart Contract Rookie Tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.