小编jhd*_*hdm的帖子

Geth 或 Ganache 的差异

嗨,我是区块链主题的新手,我正在尝试制作以太坊智能合约。第一步,我安装了 truffle,当我尝试迁移时它会抛出一个错误,因为我没有以太坊客户端。为了解决这个问题 truffle develop 推荐 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)
Run Code Online (Sandbox Code Playgroud)

blockchain smartcontracts

5
推荐指数
2
解决办法
2983
查看次数

标签 统计

blockchain ×1

smartcontracts ×1