Run ORE Mining within single command using docker compose
.
- Docker
-
Add your wallet keypair:
cd ore-miner echo "[your,wallet,private,key]" > wallet.json
Note: You might use
solana-cli
to generate new keypair.solana-keygen new
Don't forget to transfer some SOL as gas fee for mining transactions. Also you need at least
0.05 SOL
in your wallet balance. -
Add
.env
SOL_RPC=https://api.mainnet-beta.solana.com PRIORITY_FEE=5000 THREAD_COUNT=16
Note:
- It is recommended to use private Solana RPC such as Helius or Shyft to prevent public RPC rate-limit.
PRIORITY_FEE
is fee to use for mining transactions. You should set minimum priority fee equal or higher median fee from Solana gas tracker- Thread count is number of threads to use for mining.
-
Run miner container:
docker compose up -d
-
When you want to claim ORE do the same steps as
ore-miner
Inpsired by this repo for idea. Also thanks for HardhatChad for brilliant project on Solana! Feel free to use, share and fork this repo!