2.5k
GitHub Stars
3
Bundled Files
2 months ago
Catalog Refreshed
3 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill agent-lottery- _meta.json284 B
- README.md4.4 KB
- SKILL.md5.8 KB
Overview
This skill lets you run a Bitcoin solo-mining "lottery" using CPU power for entertainment. It helps set up or import a wallet, configure CPU usage, start/stop mining, and check lottery-style mining statistics. It is explicitly not intended for serious mining — odds of finding a block are astronomically low.
How this skill works
The skill installs or verifies a CPU miner and a CPU limiter, then configures a wallet (use existing address, import a private key, or generate a new wallet) and starts a background miner. It tracks shares, best difficulty, runtime, CPU limit, and fetches real-time network difficulty to report lottery odds. Commands allow starting, stopping, changing CPU usage on the fly, and producing a user-friendly lottery summary.
When to use it
- You want to try solo Bitcoin mining for fun or as an experiment (not profit).
- You need help generating or importing a Bitcoin wallet for mining rewards.
- You want to set or adjust CPU usage during mining without stopping the process.
- You want periodic or on-demand lottery stats: shares, best share, network difficulty, and odds.
- You need quick status commands to run on Linux, macOS, or WSL on Windows.
Best practices
- Treat this as entertainment only; don’t rely on rewards.
- Save and back up private keys immediately if a new wallet is generated. The private key is the only way to access funds.
- Use conservative CPU limits (5–20%) on general-purpose devices to avoid impacting normal use.
- Run the installer and miner inside a supported environment (Linux, macOS, or WSL) for easiest CPU limiting. Native Windows needs third-party tools.
- Check mining status and best difficulty periodically to understand progress and realistic odds.
Example use cases
- First-time setup: generate a new wallet, set CPU to 10%, and start background lottery mining.
- Import an existing private key, start mining, and have rewards sent to your known address.
- Adjust CPU dynamically while mining: reduce to 5% during work hours and raise to 30% on a dedicated machine.
- Run the lottery summary command to see total shares, best difficulty, network difficulty, and estimated odds.
- Install dependencies and verify cpuminer-opt and cpulimit via the installer script before starting.
FAQ
No. CPU solo mining is effectively entertainment. Network difficulty makes the probability of finding a block extremely low; treat any reward as a rare lucky event.
What happens if I lose the private key?
If you lose the private key for a generated or imported wallet, you lose access to any funds mined to that address. Back up the private key securely when it is shown.
Can I change CPU usage while mining?
Yes. The skill supports dynamic CPU adjustments while mining via the setcpu command, letting you throttle usage without stopping the miner.