Simple Dockerized ore.supply runner
Build the docker image
docker build . -t ore-001Run the docker image
- Command mounts the current directory into the container
- Allows for keypairs to be kept locally then mounted into the image
- Command runs
mine.shwithin the container to start mining
docker run -v .:/work -e RPC_URL="https://api.mainnet-beta.solana.com" -e KEYPAIR="id.json" -e PRIORITY_FEE=1000 -e MINER_THREADS=4 ore-001- Use a good RPC (or custom infrastructure)
- Priority fees are needed but the amount is arbitrary as Solana Scheduler is broken
- Cba to deal with the build gremlins with alpine but if anyone wants to chew that glass please pr <3
- Can probably run many miners within a single container for optimal resource use - needs benchmarking