> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.mixin.one/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 如何用 Ledger 硬件钱包创建 Safe 金库

### 准备 Ledger 钱包

* 访问 Ledger 官网购买 Ledger 硬件钱包 https://shop.ledger.com/

* 按提示下载 Ledger Live 并初始化 Ledger 钱包，设置 PIN，抄写并妥善保管助记词，验证助记词。

* 升级 Firmware 到 1.1.0 以上

![](https://storage.crisp.chat/users/helpdesk/website/71991a4db339f000/untitled_tsmtl7.png)

* 打开 Ledger Live，点左侧菜单 My Ledger，用 USB-C 连接 Ledger 硬件钱包，输入 PIN 解锁设备，安装 Bitcoin App ：

![](https://storage.crisp.chat/users/helpdesk/website/71991a4db339f000/image_1y4qkyl.png)
${color}[#ff0000](注意必须升级 Firmware 到 1.1.0 以上，Bitcoin 应用的版本应该在 2.1.2 或以上，否则注册金库的步骤可能会提示数据错误。)

* 在 Bitcoin App 设置里允许非标准 sighash 签名。
![](https://storage.crisp.chat/users/helpdesk/website/-/7/1/9/9/71991a4db339f000/img8266-1_3qgwte.png)
${color}[#ff0000](注意 Bitcoin App 2.5.0 必须设置允许，该设置默认禁止。)

|| 本教程使用 Ledger Nano S Plus 测试，浏览器必须使用 Chrome 61+、Edge 79+、Opera 48+，更多支持参考链接 [https://caniuse.com/webusb ](https://caniuse.com/webusb)

### 创建 Safe 金库

1、 **进入 Safe 后台，新建 Safe 金库**

2、 **输入金库名称选择 Bitcoin 网络**

![](https://storage.crisp.chat/users/helpdesk/website/71991a4db339f000/image_uan34e.png)

3、 **设置持有人** 

3.1  选择管理私钥的钱包为 Ledger

3.2  连接设备

保持 Ledger 设备未锁屏状态并且打开 Bitcoin 应用：

![](https://storage.crisp.chat/users/helpdesk/website/71991a4db339f000/img7091_16s5nhv.jpg)

3.3  获取公钥

点击按钮通过 webusb 连接硬件钱包：

![](https://storage.crisp.chat/users/helpdesk/website/71991a4db339f000/image_10imrh4.png)

弹窗选择已连接的硬件钱包并点连接获取公钥：

![](https://storage.crisp.chat/users/helpdesk/website/71991a4db339f000/image_1xgu8gs.png)

点下一步保存。

4、 **设置资产共管人**

添加你信任的家人、朋友或者同事为资产共管人，并设置合理的共管模式。

5、 **预览并创建金库**

6、 **激活金库**

6.1  注册金库到 Ledger 钱包

![](https://storage.crisp.chat/users/helpdesk/website/71991a4db339f000/image_53hc4o.png)

点注册按钮，在 Ledger 钱包上查看并批准金库、政策、Key 等信息并且批准，本步骤在 Ledger 上可能需要点十几下略繁琐，但是仅操作一次即可：

![](https://storage.crisp.chat/users/helpdesk/website/71991a4db339f000/image_1opw1vn.png)

6.2 激活金库

点 Safe 后台界面上的激活按钮，并在 Ledger 上签名批准：

![](https://storage.crisp.chat/users/helpdesk/website/71991a4db339f000/image_1tj2l2o.png)

等待约 30 秒钟 Safe 金库激活成功就可以往这个地址里充值 BTC 了。

### 常见错误
* Ledger device: Invalid data received (0x6a80)
请升级你 Ledger 钱包的 Firmware 到 1.1.0 以上，并且重新安装 Bitcoin 应用确保版本在 2.1.2 以上。

* Ledger device: Locked device (0x5515)
请输入PIN 码解锁设备。

* Ledger device: UNKNOWN\_ERROR (0x6511)
在 Ledger 钱包里打开 Bitcoin 应用，当前屏幕上应该显示 Bitcoin 的图标和 Bitcoin is ready 的字样。

* Ledger device: UNKNOWN\_APDU (0x6d02)
在 Ledger 钱包里打开 Bitcoin 应用，当前屏幕上应该显示 Bitcoin 的图标和 Bitcoin is ready 的字样。

* Ledger device: Security not satisfied (0x6982)
在 Ledger 钱包里打开 Bitcoin 应用，进入设置，"Sighash types → Allow non-default sighash types" 设置为开启（Enabled）。