Ethereum public key calculation address
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
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"
Blockchain blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism and cryptocurrency algorithm. Is a shared distributed ledger in which transactions are permanently recorded through additional blocks
2, block - block
in the bitcoin network, data will be permanently recorded in the form of files, which we call blocks. A block is a set of records for some or all of the latest bitcoin transactions and is not recorded by other previous blocks
3. Node -- a of the ledger operated by the participants of the blockchain network
Decentralization is a phenomenon or structure, which can only appear or exist in a system with many nodes or in a group with many indivials. The influence between nodes will form nonlinear causality through the network5. Consensus mechanism
consensus mechanism is to complete the verification and confirmation of the transaction in a very short time through the voting of special nodes; For a transaction, if several nodes with unrelated interests can reach a consensus, we can think that the whole network can also reach a consensus
6. POW -- proof of work refers to how much money you get depends on the amount of work you contribute to mining. The better the performance of the computer, the more money you will be given
In POS mode, your "mining" income is directly proportional to your currency age, and has nothing to do with the computing performance of the computer8. Smart contract
smart contract is a kind of computer protocol which aims to spread, verify or execute the contract in an information way. Smart contracts allow trusted transactions without a third party, which are traceable and irreversible
9, time stamp
time stamp refers to the string or encoding information used to identify the recorded time and date. The international standard is ISO 8601
Turing completion refers to the ability of a machine to perform calculations that any other programmable computer can perform DAPP decentralized application is an open source application that runs automatically, stores its data on the blockchain, motivates it in the form of cryptocurrency token, and operates with protocols showing valuable proof Dao, a decentralized autonomous organization, can be regarded as a company that operates without any human intervention and gives all forms of control to a set of unbreakable business rules13. Privatekey - private key
a private key is a string of data that allows you to access a token in a specific wallet. As cryptocurrency, they are hidden except for the owner of the address
14. Publickey -- public key
is paired with private key. The public key can calculate the address of the currency, so it can be used as a certificate to own the address of the currency
15, miner
try to create a block and add it to the computing device or software on the blockchain. In a blockchain network, when a new effective block is created, the system will automatically give the block creator (miner) a certain number of tokens as a reward
16. The mine pool is a fully automatic mining platform, which enables mining machines to contribute their computing power to mine together to create blocks, obtain block rewards, and distribute profits according to the proportion of computing power contribution (that is, mining machines access the mine pool - provide computing power - obtain income)
17, public chain
fully open blockchain, refers to anyone can read, anyone can send transactions and transactions can be effectively confirmed, people all over the world can participate in system maintenance, anyone can read and write data through transactions or mining
18. Private chain
write permission is only for the blockchain of a certain organization or a specific few objects. Read permission can be open to the outside world or restricted to any extent
19, alliance chain
consensus mechanism is a blockchain jointly controlled by several designated institutions
20, side chain
wedged side chains technology, which will realize the transfer of bitcoin and other digital assets between multiple blockchains, which means that users can access the new cryptocurrency system when they use their existing assets
21, cross chain technology
cross chain technology can be understood as a bridge connecting the blockchains, and its main application is to realize atom transaction, asset conversion, information exchange within the blockchain, or solve Oracle problems among the blockchains
22. The hard fork
blockchain has permanent divergence. After the release of the new consensus rules, some nodes that have not been upgraded cannot verify the blocks proced by the upgraded nodes, and usually the hard fork will occur
23, soft forking
when the new consensus rules are released, nodes that have not been upgraded will proce illegal blocks because they do not know the new consensus rules, which will lead to temporary forking
24, hash -- hash value
generally translated as "hash", but also directly transliterated as "hash". In short, it is a function that compresses messages of any length to a message digest of a fixed length
25, main chain
the word "main chain" comes from the main network (, relative to the test network), that is, the officially online and independent blockchain network
for those who don't know the "jargon" in the currency circle, let's learn it as soon as possible:
1. What is legal currency
legal currency is legal tender, which is issued by the state and the government. It is only guaranteed by the government credit, such as RMB, US dollar and so on
2. What is a token
token, usually translated into token. Token is one of the important concepts in blockchain. Its more well-known name is "token". However, in the view of professional "chain circle" people, its more accurate translation is "token", which represents a proof of rights and interests on the blockchain, rather than currency
There are three elements oftoken
one is digital proof of rights and interests, which must be in the form of digital certificate of rights and interests, representing a right, an inherent and intrinsic value
The second is cryptocurrency, whose authenticity, tamper proof and privacy protection are guaranteed by cryptocurrency Third, it can flow in a network, so it can be verified anytime and anywhere3. What is warehouse building
the establishment of a position in a currency circle is also called opening a position, which refers to a trader's new purchase or sale of a certain amount of digital currency
What is Sohasuoha refers to investing all the principal
What is airdrop
airdrop is a very popular marketing method of cryptocurrency. In order to let potential investors and cryptocurrency enthusiasts get token related information, token teams often air drop tokens
6. What is lockup
position locking generally refers to investors opening a new position opposite to their original position when the market moves in the opposite direction after the sale and purchase contract, which is also called lock, lock order, or even butterfly double flying
What is candy
doughnut candy is a kind of free digital currency issued to users when all kinds of digital currencies are just issued in ICO. It is a kind of momentum and publicity of the project itself by the issuers of virtual currency projects
What is breakingbreaking refers to falling below, and issuing refers to the issuing price of digital currency. Broken currency circle refers to the price of a digital currency falling below the issue price
What is private placementprivate placement is a way to invest in cryptocurrency projects, and it is also the best way for cryptocurrency project founders to raise funds for platform operation
What do you think of the K-line diagram
K-line chart is also called candle chart, Japanese line, yin-yang line, bar line, red and black line, etc., commonly referred to as "K-line". It is based on the opening price, the highest price, the lowest price and the closing price of each analysis cycle
What is hedging
General hedging refers to two transactions which are related to the market, opposite in direction, equal in quantity and balanced in profit and loss. In the futures contract market, buy the same number of positions with different directions. When the direction is determined, close out the positions in the opposite direction and keep the positive direction to make profits
What is the positionposition is a kind of market agreement, which promises the initial position of the sale and purchase contract, and the buyer is long and in the expected position; The selling contract is short and in the expected position
What are the advantagesgood news: refers to the news that the currency gets the attention of the mainstream media, or a breakthrough in the application of a technology, which is concive to stimulating the price rise
14. What is bad news
bad news: news that causes the price of bitcoin to fall, such as technical problems of bitcoin, central bank's crackdown, etc
What is reboundthe phenomenon of currency price rising e to rapid decline in the downward trend. The recovery is less than the decline
What is leverage
leverage trading, as the name suggests, is to use small amount of funds to invest several times the original amount, in order to obtain multiple returns or losses relative to the fluctuations of the investment object
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 />}); Pre >
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
many new users believe that the sole purpose of mining is to generate ether in a way that does not require a central issuer (see our guide "what is ether?"). It's true. The token of Ethereum is proced in the process of mining, with a mining rate of 5 Ethereum coins per piece. But mining is at least as important. Usually, banks are responsible for keeping accurate records of transactions. They make sure that money is not created out of thin air and that users don't cheat and spend money many times. However, blockchain introces a new way to keep records, the whole network instead of intermediary, to verify transactions and add them to the public ledger
Ethereum mining
although "no trust" or "trust minimization" monetary system is the goal, there are still people who need to ensure the security of financial records and ensure that no one cheats. Mining is one of the innovations that makes decentralized records possible. Miners have reached a consensus on the history of transactions in terms of preventing fraud (especially double spending on ether) - an interesting issue that hasn't been addressed before the decentralized currency works on the blockchain. While Ethereum is looking at other ways to reach a consensus on the effectiveness of the deal, mining currently keeps the platform together
how mining works
today, the mining process of Ethereum is almost the same as that of bitcoin. For each transaction, the miner can use the computer to guess the answer repeatedly and quickly until one of them wins. More specifically, the miner will run the unique header metadata (including time stamp and software version) of the block through the hash function (which will return a fixed length, unordered string of numbers and letters, which appears to be random), changing only the 'nonce value', which will affect the hash value of the result
if the miner finds a hash that matches the current target, the miner will be granted ether and broadcast the block across the network for each node to verify and add to their own ledger . If miner B finds the hash, miner a stops working on the current block and repeats the process for the next block. It's hard for miners to cheat in this game. There is no way to fake the work and come up with the right answer to the puzzle. That's why solving puzzles is called "proof of work."
on the other hand, others have little time to verify whether the hash value is correct, which is exactly what each node does. About every 12-15 seconds, a miner finds a stone. If the miner starts to solve the puzzle faster or slower than this, the algorithm will automatically re adjust the difficulty of the problem so that the miner can rebound to about 12 seconds of solution time
miners earn these ethers randomly, and their profitability depends on their luck and the computing power they put in. The specific workload verification algorithm used by Ethereum is called "ethash", which aims to require more memory, making it difficult to mine with expensive ASIC. Special mining chips are now the only profitable way to mine bitcoin
in a sense, ethash may have achieved this goal successfully, because dedicated ASIC is not available for Ethereum (at least not yet). In addition, as Ethereum aims to shift from proof of work mining to "proof of equity" (which we will discuss below), buying ASIC may not be a wise choice because it may not prove useful for a long time< However, Ethereum may never need miners. Developers plan to abandon proof of work, the algorithm currently used by the network to determine which transactions are valid and protect them from tampering to support proof of equity, which is guaranteed by token owners. If and when the algorithm is launched, proof of equity can become a means to achieve distributed consensus, and the consensus uses less resources.
& gt; eth.estimateGas({ from:eth.accounts [1], to: eth.accounts[2], value:50000000000000 })
21001
> Eth. Gasprice
2000000000
as above, the account [1] = & gt; The transaction of account [2] needs 21001 gas, and the current gasprice is 2000000000. Let's verify that
unlock account 1, send this transaction, and start mining packaging