Skip to content

Commit

Permalink
Recover inscription and get btc test coin docs (#1946)
Browse files Browse the repository at this point in the history
* recover get-test-btc

* recover inscription

* update sidebar
  • Loading branch information
geometryolife authored Jun 19, 2024
1 parent 94d4381 commit 8a8cf56
Show file tree
Hide file tree
Showing 6 changed files with 178 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/website/pages/learn/miscellaneous/_meta.en-US.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"roadmap": "Roadmap",
"get-test-btc": "Get BTC test coin",
"inscription": "Inscription",
"portal": "Rooch Portal",
"q-and-a": "Q&A"
}
2 changes: 2 additions & 0 deletions docs/website/pages/learn/miscellaneous/_meta.zh-CN.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"roadmap": "路线图",
"get-test-btc": "获取 BTC 测试币",
"inscription": "铭文",
"portal": "Rooch Portal",
"q-and-a": "Q&A"
}
37 changes: 37 additions & 0 deletions docs/website/pages/learn/miscellaneous/get-test-btc.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Get BTC test coin

We open the website to receive BTC test coins: https://coinfaucet.eu/en/btc-testnet/

On the settings page of our UniSat wallet, switch the address type to a `non-Taproot` type. The current faucet does not currently support Taproot addresses to receive BTC test coins.

![](/docs/get-test-coin/btc-address-type.png)

Enter the wallet address at the redemption address:

![](/docs/get-test-coin/btc-input-address.png)

After waiting a few seconds, you can see the test coins received:

![](/docs/get-test-coin/btc-received.png)

> Tip: If there is a network agent, you can receive it once, switch to another agent node (if the IP address changes at this time, it will be recognized as a new device), and you can receive it again.
At this time, we will transfer the BTC test currency from the Native Segwit type address to the Taproot type address through transfer to facilitate subsequent testing.

After switching to the Taproot address, click to copy address:

> At this time, there is no BTC test coin!
![](/docs/get-test-coin/btc-taproot.png)

Go through the settings page again, switch back to the Native Segwit type address, paste the Taproot type address just copied, fill in the transfer amount, here we will transfer `0.0003` BTC, click Next:

![](/docs/get-test-coin/btc-send.png)

Click the `Sign & Pay` button:

![](/docs/get-test-coin/btc-signpay.png)

At this point, our Taproot address already has test coins:

![](/docs/get-test-coin/btc-ok.png)
37 changes: 37 additions & 0 deletions docs/website/pages/learn/miscellaneous/get-test-btc.zh-CN.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 获取 BTC 测试币

我们打开领取 BTC 测试币的网址:https://coinfaucet.eu/en/btc-testnet/

在我们的 UniSat 钱包的设置页面,将地址类型切换到为非 `Taproot` 类型,当前的水龙头暂时不支持 Taproot 地址领取 BTC 测试币。

![](/docs/get-test-coin/btc-address-type.png)

在领取地址输入钱包地址:

![](/docs/get-test-coin/btc-input-address.png)

等待几秒后,就可以看到接受到的测试币了:

![](/docs/get-test-coin/btc-received.png)

> 小提示:如果有网络代理,可以领完一次后,切换到其他代理节点(此时 IP 地址发生了变化,就识别为新的设备),就可以再次领取。
这个时候我们再通过转账的方式,将 BTC 测试币从 Native Segwit 类型地址转到 Taproot 类型地址,方便后续测试使用。

切换到 Taproot 地址后,点击复制地址:

> 此时,还没有 BTC 测试币!
![](/docs/get-test-coin/btc-taproot.png)

再次通过设置页面,切换回 Native Segwit 类型地址,粘贴刚才复制的 Taproot 类型地址,填写转账金额,这里就转 `0.0003` BTC,点击下一步:

![](/docs/get-test-coin/btc-send.png)

点击 `Sign & Pay` 按钮:

![](/docs/get-test-coin/btc-signpay.png)

此时,我们的 Taproot 地址已经有测试币了:

![](/docs/get-test-coin/btc-ok.png)
50 changes: 50 additions & 0 deletions docs/website/pages/learn/miscellaneous/inscription.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Inscription

This tutorial mainly introduces how to engrave inscriptions and how to view the inscribed inscription assets on Rooch.

## Inscribe tools

Here is an inscribe tool:

- BTC testnet:https://supertestnet.github.io/inscriptions-online/testnet
- BTC mainnet:https://supertestnet.github.io/inscriptions-online

> Currently Rooch has launched the advance network, please choose the first link for inscription!
## Prepare inscription materials

1. Make sure the UniSat wallet's Taproot type address already has BTC.

2. Create a hello.txt file and fill in the inscription information in JSON format:

```json
{"p":"brc-20","op":"mint","tick":"Rooch","amt":"10"}
```

## Start inscribe

Open the inscribe tool in your browser:

![](/docs/inscription/inscription-tool.png)

Fill in the Taproot type address, upload the `hello.txt` file you just prepared, and then click the `Submit` button:

![](/docs/inscription/inscription-input.png)

Then the payment address will be displayed. We copy the payment address provided by the inscribe tool and pay the fee required for this inscribe to this address. Here is `1253` sats (equivalent to `0.00001253` BTC):

![](/docs/inscription/pay.png)

After the payment is completed, two links will be displayed. The first one is used to check the on-chain status of the transaction we just sent. It has not been confirmed yet and you need to wait for a few minutes:

![](/docs/inscription/tx-confirmed.png)

## View the inscription on the Rooch dashboard

![](/docs/inscription/dashboard-utxo.png)

When the transaction is confirmed, we open the Rooch dashboard and click on the sidebar `My Assets` to view the UTXO object:

Next, click `Inscription` to view the inscription assets currently owned by the wallet:

![](/docs/inscription/dashboard-inscription.png)
50 changes: 50 additions & 0 deletions docs/website/pages/learn/miscellaneous/inscription.zh-CN.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 铭文

本篇教程主要介绍如何铭刻铭文,在 Rooch 上如何查看铭刻好的铭文资产。

## 铭刻工具

这里提供一个铭刻工具:

- BTC testnet:https://supertestnet.github.io/inscriptions-online/testnet
- BTC mainnet:https://supertestnet.github.io/inscriptions-online

> 当前 Rooch 已经启动了先行网,请选择第一个链接进行铭文铭刻!
## 准备铭文材料

1. 确保 UniSat 钱包的 Taproot 类型地址已经有 BTC。

2. 创建一个 `hello.txt` 文件,在文件中填写 JSON 格式的铭文信息:

```json
{"p":"brc-20","op":"mint","tick":"Rooch","amt":"10"}
```

## 开始铭刻

用浏览器打开铭刻工具:

![](/docs/inscription/inscription-tool.png)

填写 Taproot 类型的地址,并上传刚才准备好的 `hello.txt` 文件,然后点击 `Submit` 按钮:

![](/docs/inscription/inscription-input.png)

然后就会显示付款地址,我们复制铭刻工具提供的付款地址,并向这个地址支付这一次铭刻所需要的费用,我这里是 `1253` sats(等价于 `0.00001253` BTC):

![](/docs/inscription/pay.png)

付款完成就会显示两个链接,第一个是用来查看我们刚才发送的交易的上链情况,当前还没有确认,需要等待几分钟:

![](/docs/inscription/tx-confirmed.png)

## 在 Rooch 仪表盘查看铭文

当交易确认后,我们打开 Rooch 的仪表盘,点击侧边栏 `My Assets` 查看 UTXO 对象:

![](/docs/inscription/dashboard-utxo.png)

接着,点击 `Inscription` 查看当前钱包拥有的铭文资产:

![](/docs/inscription/dashboard-inscription.png)

0 comments on commit 8a8cf56

Please sign in to comment.