OpenViSTAI · Agents · Blockchain · Crypto
Menu
Protocols

Drillx

Drillx is a Rust proof-of-work library for smart-contract-based cryptocurrency mining. It combines Equix proof generation with Keccak hashing so miners can search nonce-based solutions and contracts can verify proofs and assess difficulty.

Independent OpenViST project profile, based on linked sources.

Drillx — OpenViST project profile in Protocols.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Drillx when building a mining workflow in which a client searches for proof-of-work solutions and a smart contract checks submitted proofs and difficulty.

Who it is for

  • Rust developers implementing proof-of-work mining clients.
  • Solana smart-contract developers who need to verify mining solutions and check their difficulty.

Documented uses

  • Search nonces until a Drillx result meets a target difficulty.
  • Validate a submitted solution against a challenge.
  • Use a verified solution’s difficulty as an input to token rewards.
Before you choose

Requirements & limits

  • Drillx is a library, so the mining client and contract workflow must be built around it.
  • The documented approach uses Equix and Keccak, with solutions represented by an Equix proof and a 64-bit nonce.
  • The repository is public and lists Rust as its primary language.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Search nonces for a Drillx solution

Use the documented Rust example to iterate through nonces and identify a result meeting a target difficulty.

Before you start

  • A Rust project using the Drillx library.
  • A 32-byte challenge supplied by a program.
  • A target difficulty.

Steps

  1. Create SolverMemory for the search.

  2. Iterate through 64-bit nonces and call Drillx hashing with the challenge and each nonce’s little-endian bytes.

  3. Check whether the result difficulty meets the target.

  4. Construct a Solution from the proof and nonce when a qualifying result is found.

Expected outcome

A Drillx solution for the supplied challenge that meets the chosen target difficulty.

Guide limitations

  • The example does not document how to obtain the challenge from a live program or how to run a complete mining client.
  • The example uses a placeholder challenge and target.
Source-based practical guide

Verify a Drillx solution and difficulty in a contract

Apply the documented checks to a submitted solution.

Before you start

  • A Rust smart-contract context that can access the challenge from state.
  • A Drillx Solution and a target difficulty.

Steps

  1. Read the challenge from program state.

  2. Check that the solution is valid for the challenge.

  3. Check that the solution hash meets the target difficulty.

Expected outcome

A solution has passed the documented validity and difficulty checks, which can inform a token-reward workflow.

Guide limitations

  • The example does not show contract deployment, transaction construction, or reward issuance code.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
18 October 2026
Original website title
regolith-labs/drillx · Official homepage title · retained in its source language