摘要: 🎈 作者:Linux猿 🎈 简介:CSDN博客专家🏆,C/C++、面试、刷题、算法尽管咨询我,关注我,有问题私聊! 🎈 关注专栏:Linux (优质好文持续更新中……)🚀 目录 一、为什么使用 .gitignore ? 二、使用规则 2.1 注释 2.2 忽略文件 2.3 忽略目录 2.4 阅读全文
posted @ 2022-08-16 23:20 ZaleSwfit 阅读(176) 评论(0) 推荐(0) 编辑
摘要: dotenv: Dotenv 是一个零依赖的模块,它能将环境变量中的变量从 .env 文件加载到 process.env 中。由于项目不同需求,需要配置不同环境变量,按需加载不同的环境变量文件,使用dotenv,可以完美解决这一问题。 终端输入 npm install dotenv --save 项 阅读全文
posted @ 2022-08-16 23:03 ZaleSwfit 阅读(701) 评论(0) 推荐(0) 编辑
摘要: 网址:https://ethervm.io/decompile 主要作用分析合约漏洞,在安全上可以对攻击合约进行逆向 阅读全文
posted @ 2022-08-16 00:55 ZaleSwfit 阅读(739) 评论(0) 推荐(0) 编辑
摘要: Sending Ether (transfer, send, call) How to send Ether? You can send Ether to other contracts by transfer (2300 gas, throws error) send (2300 gas, ret 阅读全文
posted @ 2022-08-16 00:53 ZaleSwfit 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 首先准备ganache工具,可以快速搭建一条本地链。 在vscode终端安装yarn add 添加ethers,fs-sxtra,solc,用solc命令编译后下面文件生成abi和bin文件 // I'm a comment! // SPDX-License-Identifier: MIT prag 阅读全文
posted @ 2022-08-16 00:32 ZaleSwfit 阅读(136) 评论(0) 推荐(0) 编辑