Files
scripts/MINE/rin/QUICK_REFERENCE.md
Dobromir Popov 1bcf7109cf real mining
2025-09-04 21:06:37 +03:00

2.2 KiB

RinCoin Mining Quick Reference

🚀 Quick Commands:

Solo Mining (All Rewards to You)

# Start solo mining proxy
./MINE/rin/start_stratum_proxy.sh

# Connect miner
./cpuminer -a rinhash -o stratum+tcp://127.0.0.1:3333 -u user -p pass -t 28

Mining Pool (Distribute Rewards)

# Start mining pool
./MINE/rin/start_mining_pool.sh

# Miners connect
./cpuminer -a rinhash -o stratum+tcp://YOUR_IP:3333 -u username.workername -p x

Cleanup

# Kill proxy/pool processes
./MINE/rin/kill_stratum_proxy.sh

📊 What Each Does:

Command Purpose Rewards Miners
start_stratum_proxy.sh Solo mining 100% to you Single
start_mining_pool.sh Pool mining Distributed Multiple

🌐 Web Dashboard (Pool Only)

  • URL: http://YOUR_IP:8080
  • Features: Stats, miners, blocks, hashrate

Quick Test

# Test solo mining
./MINE/rin/start_stratum_proxy.sh &
sleep 5
./cpuminer -a rinhash -o stratum+tcp://127.0.0.1:3333 -u user -p pass -t 4



## Check wallets

# First, check available wallets and load one if needed
curl -u rinrpc:745ce784d5d537fc06105a1b935b7657903cfc71a5fb3b90 -d '{"jsonrpc":"1.0","id":"1","method":"listwalletdir","params":[]}' -H 'content-type: text/plain;' http://127.0.0.1:9556/

# Load wallet (replace "main" with your wallet name)
curl -u rinrpc:745ce784d5d537fc06105a1b935b7657903cfc71a5fb3b90 -d '{"jsonrpc":"1.0","id":"1","method":"loadwallet","params":["main"]}' -H 'content-type: text/plain;' http://127.0.0.1:9556/

# Total received by your address
curl -u rinrpc:745ce784d5d537fc06105a1b935b7657903cfc71a5fb3b90 -d '{"jsonrpc":"1.0","id":"1","method":"getreceivedbyaddress","params":["rin1qahvvv9d5f3443wtckeqavwp9950wacxfmwv20q",0]}' -H 'content-type: text/plain;' http://127.0.0.1:9556/

# Wallet balance
curl -u rinrpc:745ce784d5d537fc06105a1b935b7657903cfc71a5fb3b90 -d '{"jsonrpc":"1.0","id":"1","method":"getbalance","params":[]}' -H 'content-type: text/plain;' http://127.0.0.1:9556/

# Recent transactions
curl -u rinrpc:745ce784d5d537fc06105a1b935b7657903cfc71a5fb3b90 -d '{"jsonrpc":"1.0","id":"1","method":"listtransactions","params":[]}' -H 'content-type: text/plain;' http://127.0.0.1:9556/