8个版本
| 0.1.9 | 2023年12月30日 | 
|---|---|
| 0.1.8 | 2023年12月30日 | 
#15 in #fee
32KB
334 行
使用方法
Atomicals mining manager.
Usage: atomicalsir [OPTIONS] <PATH>
Arguments:
  <PATH>
          Path to the atomicals-js repository's folder
Options:
      --max-fee <VALUE>
          Maximum acceptable fee.
          This value will be passed to atomicals-js's `--satsbyte` flag if the current network's priority fee is larger then this value.
          [default: 150]
      --no-unconfirmed-txs-check
          Disable the unconfirmed transaction count check.
          This will disable the multi-wallet feature.
      --stash <ALIAS>
          Specify the alias of the stash wallet.
          The name should be able to find in `wallets/x.json`.
          And it will be passed to atomicals-js's `--initialowner` flag.
      --electrumx <URI>
          Specify the URI of the electrumx proxy electrumx.
          Examples: - https://ep.atomicals.xyz/proxy - https://ep.atomicalmarket.com/proxy
      --strategy <STRATEGY>
          Mining strategy
          [default: wallet-first]
          [possible values: average-first, wallet-first]
  -h, --help
          Print help (see a summary with '-h')
  -V, --version
          Print version
安装
从 crates.io 安装
要从 crates.io 安装,请使用以下命令
cargo install atomicalsir
下载预构建的二进制文件
您可以从我们的 GitHub 发布版下载预构建的二进制文件
从源代码构建(需要nightly Rust)
要从源代码构建,请使用以下命令
git clone https://hack-ink/atomicalsir
cd atomicalsir
cargo build --release
逐步设置
- 按照 atomicals-js的安装步骤进行。
- 按照 atomicalsir的安装步骤进行。
- 运行以下命令:atomicalsir --max-fee 150 <atomicals-js文件夹的路径>
问答
- 
我在哪里可以找到挖矿日志? 您将在当前工作目录中的 stdout.log和stderr.log中找到信息。
- 
如何设置多钱包? 要设置多钱包,请将钱包的 *.json文件放在atomicals-js/wallets目录中。
- 
如何在多钱包挖矿中使用一个钱包地址? 在您的 atomicals-js/wallets/x.json文件的imported字段下添加一个名为<NAME>的钱包。然后,运行命令 atomicalsir --stash <NAME> ..。您的 atomicals-js/wallets/x.json文件应如下所示{ "phrase": "..", "primary": { "address": "..", "path": "m/86'/0'/0'/0/0", "WIF": ".." }, "funding": { "address": "..", "path": "m/86'/0'/0'/1/0", "WIF": ".." }, "imported": { "<NAME>": { "address": "..", "WIF": ".." } } }
- 
什么是 average-first和wallet-first矿工策略的区别?- average-first策略在每个循环中对每个钱包进行12次挖掘。
- wallet-first策略无限挖掘,切换钱包,直到当前钱包有超过12个未确认的交易。
 
未来计划
- 自动更新和重建 atomicals-js。
- 实现钱包余额检测。
- 实现一个纯 Rust 的挖掘工作。
依赖项
~11-24MB
~371K SLoC