Alchemy第三周
管理员运行ubuntu 运行创新新文件夹mkdir ChainBattled cd ChainBattled 运行创建成功之后运行npm install @openzeppelin/contracts 运行后界面打开codecode . 删除这两个文件夹下的2个文件修改 hardhat.config.js 内容为:修改 hardhat.config.js 内容为:require("dotenv").config(); require("@nomiclabs/hardhat-waffle"); require("@nomiclabs/hardhat-etherscan"); module.exports = { solidity: "0.8.10", networks: { mumbai: { url: process.env.TESTNET_RPC, accounts: [process.env.PRIVATE_KEY] }, }, etherscan: { apiKey: process.env.POLYGONSCAN_API_KEY } }; 在 contracts 文件夹中...
Alchemy第三周
管理员运行ubuntu 运行创新新文件夹mkdir ChainBattled cd ChainBattled 运行创建成功之后运行npm install @openzeppelin/contracts 运行后界面打开codecode . 删除这两个文件夹下的2个文件修改 hardhat.config.js 内容为:修改 hardhat.config.js 内容为:require("dotenv").config(); require("@nomiclabs/hardhat-waffle"); require("@nomiclabs/hardhat-etherscan"); module.exports = { solidity: "0.8.10", networks: { mumbai: { url: process.env.TESTNET_RPC, accounts: [process.env.PRIVATE_KEY] }, }, etherscan: { apiKey: process.env.POLYGONSCAN_API_KEY } }; 在 contracts 文件夹中...
Alchemy第二周教程
电脑需要安装 ubuntu 和 visual studio code 安装后管理员 ubuntu 运行mkdir BuyMeACoffee-contracts cd BuyMeACoffee-contracts npm init -y npx hardhat 运行成功后选择第一个一直回车创建新项目完成后界面输入Code . 会跳转打开code软件 (code内容修改后都需要手动点击保存)右键重命名为 BuyMeACoffee.sol 把内容修改为://SPDX-License-Identifier: Unlicense // contracts/BuyMeACoffee.sol pragma solidity ^0.8.0; // Switch this to your own contract address once deployed, for bookkeeping! // Example Contract Address on Goerli: 0xDBa03676a2fBb6711CB652beF5B7416A53c1421D contract BuyMeACoffee ...
Alchemy第二周教程
电脑需要安装 ubuntu 和 visual studio code 安装后管理员 ubuntu 运行mkdir BuyMeACoffee-contracts cd BuyMeACoffee-contracts npm init -y npx hardhat 运行成功后选择第一个一直回车创建新项目完成后界面输入Code . 会跳转打开code软件 (code内容修改后都需要手动点击保存)右键重命名为 BuyMeACoffee.sol 把内容修改为://SPDX-License-Identifier: Unlicense // contracts/BuyMeACoffee.sol pragma solidity ^0.8.0; // Switch this to your own contract address once deployed, for bookkeeping! // Example Contract Address on Goerli: 0xDBa03676a2fBb6711CB652beF5B7416A53c1421D contract BuyMeACoffee ...

gm
GM"Smile in the mirror. Do that every morning, and you'll start to see a big difference in your life."

gm
GM"Smile in the mirror. Do that every morning, and you'll start to see a big difference in your life."

cool
GM"Smile in the mirror. Do that every morning, and you'll start to see a big difference in your life."

cool
GM"Smile in the mirror. Do that every morning, and you'll start to see a big difference in your life."


1
12