• 2024-02-02ganache搭建私有测试节点
    1.Ganche简介1.1.什么是Ganache?Ganache是DApp的测试网络,提供图形化界面,log日志等;智能合约部署时需要连接测试网络。Ganache是一个运行在本地测试的网络,通过结合cpolar内网穿透软件,即可比较简单实现远程或者不同局域网进行连接访问,下面简单概括设置和连接方法1.2.环境
  • 2023-12-18"the tx doesn't have the correct nonce":使用hardhat调用ganache上部署的合约遇到的一个错误
    完整的报错==================>查询存证请求存证请求内容,datahash:0xaad2171441bd73b773e9a9e062753909360bdfcabbddbe93c6c58b13c5c0feaa,创建人:0xF7A1938Fecc594aaF126d46fd173cE74A659ad9A,附加信息:0x66656974757a6920616920646f756368757a69,已投票:0n,共需投票:2n==
  • 2023-12-11使用hardhat + ganache进行本地solidity开发
    hardhat是有本地开发网络的,但ganache是个有界面的程序,也是在本地模拟一个以太坊链,但是界面比较漂亮一些。hardhat.config.jsrequire("@nomicfoundation/hardhat-toolbox");/**@typeimport('hardhat/config').HardhatUserConfig*/module.exports={solidity:"0.8.19",