Created
April 3, 2024 14:59
-
-
Save Taylor123/073c9080b78dd18b5cde2344604d2db9 to your computer and use it in GitHub Desktop.
forever mine ORE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true | |
do | |
echo "Running" | |
ore --rpc "$1" --keypair "$2" --priority-fee 1000 mine --threads 4 | |
echo "Exited" | |
done |
#!/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
can you please write the claim code for wsl2 iam using
ore --rpc (my rpc) --keypair ~/.config/solana/id.json --priority-fee 30000000 claim
but no sucsses