diff --git a/batch2/1.7pdHRWUr8MAPoRiMNwU9QYenA3ADGsn7J3nzn9Ap14i1.json b/batch2/1.7pdHRWUr8MAPoRiMNwU9QYenA3ADGsn7J3nzn9Ap14i1.json new file mode 100644 index 0000000..f89081b --- /dev/null +++ b/batch2/1.7pdHRWUr8MAPoRiMNwU9QYenA3ADGsn7J3nzn9Ap14i1.json @@ -0,0 +1 @@ +[11,241,114,11,246,31,108,58,191,4,99,80,68,246,237,98,41,174,173,72,96,94,104,116,98,35,115,223,59,33,104,4,101,89,113,240,33,60,90,59,180,98,146,230,183,61,118,205,71,20,235,139,42,46,11,14,180,92,24,9,14,35,190,198] \ No newline at end of file diff --git a/batch2/10.HEoRLDxpJESLF9bpDHLchE2u9rdav68Hog6bj1SLGv2c.json b/batch2/10.HEoRLDxpJESLF9bpDHLchE2u9rdav68Hog6bj1SLGv2c.json new file mode 100644 index 0000000..4824d06 --- /dev/null +++ b/batch2/10.HEoRLDxpJESLF9bpDHLchE2u9rdav68Hog6bj1SLGv2c.json @@ -0,0 +1 @@ +[60,204,121,47,174,228,253,32,171,86,187,247,105,79,22,24,254,191,106,171,19,162,139,209,133,159,211,111,173,105,147,106,241,68,7,45,230,242,143,176,62,36,71,16,160,70,245,189,210,199,104,158,67,6,43,86,143,145,239,112,62,96,126,249] \ No newline at end of file diff --git a/batch2/2.AqphGV2VMYokdas4XF3TZVFyQUs4qMeje6yWhsMTo7KW.json b/batch2/2.AqphGV2VMYokdas4XF3TZVFyQUs4qMeje6yWhsMTo7KW.json new file mode 100644 index 0000000..270881f --- /dev/null +++ b/batch2/2.AqphGV2VMYokdas4XF3TZVFyQUs4qMeje6yWhsMTo7KW.json @@ -0,0 +1 @@ +[65,72,119,224,122,152,117,161,131,185,105,159,133,199,154,49,199,249,252,190,204,28,12,25,52,39,70,178,105,4,31,48,146,58,253,62,246,98,62,75,82,66,189,10,234,161,43,222,35,41,42,98,48,217,155,168,168,168,21,248,84,71,207,217] \ No newline at end of file diff --git a/batch2/3.GkSJj8BR1f79rSnZhFVC2bWguqUMgbJoTyR5NF2GJt4V.json b/batch2/3.GkSJj8BR1f79rSnZhFVC2bWguqUMgbJoTyR5NF2GJt4V.json new file mode 100644 index 0000000..2fb4ce2 --- /dev/null +++ b/batch2/3.GkSJj8BR1f79rSnZhFVC2bWguqUMgbJoTyR5NF2GJt4V.json @@ -0,0 +1 @@ +[68,94,79,140,74,211,111,140,15,15,117,254,166,19,247,127,149,25,195,205,157,125,80,27,55,82,83,160,187,215,221,188,233,255,228,80,27,170,173,105,10,175,215,202,199,217,56,250,234,207,91,205,249,34,228,17,159,39,141,28,192,151,13,46] \ No newline at end of file diff --git a/batch2/4.JHjvuVVQpQU9v2nXJYjqrJGgpmhpN8uRmYD8Yz3wPce.json b/batch2/4.JHjvuVVQpQU9v2nXJYjqrJGgpmhpN8uRmYD8Yz3wPce.json new file mode 100644 index 0000000..bb06d56 --- /dev/null +++ b/batch2/4.JHjvuVVQpQU9v2nXJYjqrJGgpmhpN8uRmYD8Yz3wPce.json @@ -0,0 +1 @@ +[178,251,15,174,167,87,19,150,117,213,1,111,20,49,60,88,57,23,52,134,64,172,30,2,239,132,73,34,81,182,42,176,4,109,205,74,90,197,132,102,5,138,248,160,183,93,20,214,100,71,223,252,145,221,5,96,202,43,145,68,218,83,37,155] \ No newline at end of file diff --git a/batch2/5.Csk2D5ToWqTD62rMZ2qhixCb5hmpct38SLcMNKfUm4QH.json b/batch2/5.Csk2D5ToWqTD62rMZ2qhixCb5hmpct38SLcMNKfUm4QH.json new file mode 100644 index 0000000..38d0558 --- /dev/null +++ b/batch2/5.Csk2D5ToWqTD62rMZ2qhixCb5hmpct38SLcMNKfUm4QH.json @@ -0,0 +1 @@ +[104,99,129,146,127,161,141,187,224,126,166,117,204,174,34,177,207,161,233,71,86,195,126,127,22,84,104,61,73,221,249,245,176,112,61,142,80,169,97,211,117,64,34,40,177,19,187,228,202,107,25,116,115,63,39,166,4,186,182,80,142,175,85,2] \ No newline at end of file diff --git a/batch2/6.8PBpSVtzKEtrbH679AdbpgCrVZ2DEBRKaRXqqwfwn5aP.json b/batch2/6.8PBpSVtzKEtrbH679AdbpgCrVZ2DEBRKaRXqqwfwn5aP.json new file mode 100644 index 0000000..6afbc08 --- /dev/null +++ b/batch2/6.8PBpSVtzKEtrbH679AdbpgCrVZ2DEBRKaRXqqwfwn5aP.json @@ -0,0 +1 @@ +[244,246,109,61,93,43,0,4,3,42,20,169,235,207,200,193,108,186,51,244,117,228,238,138,104,178,244,13,63,212,18,50,109,176,209,114,78,42,136,155,175,214,111,253,61,198,209,76,97,119,26,81,85,22,1,87,218,123,54,191,80,215,217,200] \ No newline at end of file diff --git a/batch2/7.GXHMH2wPsf2YnoBH1EhJvRUTfREf9cNUPga2JJzJpSpL.json b/batch2/7.GXHMH2wPsf2YnoBH1EhJvRUTfREf9cNUPga2JJzJpSpL.json new file mode 100644 index 0000000..a1d6d45 --- /dev/null +++ b/batch2/7.GXHMH2wPsf2YnoBH1EhJvRUTfREf9cNUPga2JJzJpSpL.json @@ -0,0 +1 @@ +[90,210,228,189,210,65,166,140,242,77,163,60,130,94,81,154,166,71,177,87,24,130,246,167,185,4,225,66,138,54,154,241,230,161,54,247,95,235,91,208,63,156,239,54,73,231,140,192,63,72,173,83,223,101,246,158,136,14,137,133,108,228,227,5] \ No newline at end of file diff --git a/batch2/8.BTyq6C4bL9c9mdZmc5TjaTN4mdY9LvTiZxkWZ5HVwDsQ.json b/batch2/8.BTyq6C4bL9c9mdZmc5TjaTN4mdY9LvTiZxkWZ5HVwDsQ.json new file mode 100644 index 0000000..70cab21 --- /dev/null +++ b/batch2/8.BTyq6C4bL9c9mdZmc5TjaTN4mdY9LvTiZxkWZ5HVwDsQ.json @@ -0,0 +1 @@ +[225,254,64,191,114,188,90,34,176,25,134,53,219,79,35,250,166,85,82,108,18,203,147,236,12,53,226,187,179,102,129,151,155,126,58,41,212,3,20,93,199,254,0,86,125,18,207,240,42,80,112,177,6,246,35,37,163,13,46,131,134,12,37,75] \ No newline at end of file diff --git a/batch2/9.8AUQnjPJv5xW4suMrMhbvrmZWyYBHvMGCMfRRovtyNwt.json b/batch2/9.8AUQnjPJv5xW4suMrMhbvrmZWyYBHvMGCMfRRovtyNwt.json new file mode 100644 index 0000000..209c1d2 --- /dev/null +++ b/batch2/9.8AUQnjPJv5xW4suMrMhbvrmZWyYBHvMGCMfRRovtyNwt.json @@ -0,0 +1 @@ +[21,122,247,0,142,172,151,118,3,165,80,150,157,148,34,231,155,113,253,130,225,213,140,130,212,227,110,251,93,217,228,7,106,111,7,76,226,69,192,215,177,194,251,97,228,82,115,161,199,26,3,96,46,45,203,70,29,200,75,13,29,97,180,243] \ No newline at end of file diff --git a/claim.sh b/claim.sh index e3a2f5d..44b58ff 100644 --- a/claim.sh +++ b/claim.sh @@ -13,11 +13,15 @@ monitor_value=${1:-0.1} #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 +rpc=https://solana-mainnet.core.chainstack.com/b366b2ab269b22f4b6dd521c59079618 +#rpc=https://mainnet.helius-rpc.com/?api-key=fa8414c7-043e-4888-922a-344a2d413ec8 +#rpc=https://prettiest-multi-scion.solana-mainnet.quiknode.pro/879eb32f3cd556cfff80973ff6a51b9e8b7a81ec/ +#rpc=https://silent-tiniest-diamond.solana-mainnet.quiknode.pro/fcef276a3d99aa044e9d7d7193aced24563de630/ -files=$(find . -maxdepth 1 -type f -name "*.json") +echo $rpc +files=$(find . -maxdepth 2 -type f -name "*.json") for keyfile in $files; do + echo $keyfile rewards=$(ore --rpc $rpc --keypair "$keyfile" rewards | sed 's/ ORE//') if [ -z "$rewards" ]; then echo "Failed to get rewards. Exiting..." @@ -30,7 +34,7 @@ for keyfile in $files; do echo "claim reward $keyfile" echo "================================================" echo "Rewards ($rewards) is greater than monitor value ($monitor_value). Claiming rewards..." - ore --rpc $rpc --keypair $keyfile --priority-fee 10000 claim + ./ore --rpc $rpc --keypair $keyfile --priority-fee 10000 claim else echo "Rewards ($rewards) is less than or equal to monitor value ($monitor_value). No action needed." fi diff --git a/loopclain.sh b/loopclain.sh new file mode 100644 index 0000000..f73f694 --- /dev/null +++ b/loopclain.sh @@ -0,0 +1,5 @@ +while true; +do + bash claim.sh 0.0001 + sleep 5 +done diff --git a/rewards.sh b/rewards.sh index e755b7d..6d44db2 100644 --- a/rewards.sh +++ b/rewards.sh @@ -5,7 +5,8 @@ rpc=https://api.mainnet-beta.solana.com total_rewards=0 -for keyfile in *.json; +files=$(find . -maxdepth 2 -type f -name "*.json") +for keyfile in $files; do source ./rpc_config rewards=$(ore --rpc $rpc --keypair $keyfile rewards 2>/dev/null | sed 's/ ORE//') diff --git a/run.sh b/run.sh index 1d52fd7..165bbed 100644 --- a/run.sh +++ b/run.sh @@ -2,17 +2,16 @@ #rpc=https://go.getblock.io/61bed5f600ab47ff903baacab0e37c36 #rpc=https://api.mainnet-beta.solana.com -rpc=https://crimson-nameless-season.solana-mainnet.quiknode.pro/05858e8f2f620b3705dc985711ee7681a3d00bbd/ # 定义RPC URL数组 -rpcurls=($rpc) +rpcurls=(https://prettiest-multi-scion.solana-mainnet.quiknode.pro/879eb32f3cd556cfff80973ff6a51b9e8b7a81ec/ https://silent-tiniest-diamond.solana-mainnet.quiknode.pro/fcef276a3d99aa044e9d7d7193aced24563de630/) for keypair in *.json; do # 随机选择一个RPC URL index=$((RANDOM % ${#rpcurls[@]})) - rpcurl=${rpcurls[$index]} - echo "选中rpc=$rpcurl" + rpc=${rpcurls[$index]} + echo "选中rpc=$rpc" screen -dmS mining_$keypair bash -c " while true; do @@ -20,7 +19,7 @@ do 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 + nice -n 2 ./ore --rpc $rpc --keypair ./$keypair --priority-fee 500000 mine --threads 2 #ore --rpc $rpc --keypair ./$keypair --priority-fee 1000000 mine --threads 16 & #sleep 5 #ore --rpc $rpc --keypair ./$keypair --priority-fee 1000000 mine --threads 16 &