上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 网址:https://ethervm.io/decompile 主要作用分析合约漏洞,在安全上可以对攻击合约进行逆向 阅读全文
posted @ 2022-08-16 00:55 ZaleSwfit 阅读(750) 评论(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) 编辑
摘要: 网址https://trufflesuite.com/ 作用:可以在本地运行一个假区块链,类似remix上的虚拟账户,开启后有100个账户,每个账户有一百个测试以太 创建区块链后会有rpc url,在vscode通过rpcurl远程访问区块链 阅读全文
posted @ 2022-08-11 23:28 ZaleSwfit 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 网址:yarnpkg.com/getting-started 安装命令 nodejs >=16.10用 corepack enable 阅读全文
posted @ 2022-08-10 22:20 ZaleSwfit 阅读(14) 评论(0) 推荐(0) 编辑
摘要: github网址:https://github.com/ethereum/solc.js 知乎大佬小结:solc编译器分析 - 粒子区块链的文章 - 知乎 https://zhuanlan.zhihu.com/p/164633644 腾讯云大佬总结 https://cloud.tencent.com 阅读全文
posted @ 2022-08-10 22:09 ZaleSwfit 阅读(242) 评论(0) 推荐(1) 编辑
摘要: 网页地址: www.gitpod.io/ Gitpod 是自动化开发环境的主要开源平台之一,近日 Gitpod 宣布正在开发一个名为「OpenVSCode Server」的新项目,该项目以 MIT 许可方式开源,是上游的微软 Visual Studio Code(VS Code)的实现,该项目使每个 阅读全文
posted @ 2022-08-05 22:40 ZaleSwfit 阅读(119) 评论(0) 推荐(0) 编辑
摘要: // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.3; contract A { function foo() public pure virtual returns (string memory) { return "A"; } fu 阅读全文
posted @ 2022-08-03 11:08 ZaleSwfit 阅读(13) 评论(0) 推荐(0) 编辑
摘要: ontract can call other contracts in 2 ways. The easiest way to is to just call it, like A.foo(x, y, z). Another way to call other contracts is to use 阅读全文
posted @ 2022-08-02 12:11 ZaleSwfit 阅读(25) 评论(0) 推荐(0) 编辑
摘要: delegatecall is a low level function similar to call. When contract A executes delegatecall to contract B, B's code is executed with contract A's stor 阅读全文
posted @ 2022-08-02 12:11 ZaleSwfit 阅读(18) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页