前言:

近期在通过infrua的测试节点进行合约的部署和调用,一直不成功,从现象上看,交易提交后,一直未被处理,不知为何?

没有什么好的思路,遂安装parity尝试突破一下,由于我使用的Kovan测试网络,且Parity可用于Ropsten和Kovan测试网络,遂下载并安装之。

下载任务软件,记得找官方:

地址:https://github.com/openethereum/parity-ethereum/releases

以太坊ETH钱包Parity项目已经于2020年初停止,新项目叫openethereum。

我的系统是windows,则下载对应的版本。

1)、选择版本

以太坊客户端运行配置(以太坊客户端ParityOpenEthereum)(1)

2)、解压之后

以太坊客户端运行配置(以太坊客户端ParityOpenEthereum)(2)

启动openethereum.exe

E:\openethereum-windows-v3.0.1\openethereum.exe --chain=kovan --base-path=E:\openethereum-windows-v3.0.1\data --db-path=E:\openethereum-windows-v3.0.1\data\db --jsonrpc-hosts="all" --jsonrpc-interface=all

把以上命令保存成*.bat文件,双击启动即可。

chain列表选项:

确认端口已启动:

以太坊客户端运行配置(以太坊客户端ParityOpenEthereum)(3)

简单命令:

windows下的curl.exe 需加"\". curl --data "{\"method\":\"eth_accounts\",\"params\":[],\"id\":1,\"jsonrpc\":\"2.0\"}" -H "Content-Type: application/json" -X POST localhost:8545

推荐网址:

以太坊爱好者知识库:https://ethfans.org/wikis/Ethcore-Parity-Mirror

OpenEthereum:https://openethereum.github.io/index

,