无法从asp.net核心web api创建比特币钱包

时间:2017-11-30 06:39:37

标签: asp.net-web-api asp.net-core bitcoin

尝试通过GIT {block} {/ p>的blockchain.info创建来自给定来源的钱包

我正在尝试使用它作为API访问项目中的src / Info.Blockchain.API / Wallet / WalletCreator.cs并发布创建钱包的请求。

该异常读作:

System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A connection with the server could not be established

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

可能有两种可能性: 1.无法从开发人员机器本身运行代码(需要托管和云服务器,或者可以说真正的IP)。 2. Appcode无权创建钱包。

如果有人曾为此工作,请提出解决方案。

由于

1 个答案:

答案 0 :(得分:0)

要在localhost上运行该服务,我们需要按照这些说明https://github.com/blockchain/service-my-wallet-v3

进行操作

基本上,必须运行区块链的节点服务才能创建钱包。我们根据给定的github链接安装并运行服务,并且已完成。

相关问题