The ORE Docker Containers project is docker containers that wrap ore-cli and provide an easy-to-use solution.
- Clone the repository:
git clone https://github.com/f3n1b00t/ore-containers.git cd ore-containers
- Change wallet private key:
cd ore-miner echo "[your,wallet,private,key]" > wallet.json
- Build miner container:
docker build -t oreminer .
- Run miner container:
docker run -d oreminer
- Enjoy the rewards! 🎉
- Clone the repository:
git clone https://github.com/f3n1b00t/ore-containers.git cd ore-containers
- Change wallet private key:
cd ore-claimer echo "[your,wallet,private,key]" > wallet.json
- Build miner container:
docker build -t oreclaimer .
- Run miner container:
docker run -d oreclaimer
- Enjoy the rewards! 🎉
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:
- Create .env file:
SOL_RPC=https://api.mainnet-beta.solana.com PRIORITY_FEE=5000000 THREAD_COUNT=16
- Run miner container:
docker run --env-file .env oreminer
Big thanks for NotAvailable for idea. Also thanks for HardhatChad for brilliant project on Solana!