区块链web3智能合约开发学习-开发工具Remix(1)

学习区块链中常用语言solidity时,我们会用到特别的开发工具,对于学习前期,建议是将代码写到Remix IDE中进行编译部署和测试,这就是我们编写和交互智能合约的地方,

在线remix编译器: https://remix.ethereum.org/
下载remix客户端桌面版:https://github.com/ethereum/remix-desktop/releases

在这里插入图片描述

在这里插入图片描述

// SPDX-License-Identifier: GPL-3.0

//SPDX-License-Identifier的标注,写不写都行,不写有的编译器会报警告

//引入编译版本的三种写法
//pragma solidity 0.8.7;只想要用0.8.7
//pragma solidity ^0.8.7; 0.8.7以上版本
pragma solidity >=0.7.0 <0.9.0; //>=0.7.0 <0.9.0之间

//FirstContract合约内容
contract FirstContract {

   
}

相关推荐

  1. 区块web3智能合约Solidity学习资源整理

    2024-04-03 12:18:04       45 阅读
  2. 智能合约开发1

    2024-04-03 12:18:04       51 阅读
  3. 智能合约区块应用交易所系统教程开发搭建

    2024-04-03 12:18:04       34 阅读
  4. web3: 智能合约

    2024-04-03 12:18:04       73 阅读
  5. 区块智能合约

    2024-04-03 12:18:04       43 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-03 12:18:04       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-03 12:18:04       106 阅读
  3. 在Django里面运行非项目文件

    2024-04-03 12:18:04       87 阅读
  4. Python语言-面向对象

    2024-04-03 12:18:04       96 阅读

热门阅读

  1. 策略模式详解+代码案例

    2024-04-03 12:18:04       37 阅读
  2. 洛谷 P1747 好奇怪的游戏

    2024-04-03 12:18:04       41 阅读
  3. 非关系型数据库Redis部署与常用命令

    2024-04-03 12:18:04       71 阅读
  4. 用 ipset 和 iptables 保护 sip 端口

    2024-04-03 12:18:04       41 阅读
  5. TCP

    TCP

    2024-04-03 12:18:04      43 阅读
  6. Docker入门

    2024-04-03 12:18:04       37 阅读
  7. Node.js入门:常用命令一览

    2024-04-03 12:18:04       30 阅读