Code Monkey home page Code Monkey logo

ore-containers's Introduction

๐Ÿ’ฐ ORE Docker Containers

The ORE Docker Containers project is docker containers that wrap ore-cli and provide an easy-to-use solution.

๐Ÿ Installation and Running

To run miner, follow these steps:

  1. Clone the repository:
    git clone https://github.com/f3n1b00t/ore-containers.git
    cd ore-containers
  2. Change wallet private key:
    cd ore-miner
    echo "[your,wallet,private,key]" > wallet.json
  3. Build miner container:
    docker build -t oreminer .
  4. Run miner container:
    docker run -d oreminer
  5. Enjoy the rewards! ๐ŸŽ‰

To run claimer, follow these steps:

  1. Clone the repository:
    git clone https://github.com/f3n1b00t/ore-containers.git
    cd ore-containers
  2. Change wallet private key:
    cd ore-claimer
    echo "[your,wallet,private,key]" > wallet.json
  3. Build miner container:
    docker build -t oreclaimer .
  4. Run miner container:
    docker run -d oreclaimer
  5. Enjoy the rewards! ๐ŸŽ‰

Project configuration

We can set certain parameters of ore-cli through environment variables of the Docker container:

  • SOL_RPC: The URL of the Solana RPC endpoint.
  • PRIORITY_FEE: The priority fee to use for transactions.
  • THREAD_COUNT: The number of threads to use for mining.

We can pass environment variables through "-e" argument:

docker run -e SOL_RPC="https://api.mainnet-beta.solana.com" \
           -e PRIORITY_FEE="5000000" \
           -e THREAD_COUNT="16" \
           oreminer

We can pass enviroment variables through .env file:

  1. Create .env file:
    SOL_RPC=https://api.mainnet-beta.solana.com
    PRIORITY_FEE=5000000
    THREAD_COUNT=16
    
  2. Run miner container:
    docker run --env-file .env oreminer

๐Ÿค Acknowledgements

Big thanks for NotAvailable for idea. Also thanks for HardhatChad for brilliant project on Solana!

ore-containers's People

Contributors

f3n1b00t 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.