Position: Home page » Ethereum » How to upload data to Ethereum

How to upload data to Ethereum

Publish: 2021-05-27 08:11:33
1. Eth is a kind of digital token of Ethereum, which is regarded as "bitcoin version 2.0". It adopts the blockchain technology "Ethereum", which is different from bitcoin. It is an open-source public blockchain platform with intelligent contract results, and a resonance network composed of tens of thousands of computers around the world. Developers need to pay eth to support the application. Like other digital currencies, ether currency can be bought and sold on the trading platform

warm tips: the above explanations are for reference only, without any suggestions. There are risks in entering the market, so investment should be cautious. Before making any investment, you should make sure that you fully understand the nature of the investment and the risks involved in the proct. After a detailed understanding and careful evaluation of the proct, you can judge whether to participate in the transaction
response time: December 2, 2020. Please refer to the official website of Ping An Bank for the latest business changes
[Ping An Bank I know] want to know more? Come and see "Ping An Bank I know" ~
https://b.pingan.com.cn/paim/iknow/index.html
2.

what is Ethereum:

Ethereum is an innovation based on the application of technologies and concepts in bitcoin to computers. Ethereum itself imitates a lot of bitcoin technology to maintain the computer platform. Blockchain technology is one of them
Ethereum platform can safely run any program users want

advantages of Ethereum over other competitive currencies before Ethereum appeared, some digital currencies imitated bitcoin. However, these projects have their own shortcomings, they can only support one or several specific applications at the same time< However, the reason why Ethereum can surpass the limitations of these projects in the past is because of the core idea of Ethereum

what Ethereum wants to implement is a blockchain protocol with built-in programming language. Since it supports programming language, in theory, any blockchain application can be defined with this language, and then run on Ethereum's blockchain protocol as an application

The design of Ethereum is very flexible and adaptable

Ethereum target sets the advantages of blockchain technology, in order to add the advantages of blockchain, such as decentralization, openness and security, to almost all computing fields

blockchain applications of Ethereum

Ethereum has many blockchain applications, such as digital applications of gold and stocks, financial derivatives applications, DNS and digital authentication, etc

Ethereum has achieved more than 100 blockchain applications by many start-ups

Ethereum has also been closely watched by some financial institutions, banking consortia (such as R3), as well as large companies like Samsung, Deloitte, RWE and IBM. As a result, a number of blockchain applications such as simplified and automated financial transactions, merchant loyalty index tracking, and gift cards designed to achieve decentralization of electronic transactions have emerged

the relationship between Ethereum and blockchain:

Ethereum is a programmable blockchain

Ethereum does not give users a series of preset operations (such as bitcoin transaction), but allows users to create complex operations according to their own wishes

in this way, Ethereum can be used as a platform for various types of decentralized blockchain applications, including but not limited to cryptocurrency

like other blockchains, Ethereum also has a peer-to-peer network protocol. Ethereum blockchain database is maintained and updated by many nodes connected to the network. Each network node runs the Ethereum simulator and executes the same instructions. Therefore, people sometimes call Ethereum "world computer"

3. At the top of Ethereum is DAPP. It exchanges with the smart contract layer through Web3. JS. All smart contracts run on EVM (Ethereum virtual machine) and use RPC calls. Below EVM and RPC are the four core contents of Ethereum, including: blockchain, consensus algorithm, mining and network layer. Except DAPP, all other parts are in the Ethereum client. The most popular Ethereum client is geth (go Ethereum)
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. Blockchain technology has a natural advantage in the realization of smart contracts
bitcoin, Ruitai coin, Laite coin, Ethereum and other digital cryptocurrencies all use blockchain technology
blockchain is an important concept of bitcoin, which is essentially a decentralized database. At the same time, as the underlying technology of bitcoin, it is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain is a series of data blocks generated by cryptography, each of which contains the information of a bitcoin network transaction
7.

The ETH of Huawei 5700 switch can be used as the management port. The switch operating system is lost, but I can upload the operating system files through the ETH port, which is similar to the function of the console port

Huawei switch is developed from network bridge and belongs to the second layer of OSI, namely data link layer equipment. It addresses according to MAC address and selects route through station table. The establishment and maintenance of station table is automatically carried out by Cisco Cisco switch

Huawei has set up a number of research institutes in the United States, Germany, Sweden, Russia, India, Beijing, Shanghai and Nanjing of China, and nearly half of its employees are engaged in the research and development of procts and solutions

Huawei is a leading telecom solution provider in the world. We have dedicated staff and strong R & D capabilities to quickly respond to customer needs, provide end-to-end customized procts, solutions and services, and spare no effort to help customers succeed in business. Through our joint efforts, we constantly enrich people's communication and life

Huawei procts and solutions cover mobile (LTE / HSPA / WCDMA / edge / GPRS / GSM, CDMA2000 1xEV-DO / CDMA2000 1X, TD-SCDMA and WiMAX)

core network (IMS, mobile softswitch, NGN), network (FTTx, xDSL, optical network, router and LAN switch), telecom value-added services (in, mobile data service, boss) and terminal (UMTS / CDMA)< br />

8. According to the meaning of the% sign, what's the percentage in 100 points?
if it's 1%, does it mean that the handling charge of 100 yuan is 1 yuan
9.

Transaction

the behavior of blockchain transaction follows different rule sets

< UL >
  • e to the distributed and unlicensed nature of public blockchain, anyone can sign the transaction and broadcast it to the network

  • according to different blockchains, traders will be charged a certain transaction fee, which depends on the needs of users rather than the value of assets in the transaction

  • blockchain transactions do not require any central authority verification. It only needs to use the digital signature algorithm (DSA) corresponding to its blockchain to sign it with the private key

  • once a transaction is signed, broadcast to the network and mined into a successful block in the network, the transaction cannot be recovered

  • Ethereum transaction structure

  • Ethereum transaction data structure: transaction 0.1 eth

    {
    & 39; nonce':&# 39; 0x00', // Decimal: 0
    & 39; gasLimit': &# 39; 0x5208', // Decimal system: 21000
    & 39; gasPrice': &# 39; 0x3b9aca00', // Decimal system: 10000000000
    & 39; to': &# 39;&# 39; ,// Sending address
    & 39; value': &# 39; 0x16345785d8a0000',// 100000000000000000 ,10^17
    ' data': &# 39; 0x', // Decimal representation of null data; chainId': 1 / / blockchain network ID
    }

    these data have nothing to do with the transaction content, but have something to do with the execution mode of the transaction. This is because when you send a transaction in Ethereum, you must define some other parameters to tell miners how to handle your transaction. Transaction data structure has two attribute designs & quot; gas": & quot; gasPrice",& quot; gasLimit"

  • " gasPrice": The unit is Gwei, which is 1 / 1000 eth, indicating the transaction cost

  • & quot; gasLimit": The maximum gas charge allowed for the transaction

  • these two values are usually filled in automatically by the wallet provider

    in addition, you need to specify which Ethereum network to execute the transaction (chainid): 1 represents the Ethereum main network

    ring development, tests are usually carried out locally and on the test network, and transactions are carried out through the test eth issued by the test network to avoid economic losses. After the test, enter the main network transaction

    in addition, if you need to submit some other data, you can use & quot; data" And & quot; nonce" Attach as part of a transaction

    a nonce (number used only once) is the value used by Ethereum to track transactions, which helps to avoid double spending and replay attacks in the network

  • Ethereum transaction signature

    Ethereum transaction involves ECDSA algorithm. Taking JavaScript code as an example, the popular ethers.js is used to call ECDSA algorithm for transaction signature

  • const ethers = require(' ethers')
  • const signer = new ethers.Wallet(' Wallet address

  • signer.signTransaction({

  • ' nonce':&# 39; 0x00', // Decimal: 0

  • & 39; gasLimit': &# 39; 0x5208', // Decimal: 21000

  • & 39; gasPrice': &# 39; 0x3b9aca00', // Decimal 10000000000

  • & 39; to': &# 39;&# 39; ,// Sending address

  • & 39; value': &# 39; 0x16345785d8a0000',// 100000000000000000 ,10^17

  • ' data': &# 39; 0x', // Decimal representation of null data

  • & 39; chainId': 1 / / blockchain network ID

  • })

  • . Then (console. Log)
  • you can use the online application composer to deliver signed transactions to Ethereum. This is known as "offline signature.". Offline signatures are particularly useful for applications such as status channels, which are smart contracts that track the balance between two accounts and transfer funds after a signed transaction is submitted. Offline signature is also a common practice in dexes

    you can also use online wallet to create signature verification and broadcast through Ethereum account

    with Portis, you can sign a transaction to interact with the gas station network (GSN)

    < / UL >

    the Xueshuo innovation blockchain Technology Workstation of Lianqiao ecation online is the only approved "blockchain Technology Specialty" pilot workstation of "smart learning workshop 2020 Xueshuo innovation workstation" launched by the school planning, construction and development center of the Ministry of ecation of China. Based on providing diversified growth paths for students, the professional station promotes the reform of the training mode of the combination of professional degree research, proction, learning and research, and constructs the applied and compound talent training system

    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