Skip to content

Instantly share code, notes, and snippets.

@Taylor123
Created April 3, 2024 14:59
Show Gist options
  • Save Taylor123/073c9080b78dd18b5cde2344604d2db9 to your computer and use it in GitHub Desktop.
Save Taylor123/073c9080b78dd18b5cde2344604d2db9 to your computer and use it in GitHub Desktop.
forever mine ORE
#!/bin/bash
while true
do
echo "Running"
ore --rpc "$1" --keypair "$2" --priority-fee 1000 mine --threads 4
echo "Exited"
done
@netdost
Copy link

netdost commented Apr 9, 2024

#!/bin/sh #start mining ore auto restart when miner times out while true; do ore --rpc https://api.mainnet-beta.solana.com --keypair ~/.config/solana/id.json --priority-fee 1000 mine --threads 6 echo "stopped. restarting" sleep 1 done

Did this work? I am getting below error when i try to run the above as is. Maybe some other steps are required
/bin/sh: 0: Can't open #start mining ore auto restart when miner times out while true; do ore --rpc https://api.mainnet-beta.solana.com --keypair ~/.config/solana/id.json --priority-fee 1000 mine --threads 4 echo "stopped. restarting" sleep 1 done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment