diff --git a/claim.sh b/claim.sh index e63ee5e..e3a2f5d 100644 --- a/claim.sh +++ b/claim.sh @@ -11,6 +11,7 @@ monitor_value=${1:-0.1} #export http_proxy="http://10.3.255.132:51837" #export https_proxy="http://10.3.255.132:51837" + #rpc=https://api.mainnet-beta.solana.com #rpc=https://crimson-nameless-season.solana-mainnet.quiknode.pro/05858e8f2f620b3705dc985711ee7681a3d00bbd/ rpc=https://mainnet.helius-rpc.com/?api-key=fa8414c7-043e-4888-922a-344a2d413ec8 diff --git a/rewards.sh b/rewards.sh index e020c51..e755b7d 100644 --- a/rewards.sh +++ b/rewards.sh @@ -1,4 +1,8 @@ #!/bin/bash + +#export http_proxy="http://10.3.255.132:51837" +#export https_proxy="http://10.3.255.132:51837" + rpc=https://api.mainnet-beta.solana.com total_rewards=0 for keyfile in *.json; diff --git a/run.sh b/run.sh index f84608a..1d52fd7 100644 --- a/run.sh +++ b/run.sh @@ -16,6 +16,9 @@ do screen -dmS mining_$keypair bash -c " while true; do + if [ -f rpc_config ]; then + source rpc_config + fi echo \"Starting indefinite ore mining iteration with $keypair....\" nice -n 20 ore --rpc $rpc --keypair ./$keypair --priority-fee 1000 mine --threads 2 #ore --rpc $rpc --keypair ./$keypair --priority-fee 1000000 mine --threads 16 &