# Atomicals：Linux下挖取$infinity等无限模式代币

By [Kuzi](https://paragraph.com/@2066) · 2024-01-31

---

### **一：Node.js环境部署**

1.选择最新的官方版本

[https://nodejs.org/en/download/current](https://nodejs.org/en/download/current)

2.本地安装nodejs

[https://www.runoob.com/nodejs/nodejs-install-setup.html](https://www.runoob.com/nodejs/nodejs-install-setup.html)

### **二：Atomical Miner代码部署**

    # install
    mkdir atomicals && cd atomicals
    git clone https://github.com/atomicals/atomicals-js
    cd atomicals-js && npm install
    npm run build
    npm install -g yarn
    yarn install
    

### **三：初始化本地钱包**

    Explain
    # init wallet 初始化钱包
    yarn cli wallet-init
    
    # check wallet private-key
    cat wallets/wallet.json
    
    tips: 
    1. 注意备份wallet.json文件，含助记词和私钥。
    2. 钱包文件说明：
    - primary钱包是接受铭文钱包，挖到quark后会到账这个钱包
    - funding钱包是资金钱包，启动挖矿的时候会要求你支付指定gas到这个钱包
    

### **四：启动Miner挖$infinity**

    # check token info
    # ”挖前确认token是perpetual的模式，即无限模式token“
    yarn cli ftinfo infinity | grep mode
    # output: "$mint_mode": "perpetual",
    
    # Mint Token
    yarn cli mint-dft [token] [--satsbyte]
    yarn cli mint-dft infinity --satsbyte 40
    
    # Tips:
    # 1. 你也可以一次性预存多点资金到资金Wallet，这样就不需要每次启动都要打款
    # 2. satsbyte = 以多少gas的成本来挖矿获取铭文，链上gas低于这个值的时候，交易才能被确认
    
    # 查询钱包所有代币余额
    npm run cli balances --all
    
    # 查token总量
    npm run cli location [token]
    npm run cli location infinity
    

### **五：钱包与交易市场**

#### **钱包与看板**

1.  Wizz钱包(原Atomicals Wallet，现支持网页版Miner): 
    
    [https://wizzwallet.io/](https://wizzwallet.io/)
    
    简介：保护您的 ARC-20 和 NFT 的 Atomicals 钱包（钱包扩展、比特币转账），现在也支持一键开启
    
2.  Wizz Cash (现支持网页版Miner): 
    
    [https://wizz.cash/dashboard](https://wizz.cash/dashboard)
    
    简介：批量转账 NFT 和 Realm（钱包仪表板、资产转账）
    

#### **交易市场**

*   Atomical Market: [https://atomicalmarket.com/](https://atomicalmarket.com/)
    
*   Bitatom: [https://bitatom.io/](https://bitatom.io/)
    
*   SatsX: [https://satsx.io/](https://satsx.io/)

---

*Originally published on [Kuzi](https://paragraph.com/@2066/atomicals-linux-infinity)*
