新增一批账号
This commit is contained in:
@@ -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]
|
||||||
@@ -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]
|
||||||
@@ -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]
|
||||||
@@ -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]
|
||||||
@@ -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]
|
||||||
@@ -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]
|
||||||
@@ -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]
|
||||||
@@ -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]
|
||||||
@@ -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]
|
||||||
@@ -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]
|
||||||
12
claim.sh
12
claim.sh
@@ -13,11 +13,15 @@ monitor_value=${1:-0.1}
|
|||||||
#export https_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://api.mainnet-beta.solana.com
|
||||||
#rpc=https://crimson-nameless-season.solana-mainnet.quiknode.pro/05858e8f2f620b3705dc985711ee7681a3d00bbd/
|
rpc=https://solana-mainnet.core.chainstack.com/b366b2ab269b22f4b6dd521c59079618
|
||||||
rpc=https://mainnet.helius-rpc.com/?api-key=fa8414c7-043e-4888-922a-344a2d413ec8
|
#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
|
for keyfile in $files; do
|
||||||
|
echo $keyfile
|
||||||
rewards=$(ore --rpc $rpc --keypair "$keyfile" rewards | sed 's/ ORE//')
|
rewards=$(ore --rpc $rpc --keypair "$keyfile" rewards | sed 's/ ORE//')
|
||||||
if [ -z "$rewards" ]; then
|
if [ -z "$rewards" ]; then
|
||||||
echo "Failed to get rewards. Exiting..."
|
echo "Failed to get rewards. Exiting..."
|
||||||
@@ -30,7 +34,7 @@ for keyfile in $files; do
|
|||||||
echo "claim reward $keyfile"
|
echo "claim reward $keyfile"
|
||||||
echo "================================================"
|
echo "================================================"
|
||||||
echo "Rewards ($rewards) is greater than monitor value ($monitor_value). Claiming rewards..."
|
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
|
else
|
||||||
echo "Rewards ($rewards) is less than or equal to monitor value ($monitor_value). No action needed."
|
echo "Rewards ($rewards) is less than or equal to monitor value ($monitor_value). No action needed."
|
||||||
fi
|
fi
|
||||||
|
|||||||
5
loopclain.sh
Normal file
5
loopclain.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
while true;
|
||||||
|
do
|
||||||
|
bash claim.sh 0.0001
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
@@ -5,7 +5,8 @@
|
|||||||
|
|
||||||
rpc=https://api.mainnet-beta.solana.com
|
rpc=https://api.mainnet-beta.solana.com
|
||||||
total_rewards=0
|
total_rewards=0
|
||||||
for keyfile in *.json;
|
files=$(find . -maxdepth 2 -type f -name "*.json")
|
||||||
|
for keyfile in $files;
|
||||||
do
|
do
|
||||||
source ./rpc_config
|
source ./rpc_config
|
||||||
rewards=$(ore --rpc $rpc --keypair $keyfile rewards 2>/dev/null | sed 's/ ORE//')
|
rewards=$(ore --rpc $rpc --keypair $keyfile rewards 2>/dev/null | sed 's/ ORE//')
|
||||||
|
|||||||
9
run.sh
9
run.sh
@@ -2,17 +2,16 @@
|
|||||||
|
|
||||||
#rpc=https://go.getblock.io/61bed5f600ab47ff903baacab0e37c36
|
#rpc=https://go.getblock.io/61bed5f600ab47ff903baacab0e37c36
|
||||||
#rpc=https://api.mainnet-beta.solana.com
|
#rpc=https://api.mainnet-beta.solana.com
|
||||||
rpc=https://crimson-nameless-season.solana-mainnet.quiknode.pro/05858e8f2f620b3705dc985711ee7681a3d00bbd/
|
|
||||||
|
|
||||||
# 定义RPC URL数组
|
# 定义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;
|
for keypair in *.json;
|
||||||
do
|
do
|
||||||
# 随机选择一个RPC URL
|
# 随机选择一个RPC URL
|
||||||
index=$((RANDOM % ${#rpcurls[@]}))
|
index=$((RANDOM % ${#rpcurls[@]}))
|
||||||
rpcurl=${rpcurls[$index]}
|
rpc=${rpcurls[$index]}
|
||||||
echo "选中rpc=$rpcurl"
|
echo "选中rpc=$rpc"
|
||||||
|
|
||||||
screen -dmS mining_$keypair bash -c "
|
screen -dmS mining_$keypair bash -c "
|
||||||
while true; do
|
while true; do
|
||||||
@@ -20,7 +19,7 @@ do
|
|||||||
source rpc_config
|
source rpc_config
|
||||||
fi
|
fi
|
||||||
echo \"Starting indefinite ore mining iteration with $keypair....\"
|
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 &
|
#ore --rpc $rpc --keypair ./$keypair --priority-fee 1000000 mine --threads 16 &
|
||||||
#sleep 5
|
#sleep 5
|
||||||
#ore --rpc $rpc --keypair ./$keypair --priority-fee 1000000 mine --threads 16 &
|
#ore --rpc $rpc --keypair ./$keypair --priority-fee 1000000 mine --threads 16 &
|
||||||
|
|||||||
Reference in New Issue
Block a user