Gas Fee

每一笔交易都会产生Gas Fee。

GWei ETH的最小单位
DeFi-W3-小白菜博客
出价(gas fee)的高低会影响交易上联的速度,越快就价格越高。

gas fee是跟具体的计算量有关的
image

Smart contracts 智能合约

A smart contract is a computerized transaction protocol that executes the terms of a contract.

  • minimize exceptions
  • minimize the need for trusted intermediaries
  • lowering fraud loss, arbitrations and enforcement costs

代币

原生代币:每一个区块链对应的自己的代币。存储在transaction(大账本)的数据库里
代币:储存在log(小账本)里

Solidity

数据类型 - mapping