Skip to content

Instantly share code, notes, and snippets.

View jerrychan807's full-sized avatar
🎧
Focusing

FoolishEddy jerrychan807

🎧
Focusing
View GitHub Profile
# 下载源码
https://github.com/ethereum/go-ethereum/releases
# 解压源码:
tar -xzf go-ethereum-1.9.7.tar.gz 
# 编译:
cd go-ethereum-1.9.7

虚拟机断电后centos7无法正常启动:

报错消息:

20220908162422 需要先umount,再执行xfs_repair命令

umount /dev/dm-0

Remix_Ide_Load_From_localFolder:

# 全局安装
npm install -g @remix-project/remixd
# 启动
remixd -s 具体文件项目路径 --remix-ide https://remix.ethereum.org/

Example:

@jerrychan807
jerrychan807 / KILLAz.sol
Created June 22, 2022 10:06
KILLAz.sol
/**
*Submitted for verification at Etherscan.io on 2021-08-18
*/
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct