Download the pre-compiled binary for your operating system from the releases page.
Extract the downloaded archive to a directory of your choice.
Open a terminal and navigate to the directory where you extracted the binary.
Clone the repository:
git clone https://github.com/yourusername/collider.git
Change to the project directory:
cd collider
Build the project:
cargo build --release
The compiled binary will be located at target/release/collider
.
To run the Collider, use the following command:
./collider [OPTIONS]
Collider 0.2.8
A collider for atomicals.
USAGE:
collider [FLAGS] [OPTIONS] --funding-wallet <funding-wallet> --miner <miner> --primary-wallet <primary-wallet>
FLAGS:
--benchmark
-h, --help Prints help information
-V, --version Prints version information
-v, --verbose Sets the level of verbosity
OPTIONS:
-a, --api-url <api-url> [env: API_URL=]
-b, --base-fee <base-fee> [env: BASE_FEE=] [default: 50]
-f, --funding-wallet <funding-wallet> [env: FUNDING_WALLET=]
-m, --miner <miner> [env: MINER=] [default: cpu] [possible values: cpu, gpu]
-p, --primary-wallet <primary-wallet> [env: PRIMARY_WALLET=]
--testnet <testnet> [env: TESTNET=]
-t, --ticker <ticker> [env: TICKER=]
Do not use any wallet containing inscriptions or other assets as a funding wallet !!!!!
You can set these environment variables in a .env
file in the project root directory. The Collider will automatically load the variables from this file.
Example .env
file:
API_URL=https://api.example.com
TESTNET=true
BASE_FEE=100
PRIMARY_WALLET=your_primary_wallet_address
FUNDING_WALLET=your_funding_wallet_private_key
TICKER=YOUR_TICKER
MINER=cpu
The following table shows the performance benchmarks
CPU Name: Apple M3 Max
GPU Name: Apple M3 Max (OpenCL Version: 1.2)
+--------+------------------------+------------------------+
| Device | Commit Hash Rate (M/s) | Reveal Hash Rate (M/s) |
+--------+------------------------+------------------------+
| CPU | 91.41M/s | 150.45M/s |
+--------+------------------------+------------------------+
| GPU | 462.07M/s | 604.54M/s |
+--------+------------------------+------------------------+
CPU Name: AMD Ryzen 7 7800X3D 8-Core Processor
GPU Name: NVIDIA GeForce RTX 4090 (OpenCL Version: 3.0)
+--------+------------------------+------------------------+
| Device | Commit Hash Rate (M/s) | Reveal Hash Rate (M/s) |
+--------+------------------------+------------------------+
| CPU | 69.96M/s | 97.92M/s |
+--------+------------------------+------------------------+
| GPU | 1.16B/s | 1.49B/s |
+--------+------------------------+------------------------+
You can test your device by running the following command:
./collider --benchmark
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
[] Add multi mint feature - it will allow user use one utxo to mint 100 times in less gas and time.
[] Improve the performance - The high performance version is currently closed source, if you are interested you can contact me.
[] Add pure mode - By using public rpc for higher speed calculations, pure mode will not recognize any assets of the funding wallet.
This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE.
Atomicals - The Atomicals protocol
Atomicalsir - For providing the foundation and inspiration for this project
For any inquiries or questions, please contact boxmrchen@fastmail.com.