# ARC20基于BTC网络的新协议，转账流程

By [peanut](https://paragraph.com/@peaunt) · 2023-09-20

---

1、node依赖下载

在[nodejs.org](http://nodejs.org/)下载（

v16.15.1版本)我的开发版本，版本应该随便，别太低就行

2、mac 直接打开终端

windo

鼠标右键点击桌面选择在终端中打开，以管理员身份运行Windows PowerShell;简称黑窗口

3、输入node -v 看到下图，说明安装成功

![](https://storage.googleapis.com/papyrus_images/207c6da2bf47413c2c68fb4439dde98a59ec1d01796562e31c910baf990a7b05.png)

4.、安装yarn

输入npm install -g yarn

  
windos以管理员打开

![](https://storage.googleapis.com/papyrus_images/93692757e4d69e2ddc72b69bbc84fe01358294d9d8b38a7a778f9946f4df1c13.png)

5、克隆项目

git clone [https://github.com/atomicals/atomicals-js.git](https://github.com/atomicals/atomicals-js.git)  
mac 安装git教程 百度搜即可

[https://blog.csdn.net/xiaohanluo/article/details/53214933](https://blog.csdn.net/xiaohanluo/article/details/53214933)

windos安装git

[https://www.cnblogs.com/xueweisuoyong/p/11914045.html](https://www.cnblogs.com/xueweisuoyong/p/11914045.html)

6、clone完成

![](https://storage.googleapis.com/papyrus_images/7ecea6948f86619dcf0e54680f297085369a037c323964855e8724a6f4908e90.png)

7、切换到目录文件

cd atomicals-js

8、安装依赖

npm install

![](https://storage.googleapis.com/papyrus_images/c193316eacbcdfe4ae8fc056590982f6854f392b3539d94c1aa8cb0e0be387e0.png)

9、运行项目

npm run

build

![](https://storage.googleapis.com/papyrus_images/ac9e408d9249666af65b81b1ebecf98828f5680d240813bbf8ba7f312335f36e.png)

10、初始化钱包

yarn cli wallet-init11、

![](https://storage.googleapis.com/papyrus_images/0ff841d7a3a985e711078a20319e82e7ebe8932cc99d189405c9c40966ddffa1.png)

11、执行mint命令生成二维码，存入btc，一直刷命令就可以

yarn cli mint-dft atom

![](https://storage.googleapis.com/papyrus_images/3082b07ebe9c926552f1f8b3257559e3b639b456c9be72fa16a57c7ba6f5321a.png)

12、前面是单价，后面是地址，存入btc然后一直直行上面命令，你余额够用，就自动扣款

13、

![](https://storage.googleapis.com/papyrus_images/6c8e860ee75bf32c1df7142a90a1f10553229cd068bea2a20e0ab31cb63d4096.png)

14、查区块

[https://blockchair.com/](https://blockchair.com/)

15、到此结束，祝大家发财

---

*Originally published on [peanut](https://paragraph.com/@peaunt/arc20-btc)*
