摘要:
通过函数发送eth和返回eth 1ETH = 10,000,000,000 Gwei 1ETH = 1,000,000,000,000,000,000 Wei 交易字段: nonce:交易序号 gas price:gas费用。wei为单位 gas limit:本次交易所能使用的最大gas to:本次 阅读全文
posted @ 2023-03-07 15:28
Furaooooo
阅读(87)
评论(0)
推荐(0)
摘要:
Lesson 2: Welcome to Remix! Simple Storage 第一行 Solidity 第一行用注释来写SPDX License Identifier 虽然是可选的,但是有些编译器会出现警告 用来定义license和代码分享规则 Solidity//SPDX-License- 阅读全文
posted @ 2023-03-07 15:22
Furaooooo
阅读(48)
评论(0)
推荐(0)
摘要:
软件环境 安装与格式化solidity代码 vscode 安装 solidity 扩展。注意作者是(Nomic Foundation) 然后ctrl+shift+p 选择user settings(json) 中添加格式化代码的工具 "[solidity]":{ "editor.defaultFor 阅读全文
posted @ 2023-03-07 15:16
Furaooooo
阅读(23)
评论(0)
推荐(0)

浙公网安备 33010602011771号