https://github.com/toannhu96/ore-mining-docker
Run ORE Mining within single command using `docker compose`
https://github.com/toannhu96/ore-mining-docker
mining ore solana
Last synced: 7 months ago
JSON representation
Run ORE Mining within single command using `docker compose`
- Host: GitHub
- URL: https://github.com/toannhu96/ore-mining-docker
- Owner: toannhu96
- Created: 2024-08-11T14:24:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T04:23:08.000Z (almost 2 years ago)
- Last Synced: 2025-01-31T13:43:24.593Z (over 1 year ago)
- Topics: mining, ore, solana
- Language: Shell
- Homepage: https://getnimbus.io/
- Size: 4.88 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 💰 ORE Mining Docker
Run ORE Mining within single command using `docker compose`.
## Prerequisites
- Docker
## Getting Started
1. Add your wallet keypair:
```bash
cd ore-miner
echo "[your,wallet,private,key]" > wallet.json
```
Note: You might use `solana-cli` to generate new keypair.
```bash
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.
2. Add `.env`
```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](https://helius.dev) or [Shyft](https://shyft.to) 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](https://www.quicknode.com/gas-tracker/solana)
- Thread count is number of threads to use for mining.
3. Run miner container:
```bash
docker compose up -d
```
4. When you want to claim ORE do the same steps as `ore-miner`
## License
Inpsired by [this repo](https://github.com/f3n1b00t/ore-containers) for idea. Also thanks for [HardhatChad](https://github.com/HardhatChad) for brilliant project on Solana! Feel free to use, share and fork this repo!