File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
i18n/zh-CN/docusaurus-plugin-content-docs/current/introduction/getting-started/enviroment Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 2
2
sidebar_position : 2
3
3
---
4
4
# 申请测试币水龙头
5
+
6
+ 介绍如何通过水龙头申请测试币。
7
+
8
+ ## 前置工作
9
+
10
+ 首先确保你已经完成环境搭建并成功打印出地址,参考[ 环境搭建] ( setup-project.md ) 。
11
+
12
+ ``` text
13
+ Mnemonic seed exists: <* * * * * * * * * * * *>, will use this one.
14
+ Creating wallet with seed: <* * * * * * * * * * * *> and path <m/44'/10001'/0'/0/0>
15
+ Your private key *
16
+ Your address mi51xGS45itNchtDRdRP3Fbh3vjEQWxh38
17
+ Your balance 0 satoshis
18
+ ```
19
+
20
+ 记录你的address来申请测试币。
21
+
22
+ ## 申请测试币
23
+
24
+ 目前witnessonchain服务提供space测试水龙头。
25
+
26
+ 你可以访问:[ Space Testnet Faucet] ( https://witnessonchain.com/faucet/tspace ) 来申请测试币。
27
+
28
+ 输入地址,点击` Shoot me the coin ` 按钮,等待几秒钟,你的地址将会收到一定数量的测试币。如下图所示:
29
+
30
+ ![ space-faucet] ( /img/witnessonchain-faucet.png )
31
+
32
+ 你可以在浏览器查询你的地址余额,或者再执行一次环境搭建的代码来查看余额。
33
+
34
+ ``` bash
35
+ node src/index.js
36
+ ```
37
+
38
+ 此时你应该可以看到你的余额不再是0。
39
+
40
+ ``` text
41
+ Your balance 10000000 satoshis
42
+ ```
43
+
44
+ ## 申请主网测试币
45
+
46
+ 如果你需要申请主网测试币,可以访问:[ Space Mainnet Faucet] ( https://witnessonchain.com/faucet/space ) 来申请主网测试币。需要注意的是主网地址格式与测试网有所不同,主网地址以` 1 ` 开头,测试网地址以` m ` 或者` n ` 开头。
You can’t perform that action at this time.
0 commit comments