Position: Home page » Ethereum » Ethereum open API

Ethereum open API

Publish: 2021-05-15 22:05:20
1. Ethereum is a new and open blockchain platform, which allows anyone to build and use decentralized applications running through blockchain technology in the platform
just like bitcoin, Ethereum is neither controlled nor owned by anyone - it is an open source project created by many people around the world. Different from bitcoin protocol, Ethereum's design is very flexible and adaptable. It is very easy to create new applications on the Ethereum platform. With the release of homestead, anyone can use the applications on this platform safely
Ethereum is a programmable blockchain. It does not give users a series of preset operations, but allows users to create complex operations according to their own wishes. In this way, it can be used as a platform for many types of decentralized blockchain applications
in a narrow sense, Ethereum refers to a series of protocols that define a decentralized application platform. The core of Ethereum is Ethereum virtual machine (EVM), which can encode any complex algorithm. In computer science terminology, Ethereum is "Turing complete.". Developers can use the existing JavaScript and python as the model of other friendly programming languages to create applications running on the Ethereum simulator.
2. Eth interface refers to the interface, is the most widely used LAN communication mode, but also a protocol. Ethernet interface is the port of network data connection
each version of Ethernet has a maximum cable length limit (that is, the length without amplification). Signals within this range can propagate normally, and signals beyond this range cannot propagate
in order to allow the construction of a larger network, repeaters can be used to connect multiple cables. Repeater is a physical layer device, which can receive, amplify and retransmit signals in two directions
extended data
several common Ethernet interface types
1. SC optical fiber interface
SC optical fiber interface has been applied in the era of 100base TX Ethernet, so it was called 100base FX at that time (F is the abbreviation of optical fiber). However, at that time, because the performance was not more prominent than twisted pair, but the cost was higher, so it was not popularized. Now the instry vigorously promotes gigabit network, and SC optical fiber interface is re valued
2. RJ-45 interface
this kind of interface is the most common network equipment interface, commonly known as "crystal head", and the professional term is RJ-45 connector, which belongs to the type of twisted pair Ethernet interface. RJ-45 plug can only be inserted along the fixed direction, and a plastic spring piece is set to be stuck with RJ-45 slot to prevent it from falling off
3. FDDI interface
FDDI has the highest transmission rate among the mature LAN technologies. It has the characteristics of timed token protocol, supports a variety of topologies, and its transmission medium is optical fiber. Fiber distributed data interface (FDDI) is a set of protocols developed by American National Organization for Standardization (ANSI) to transmit digital signals on optical cables
reference source: Network Ethernet interface
3. curl方法,file_get_contents,
4.

If you want to query the transaction records on the main network, you can use Etherscan. However, if you build your own private chain, how should you query the transaction records

the answer is that you need to listen to the logs on the chain, save them in the database, and then query them in the database. For example:

< pre t = "code" L = "Java" > varaddr = & quot& quot;< br />varfilter=web3.eth.filter({fromB lock:0 ,toBlock:' latest', address:addr });< br />filter.get(function(err,transactions){
transactions.forEach(function(tx){
vartxInfo=web3.eth.getTransaction(tx.transactionHash);
/ / at this time, the transaction information txinfo can be stored in the database
})< br />});

Web3. Eth. Filter() is used to monitor the log on the chain, and Web3. Eth. Gettransaction() is used to extract the information of the specified transaction. Once the transaction information is obtained, it can be stored in the database for query

recommend a practical introction, you can see: Ethereum tutorial

5. Through curl to simulate, and then get the data, and use it in JSON format
6.

Take a blockchain API tool that I am currently using as an example

previously, I occasionally found bctools , which can quickly and conveniently test and verify BTC and EOS blockchain API. At the same time, these API interface test network and main network can be verified on bctools ; If you are interested, you can go http://bctools.io Use it

at present, Apis on bctools seem to have the following types:

7.

Ethereum specifies the JSON RPC API application development interface that each node needs to implement. This interface is transport independent. Applications can use this interface protocol to operate Ethereum nodes through HTTP, websocket or IPC and other communication mechanisms:

8. No, these three are not compatible with each other and each has its own purpose
choose your own direction
the cost of developing an interface is not so high. Except for EOS, there is not much data to be chained, which is basically completed locally. As a top blockchain technology developer in China, weisanyun is still a good technology developer.
9.

After reading the answers of other respondents, I really want to laugh. It's not terrible to pretend that I don't understand. What's terrible is to answer blindly. There's something wrong with this question. The burst of 5.7 billion yuan has nothing to do with a drop of 10 cents. It can even be said that its disappearance is e to the sharp rise. So where is the decline? If bitcoin really falls, it will not be 5.7 billion capital washed away, it will be tens of billions, hundreds of billions of capital evaporated, those who talk about trends and development, please study the capital and stock market well, and by the way, please search for the meaning of the word "burst", no culture is too terrible

in addition, I would like to make a digression. Recently, a hot topic is fund. In 2021, the annual meeting is more or less a national fund. In 2020, the fund manager is still a good active fund. Even if the position is not changed, the annual yield will reach at least 40%, but this does not mean that this year is still OK, It's not that everyone can make money playing with funds. it's similar to the nature of stocks. Index funds, stock funds and even active funds are risky. I think many people say that they should get on the bus quickly. They are really worried about your funds

of course, 2021 may be a bull market. It is estimated that the whole network has spread, many people are rubbing their hands to make a lot of money, but I can't do much. I just advise you not to go with the flow too much, don't be greedy, and don't think you are. That's all. Good luck

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