RequantTESTNET
Requant documentation

Mining

Mining Requant means running TNet attempts: eight int8 matrix layers per batch of rows, on a GPU's matrix or dot-product units or on a phone's CPU. The miner is CPPminer with its tnet backend: CUDA for NVIDIA, OpenCL for AMD and Intel, the CPU on Android.

Hardware

  • NVIDIA with tensor cores, Turing generation or newer: RTX 20, 30, 40 and 50 series; CMP 50HX is a measured Turing configuration. GTX 16-series and CMP 30HX do not have tensor cores and are not supported by this TNet CUDA path. A current NVIDIA driver is all that is needed; the int8 kernels (CUTLASS) ship inside the miner.
  • AMD and Intel (OpenCL, from CPPminer v0.5-fork.12): AMD GPUs use their int8 dot instructions (RDNA3/4, RDNA2, GCN5); Intel Arc uses its XMX matrix engines through the bundled ESIMD library. A current GPU driver with OpenCL is needed. Add --backend opencl on a machine that also has an NVIDIA GPU.
  • Memory: 512 MiB for the epoch weights plus about 2 × batch × 8192 bytes; the default batch of 8192 rows adds about 130 MiB. Lower --batch on small or integrated GPUs (--batch 1024); on Intel Arc keep it a multiple of 512.
  • Android phones, on the CPU (from CPPminer v0.5-fork.13): arm64 with Android 8 or newer; far slower than a GPU. See Mine on a phone.
  • Other CPUs: the miner's plain kernel gives the right answer but is too slow to mine with.

Measured rates, with their conditions, are on measurements: about 5.3 million tickets per second on an RTX 3090, 0.88 million on an Arc A380 and about 45,000 on a POCO F7 Ultra in CPPminer.

Get the miner

Download the latest package from CPPminer releases:

  • cppminer-win64-cuda.zip for 64-bit Windows;
  • cppminer-linux-x64-cuda.tar.gz for 64-bit Linux (Ubuntu 24.04 or newer, glibc 2.39);
  • cppminer-android-arm64.tar.gz for Android phones;
  • SHA256SUMS.txt to check the downloads.

Then check the GPU:

cppminer --algo tnet --selftest

The self-test compares SHA-256, the weight expansion, the ticket hash and the int8 GEMM on the GPU with the CPU and says clearly when no usable GPU is present. On AMD or Intel: cppminer --algo tnet --backend opencl --selftest (cppminer --backend opencl --list-devices shows the device numbers for --device).

Get a payout address

The miner pays to a key hash, the 64-hex-character form of an address.

requant-wallet create miner.wallet
requant-wallet address miner.wallet      # prints the address and its key hash

The Web Wallet shows the key hash of an address as well.

Mine in the pool

No node needed. The pool pays a share of every block it finds.

cppminer --algo tnet --rpc pool.requant.network:19340 --payee YOUR_KEY_HASH --worker rig1
  • --worker names the device on the pool page; one address can have many devices.
  • How shares, the fee and payouts work: the pool.

Mine solo

Run your own node and point the miner at its RPC:

requantd --network test --datadir ~/requant-test --connect pool.requant.network:19333
cppminer --algo tnet --rpc 127.0.0.1:19334 --payee YOUR_KEY_HASH

The node builds the block, including the development-fund output, and verifies every claim the miner submits. A found block pays its full reward minus the 6% fund share, plus fees, to your key hash; it is spendable after 100 blocks.

Mine on a phone

cppminer-android-arm64.tar.gz is one file with no libraries beside it, and mines on the phone's CPU with its I8MM or DotProd instructions. So far it has only been run from adb shell, which needs USB debugging but no root.

tar xzf cppminer-android-arm64.tar.gz && cd cppminer-android-arm64
./cppminer --algo tnet --selftest
./cppminer --algo tnet --rpc pool.requant.network:19340 --payee YOUR_KEY_HASH --worker phone

It takes about 700 MiB of memory. Before leaving one to mine:

  • Charge. The miner does not watch it. On a computer's USB port one phone lost 13% to 36% of its charge an hour, so use a real charger.
  • Heat. The phone slows its cores down as it warms, so the rate follows the temperature. The miner pauses at 45 °C at the battery and goes on at 42 °C, where Android lets it read that temperature.
  • Sleep. Without a charger and with the screen off a phone may sleep, and the miner then waits.
  • VPN. A VPN on the phone carries the miner's traffic too and can cut it off from the pool.

Options for TNet

OptionMeaning
--algo tnetthe Requant work function (requant is accepted as an alias)
--rpc HOST:PORTa pool or a node's JSON-RPC
--payee HASH64-hex key hash that receives rewards
--worker NAMEdevice name in pool statistics
--device Nwhich GPU to use
--batch Nrows per GPU pass; any value is valid, larger is faster up to memory limits
--selftestcheck the GPU against the CPU and exit

Environment: CP_TNET_GEMM=sm75|sm80 forces a kernel.

How the miner works

  • Kernels. Two CUTLASS int8 tensor-core kernels: one for Turing, one for Ampere, Ada and Blackwell. At start the miner checks the kernel against the CPU on random matrices; if the newer kernel disagrees it falls back to the Turing kernel, and if neither agrees it refuses to mine.
  • The GPU never waits for the network. Separate threads submit winning tickets (up to 16 per pass) and watch the chain tip.
  • Long polling. A second connection keeps getwork open; the node (0.13.0 and newer) or the pool (0.14.0 and newer) answers the moment a new block arrives. With older endpoints the miner checks the tip every second. The log says which mode is in use.
  • Stale work. A ticket found for a tip the miner has already left is counted as stale and not sent.
  • No miner fee. CPPminer takes no fee for Requant; the project is funded by the consensus development fund.

Known limits

  • No TNet in the HiveOS or Docker builds of CPPminer yet.
  • The Ampere-and-newer kernel has not yet been benchmarked against cuBLAS; correctness is guarded by the start-up check.
  • One GPU per process; run one miner per device.
  • Phones: tried on a Snapdragon 860 and an 8 Elite only.

More detail: CPPminer TNet guide. The mining protocol for your own software: mining protocol.

Get help or contribute measurements

For miner setup and troubleshooting, contact support@requant.network with the miner version, GPU, driver, operating system and relevant error messages. For reproducible benchmarks or hardware collaboration, contact dev@requant.network or see Partnerships & funding.

You can also ask the community in #mining on ReQuant Discord. Include your GPU model, miner and driver versions, and logs with credentials removed.