Crates.io | atomicalsir |
lib.rs | atomicalsir |
version | 0.1.9 |
source | src |
created_at | 2023-12-30 09:25:59.875985 |
updated_at | 2023-12-30 19:44:49.97342 |
description | Atomicals mining manager. |
homepage | https://hack.ink/atomicalsir |
repository | https://github.com/hack-ink/atomicalsir |
max_upload_size | |
id | 1084010 |
size | 97,983 |
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
To install from crates.io
, use the following command:
cargo install atomicalsir
You can download the pre-build binary from our GitHub release
To build from the source code, use the following commands:
git clone https://hack-ink/atomicalsir
cd atomicalsir
cargo build --release
atomicals-js
.atomicalsir
.atomicalsir --max-fee 150 <PATH to the atomicals-js folder>
Where can I find the mining log?
You'll find the information in stdout.log
and stderr.log
, which are located in the current working directory.
How to setup multi-wallet?
To set up a multi-wallet, place the *.json
wallet files in the atomicals-js/wallets
directory.
How to use one stash address in multi-wallet mining?
Add a wallet with a <NAME>
under the imported
field of your atomicals-js/wallets/x.json
file.
Then, run the command atomicalsir --stash <NAME> ..
.
You atomicals-js/wallets/x.json
file should looks like below:
{
"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": ".."
}
}
}
What are the differences of average-first
and wallet-first
mining strategies?
average-first
strategy mines 12 times for each wallet in one loop.wallet-first
strategy mines indefinitely, switching wallets until the current wallet has more than 12 unconfirmed transactions.atomicals-js
automatically.