【发布时间】:2019-12-21 14:54:31
【问题描述】:
您好,我是区块链主题的新手,我正在尝试制作以太坊智能合约。第一步我安装了松露,当我尝试迁移它时会抛出一个错误,因为我没有以太坊客户端。 为了解决这个问题松露开发,推荐ganache,geth,但我无法决定哪个更合适,我不明白ganache和geth的区别。基本上他们是否提供相同的服务?这是错误:
Could not connect to your Ethereum client with the following parameters:
- host > 127.0.0.1
- port > 7545
- network_id > *
Please check that your Ethereum client:
- is running
- is accepting RPC connections (i.e., "--rpc" option is used in geth)
- is accessible over the network
- is properly configured in your Truffle configuration file (truffle-config.js)
【问题讨论】: