Skip to content

Instantly share code, notes, and snippets.

View xiao0406's full-sized avatar

Wang Xiao Yang xiao0406

View GitHub Profile
@xiao0406
xiao0406 / .deps...day1...1.基本数据类型.sol
Created April 15, 2025 11:40
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// 第一步:确定开源协议
// SPDX-License-Identifier: MIT
// 第二步:确定需要用到的solidity版本 (这两步不可或缺,不然无法编译)
pragma solidity ^0.8.20;
//第三步:
contract HelloWorld {
bool boolVar1 = true;
bool boolVar2 = false;
@xiao0406
xiao0406 / .deps...day1...1.基本数据类型.sol
Created March 26, 2025 12:34
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// 第一步:确定开源协议
// SPDX-License-Identifier: MIT
// 第二步:确定需要用到的solidity版本 (这两步不可或缺,不然无法编译)
pragma solidity ^0.8.20;
//第三步:
contract HelloWorld {
bool boolVar1 = true;
bool boolVar2 = false;
@xiao0406
xiao0406 / .deps...day1...1.基本数据类型.sol
Created March 25, 2025 13:34
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// 第一步:确定开源协议
// SPDX-License-Identifier: MIT
// 第二步:确定需要用到的solidity版本 (这两步不可或缺,不然无法编译)
pragma solidity ^0.8.20;
//第三步:
contract HelloWorld {
bool boolVar1 = true;
bool boolVar2 = false;
@xiao0406
xiao0406 / .git...HEAD
Created March 25, 2025 13:15
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
ref: refs/heads/main
@xiao0406
xiao0406 / .deps...day1...1.基本数据类型.sol
Created March 25, 2025 13:08
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// 第一步:确定开源协议
// SPDX-License-Identifier: MIT
// 第二步:确定需要用到的solidity版本 (这两步不可或缺,不然无法编译)
pragma solidity ^0.8.20;
//第三步:
contract HelloWorld {
bool boolVar1 = true;
bool boolVar2 = false;
@xiao0406
xiao0406 / .deps...day1...1.基本数据类型.sol
Created March 25, 2025 13:02
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// 第一步:确定开源协议
// SPDX-License-Identifier: MIT
// 第二步:确定需要用到的solidity版本 (这两步不可或缺,不然无法编译)
pragma solidity ^0.8.20;
//第三步:
contract HelloWorld {
bool boolVar1 = true;
bool boolVar2 = false;