diff --git a/key/10.HEoRLDxpJESLF9bpDHLchE2u9rdav68Hog6bj1SLGv2c.json b/key/10.HEoRLDxpJESLF9bpDHLchE2u9rdav68Hog6bj1SLGv2c.json deleted file mode 100644 index 4824d06..0000000 --- a/key/10.HEoRLDxpJESLF9bpDHLchE2u9rdav68Hog6bj1SLGv2c.json +++ /dev/null @@ -1 +0,0 @@ -[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/run.sh b/run.sh index 636e394..8b8e0fa 100644 --- a/run.sh +++ b/run.sh @@ -32,7 +32,7 @@ do index=\$((RANDOM % \${#rpcurls[@]})) rpc=\${rpcurls[\$index]} echo \"Starting indefinite ore mining iteration with $keypair and rpc \$rpc ....\" - nice -n 2 ./ore --rpc \$rpc --keypair $keypair --priority-fee 1000000 mine --threads 2 + nice -n 2 ./ore --rpc \$rpc --keypair $keypair --priority-fee 20000000 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 & diff --git a/solBalance.sh b/solBalance.sh index a5f22fd..37cdc48 100644 --- a/solBalance.sh +++ b/solBalance.sh @@ -8,11 +8,8 @@ total_sol=0 files=$(find . -maxdepth 2 -type f -name "*.json") for keyfile in $files; do - if [ -f ./rpc_config ]; then - source ./rpc_config - fi # 获取源账户余额(以lamports为单位) - balance_lamports=$(solana balance $from_keypair --url $RPC_URL --output json | jq -r '.lamports') + balance_lamports=$(solana balance $keyfile --url $rpc --output json | jq -r '.lamports') balance_SOL=$(echo "scale=9; $balance_lamports / 1000000000" | bc) total_sol=$(echo "$total_sol + $balance_SOL" | bc) echo $keyfile $balance_SOL SOL