ore-cli-blairo

Crates.ioore-cli-blairo
lib.rsore-cli-blairo
version0.2.1
sourcesrc
created_at2024-08-06 19:44:52.41346
updated_at2024-08-07 11:14:33.482657
descriptionA command line interface for ORE V2 cryptocurrency mining.
homepagehttps://github.com/cryptoblairo/ore-cli-blairo
repositoryhttps://github.com/cryptoblairo/ore-cli-blairo
max_upload_size
id1327667
size203,458
CryptoBlairo (cryptoblairo)

documentation

https://github.com/cryptoblairo/ore-cli-blairo

README

Ore CLI Blairo

A custom command line interface for the Ore program whose customized to send less transactions to RPCs. (Actually using v1.1.1 ore cli version)

Requirements

Install Rust

To install my custom Ore CLI, you will need to have the Rust programming language installed. You can install Rust by following the instructions on the Rust website.

curl https://sh.rustup.rs -sSf | sh

Install Solana

If you don't have Solana client installed yet, run the following commands

sh -c "$(curl -sSfL https://release.solana.com/v1.18.4/install)"

Install the custom rpc

Install the ore client 2 rpc

cargo install ore-cli-blairo

How to use ?

Use the command ore2blairo instead of ore.

An example

ore2blairo mine \
    --rpc your_rpc \
    --keypair ~/.config/solana/id.json \
    --priority-fee 10000 \
    --threads 4 \
    --confirm-delay 3000 \
    --gateway-delay 2000 \
    --gateway-retries 50 \
    --dynamic-fee-url your_helius_or_triton_rpc \
    --dynamic-fee-strategy "helius" \
    --dynamic-fee-max 100000

'confirm_delay' & 'gateway_delay' options

You can add the confirm_delay & the gateway_delay (both optionnal) options to increase or decrease the sending rate to your rpc.

By default, confirm_delay is at 3000 milliseconds and gateway_delay is at 2000 milliseconds.

If you have low credits with your rpc, I will suggest that you use a gateway_delay of 3000 milliseconds & a confirm_delay of 4000 milliseconds. If you have high credits with your rpc, I will suggest that you use a gateway_delay of 500 milliseconds & a confirm_delay of 1500 milliseconds.

'gateway-retries' option

You can add the gateway-retries option (optionnal) to increase or decrease the number of time that you will submit a hash. No recommendation for this one, but don't set it to high, by default it's at 100.

Warnings

This project is developed by me and I am not a professional Rust developer, so use with caution. Always monitor your rpc credits.

Donation & Tips

I am accepting donations and tips at this solana adress (ORE, SOL, USDC) : AwdcrnSqdzdEdsGkx2f2zxNA4dENBDjMdpBtMtVDCrKc

Commit count: 0

cargo fmt