BTCPayServer.Vault:用软件或硬件钱包签名

  • K1_228332
    了解作者
  • 126.4KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-13 13:47
    上传日期
BTCPayServer.Vault 该项目由两部分组成: :一个易于使用的库( ),用于包装的命令行界面。 :一个简单的本地Web服务器,用于访问通过hwi物理连接到您的计算机的硬件钱包。 为什么选择BTCPayServer Vault BTCPayServer Vault允许Web应用程序访问您的硬件钱包,这可带来更好的集成用户体验。 如何安装 直接下载 二进制文件在我们的。 通过brew(仅限Mac OS) 您可以使用brew: brew install btcpayserver-vault BTCPayServer Vault如何工作 运行BTCPayServer Vault时,本地Web服务器托管在http://127.0.0.1:65092 ,该Web应用程序可以通过本地浏览器连接到该Web应用程序,以便与您的硬件钱包进行交互。 该协议非常简单: 首先,W
BTCPayServer_Vault-master.zip
内容介绍
[![NuGet](https://img.shields.io/nuget/v/BTCPayServer.Hwi.svg)](https://www.nuget.org/packages/BTCPayServer.Hwi) [![Build status](https://github.com/btcpayserver/BTCPayServer.Vault/workflows/CI/badge.svg)](https://github.com/btcpayserver/BTCPayServer.Vault/actions?query=workflow%3ACI) # BTCPayServer.Vault This project is composed of two parts: * [BTCPayServer.Hwi](BTCPayServer.Hwi): An easy to use library ([nuget](https://www.nuget.org/packages/BTCPayServer.Hwi)) wrapping the command line interface of the [hwi project](https://github.com/bitcoin-core/HWI). * [BTCPayServer.Vault](BTCPayServer.Vault): A simple local web server providing access to the hardware wallet physically connected to your computer via hwi. ## Why BTCPayServer Vault BTCPayServer Vault allows web applications to access your hardware wallet, this enables a better integrated user experience. ## How to install ### Direct download The binaries are on our [release page](https://github.com/btcpayserver/BTCPayServer.Vault/releases/latest). ### Via brew (Mac OS only) You can use brew: ```bash brew install btcpayserver-vault ``` ## How does BTCPayServer Vault work When running the BTCPayServer Vault, a local webserver is hosted on `http://127.0.0.1:65092` which web applications, via your local browser, can connect to in order to interact with your hardware wallet. The protocol is fairly simple: First, the web application needs to make a permission request to the Vault by sending a HTTP request `GET` to `http://127.0.0.1:65092/hwi-bridge/v1/request-permission` This will prompt the user to grant access to the web application and if the user accepts, the request returns HTTP 200. Note that internally, the Vault relies on the `ORIGIN` HTTP header to identify the web application requesting access. If the access was granted previously, the request returns HTTP 200. Second, the web application can query the hardware through `POST` requests to `http://127.0.0.1:65092/hwi-bridge/v1`. ```json { "params": [ "param1", "param2" ] } ```` Those parameters are then passed as-is to [hwi](https://github.com/bitcoin-core/HWI) and the result is returned as a string. ![NuGet](docs/Sequence.svg) ## Is it safe? Hardware wallets have been created to protect your money, even if your computer was compromised. However, while it protects your money, it will not protect your privacy if you allow an untrusted application to access your public keys. This is why BTCPayServer Vault always ask permission to user first before allowing any web application to access your hardware wallet. ## How to build? This is a two step process: 1. Install the latest version of the [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1) 2. Run `dotnet build` If you want to run it for testing: ```bash cd BTCPayServer.Vault dotnet run ``` ## Documentation Video below explains how to use BTCPay Vault with BTCPay Server. [![](https://img.youtube.com/vi/hh_cm8MKl2g/mqdefault.jpg)](https://www.youtube.com/watch?v=hh_cm8MKl2g) - [BTCPay Vault announcement](https://blog.btcpayserver.org/btcpay-vault/) - [Using BTCPay Vault with BTCPay Server](https://docs.btcpayserver.org/features/vault) ## Licence This project is under MIT License. ## Special thanks Special thanks to [Wasabi Wallet](https://github.com/zkSNACKs/WalletWasabi), this code is based on their work, and as well to the bitcoin developers and [achow101](https://github.com/achow101) for the [HWI Project](https://github.com/bitcoin-core/HWI).
评论
    相关推荐
    • web服务器
      简单的web服务器 ,通过程序可以建立一个web服务器平台,该程序我已经调试通过请放心使用,用户使用手册已经放在里面了。
    • ASP WEB服务器
      紫雨轩ASP WEB服务器 可以在本机搭建web服务器,很好用的。。
    • web服务器温度
      web服务器温度
    • 易语言WEB服务器
      易语言WEB服务器
    • web代理服务器
      实现了基本的web服务器的功能,可以帮你更好的了解web服务器的基本工作原理
    • Web服务器案例
      Web服务器案例 Web服务器案例 Web服务器案例 Web服务器案例
    • 易语言web服务器
      易语言web服务器源码系统结构:创建窗口,窗口函数,菜单处理,客户进入,客户离开,数据到达,协议处理,获取用户数据,删除用户数据,LogAdd,创建完毕,创建托盘图标,弹出托盘气泡,删除图盘图
    • web服务器编程
      只是一个基于web service服务器编程的教学代码,简单易懂
    • 简易Web服务器
      简易Web服务器资料,供大家一起参考学习。
    • 易语言web服务器
      易语言web服务器系统结构:消息替换, ======窗口程序集1 || ||------_透明标签3_鼠标左键被按下 || ||------_透明标签2_鼠标左键被按下 || ||------__启动窗口_创建完毕 || ||------_服务器1_客户进入