- Building Blockchain Projects
- Narayan Prusty
- 219字
- 2021-07-02 23:45:13
Transactions
A transaction is a signed data package to transfer ether from an account to another account or to a contract, invoke methods of a contract, or deploy a new contract. A transaction is signed using ECDSA (Elliptic Curve Digital Signature Algorithm), which is a digital signature algorithm based on ECC. A transaction contains the recipient of the message, a signature identifying the sender and proving their intention, the amount of ether to transfer, the maximum number of computational steps the transaction execution is allowed to take (called the gas limit), and the cost the sender of the transaction is willing to pay for each computational step (called the gas price). If the transaction's intention is to invoke a method of a contract, it also contains input data, or if its intention is to deploy a contract, then it can contain the initialization code. The product of gas used and gas price is called transaction fees. To send ether or to execute a contract method, you need to broadcast a transaction to the network. The sender needs to sign the transaction with its private key.
A transaction is said to be confirmed if we are sure that it will always appear in the blockchain. It is recommended to wait for 15 confirmations before assuming a transaction to be confirmed.
- 微視,這么玩才賺錢!
- 區(qū)塊鏈行業(yè)詞典
- 場景化社群運(yùn)營實(shí)戰(zhàn)手冊
- 做C4D Cinema 4D電商視覺設(shè)計(jì)教程
- 一本書學(xué)會人情世故
- 網(wǎng)上創(chuàng)業(yè):商業(yè)模式+操作實(shí)戰(zhàn)+案例分析
- 淘寶網(wǎng)開店、推廣與交易
- 引爆用戶增長
- 開淘寶店,讓數(shù)據(jù)告訴你怎么才賺錢
- 淘寶大曝光:開店、裝修、推廣與運(yùn)營實(shí)戰(zhàn)(全程視頻教學(xué)版)
- 電子商務(wù)理論與實(shí)踐:SCM ERP CRM DW USE B2C B2B B2M M2M和C2C舉例
- 運(yùn)營無憂:淘寶天貓運(yùn)營與推廣實(shí)操
- 玩轉(zhuǎn)互聯(lián)網(wǎng)教育:平臺搭建+課程制作+運(yùn)營推廣+行業(yè)案例
- Magento Mobile How-to
- 去中心化:移動互聯(lián)時代電商運(yùn)營制勝法則