In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "what is the structure of ERC20 token data set". In daily operation, I believe that many people have doubts about the structure of ERC20 token data set. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the question of "what is the structure of ERC20 token data set?" Next, please follow the editor to study!
The Erc20Tokens dataset contains the description data lists and icons of more than 1000 mainstream Ethernet Square ERC20 tokens, which can be used in the development of block chain applications such as wallets, and support the use of Java, Python, Php, NodeJs, C# and other development languages to query the data related to mainstream ERC20 tokens.
1. Overview of dataset
The following is an icon representation of some tokens in the ERC20 token dataset:
The current version of the Erc20Tokens dataset is 1.0.0. For a list of main files, please see: http://sc.hubwiz.com/codebag/erc20-tokens-dataset/
2. Description of dataset structure
The master file of the dataset is erc20-tokens.json, where each ERC20 token contains the following description information:
Name: token name, for example: Dai
Symbol: token symbol, for example: DAI
Address: token deployment address, for example: 0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359
For example, the data of Dai and Peerguess tokens in the erc20-tokens.json file:
[{"name": "Dai"symbol": "dai", "address": "0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359",}. {"name": "Peerguess"symbol": "guess", "address": "0xbdcfbf5c4d91abc0bc9709c7286d00063c0e6f22",}.]
The icon of the ERC20 token is saved in the icons directory, and the file name is the symbol of the token. For example:
Erc20-token-dataset |-icons |-dai.png # Dai token icon |-guess.png # Peerguess token icon |-.3. Use the dataset in the program
You can read datasets using common development languages such as Java, Python, PHP, C #, JavaScript, and so on.
The following code uses Php to display the contract deployment address for all ERC20 tokens in the dataset:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.