TopRank Skills

Home / Claw Skills / 其他 / Rbtc
Official OpenClaw rules 15%

Rbtc

rBitcoin Agent Skill

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Rbtc 技能。 若已安装,则直接安装 Rbtc 技能。

Overview

Skill Key
happybigmtn/rbtc
Author
happybigmtn
Source Repo
openclaw/skills
Version
-
Source Path
skills/happybigmtn/rbtc
Latest Commit SHA
ce9efec03f20bfa94fac46e27912c6c4891739ef

Extracted Content

SKILL.md excerpt

# rBitcoin Agent Skill

Bitcoin Core fork from genesis, upstream-pinned to official release tags.
The only delta is a scope-limited immutable patch for chain identity.

## Quickstart

```bash
./install.sh v30.2
```

This verifies the upstream release (GPG + checksums), builds with the immutable patch, starts the node, and optionally starts a CPU miner.

Override defaults:

```bash
MINER_CPU_PERCENT=25 MINER_MAX_THREADS=2 ./install.sh v30.2
```

## Environment Variables

| Variable | Default | Description |
|---|---|---|
| `MINER_CPU_PERCENT` | `25` | Max CPU percentage for mining |
| `MINER_MAX_THREADS` | `2` | Max miner threads |
| `MINER_THREADS` | (auto) | Explicit thread count |
| `MINER_BACKGROUND` | `0` | Run miner in background |
| `START_MINER` | `1` | Set to `0` to skip miner startup |
| `AUTO_ACCEPT_NETWORK_PATCH_HASH` | `1` | Set to `0` for strict patch-hash pinning |
| `RPC_ALLOWIP` | `127.0.0.1` | RPC access control |
| `RPC_BIND` | `127.0.0.1` | RPC bind address |

## Verify

Audit the upstream release and local binary without running a node:

```bash
./scripts/agent_verify.sh v30.2
```

Outputs a machine-readable report to `reports/agent-verify-v30.2.json`.

Verify patch scope stays within the allowed file set:

```bash
./scripts/enforce_patch_scope.sh ./patch/immutable.patch
```

Verify binary provenance against a manifest:

```bash
./scripts/verify_local_binary.sh ./build/bitcoind ./manifests/manifest.json
```

## Build

```bash
./scripts/build_from_tag.sh v30.2
```

Fetches the upstream tag, applies the immutable patch, and compiles. The binary lands in `./build/bitcoind`.

Generate the update manifest after building:

```bash
./scripts/make_update_manifest.sh v30.2
```

## Run

```bash
./scripts/run_node.sh --datadir ~/.rbitcoin --network main
```

RPC defaults to port `19332`, P2P to `19333`. Connect to seed nodes by adding `addnode=<ip>:19333` entries to `~/.rbitcoin/bitcoin.conf`.

## Mine

Solo CPU mining with `cpuminer` (sha256d):

```bash
./...

Related Claw Skills