GithubHelp home page GithubHelp logo

fangtongen / ore-miner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tonyke-bot/ore-miner

0.0 0.0 0.0 65 KB

ORE Miner built on top of Jito bundle with both CPU and GPU support.

Shell 0.05% Rust 88.73% Cuda 11.22%

ore-miner's Introduction

$ORE Miner

ORE Miner built on top of Jito bundle service by @tonyke_bot and @shoucccc.

Shipped with both CPU and GPU hashing support.

Each miner is able to carry 400 wallets on a single RTX 4090 card. Should expect 10~20% improvement if the code is optimized.

Preparations

  1. Get a reliable, fastest Solana RPC

  2. Clone the repo and build

    git clone https://github.com/tonyke-bot/ore-miner.git
    cd ore-miner
    cargo build --release
  3. (Optional) Install CUDA development environment

  4. (Optional) Build CUDA miner

    ./build-cuda-worker.sh
  5. Generate wallets and fund them with SOL

Feature

  • Evenly consumed SOL: Choose richest wallet to tip bundle and richest wallet in a transaction to pay the transaction fee.
  • Adaptive tip: Automatically adjust tip based on the Jito tip stream.
  • Bulk operation support: mine, register, claim, batch transfer

Usage

Mine with GPU

export CUDA_VISIBLE_DEVICES=<GPU_INDEX>

cargo run --release -- \
    --rpc <RPC_URL> \
    --priority-fee 500000 \                     # Tip used for Jito bundle. If max adaptive tip is set, this will be the initial tip.
    bundle-mine-gpu \
    --key-folder <FOLDER_CONTAINS_YOUR_KEYS> \  # Folder contains your Solana keys
    --max-adaptive-tip 400000 \                 # Max tip used, if this is set, use tip min(tips.p50, max)****

Multi Claim

cargo run --release -- \
    --rpc <RPC_URL> \
    --priority-fee 500000 \                     # Tip used for Jito bundle. 
    claim \
    --key-folder <FOLDER_CONTAINS_YOUR_KEYS> \  # Folder contains your Solana keys
    --beneficiary <YOUR_PUBKEY_TO_RECEIVE_ORE>

Register

cargo run --release -- \
    --rpc <RPC_URL> \
    --priority-fee 500000 \                     # Tip used for Jito bundle. 
    register \
    --key-folder <FOLDER_CONTAINS_YOUR_KEYS> \  # Folder contains your Solana keys

Buy me ☕️

  • SOL: tonyi4UznxNzae5RBinHTU8Gxr91RRGBcdx7mmimN8F
  • EVM: 0x45Fce32abB76fd0722882326FBf2d1182e6b982B

Appreciate your support!

ore-miner's People

Contributors

tonyke-bot avatar umiiii avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.