#solana #mining

drillx

Drillx is a proof-of-work algorithm for cryptocurrency mining on Solana

7 releases (stable)

2.2.0 Feb 10, 2025
2.1.0 Aug 22, 2024
2.0.0-beta.1 Jul 16, 2024
1.0.0 Jul 31, 2024
0.1.0 Apr 23, 2024

#50 in #mining

Download history 329/week @ 2025-10-12 583/week @ 2025-10-19 393/week @ 2025-10-26 525/week @ 2025-11-02 616/week @ 2025-11-09 377/week @ 2025-11-16 335/week @ 2025-11-23 359/week @ 2025-11-30 325/week @ 2025-12-07 324/week @ 2025-12-14 410/week @ 2025-12-21 338/week @ 2025-12-28 315/week @ 2026-01-04 215/week @ 2026-01-11 420/week @ 2026-01-18 305/week @ 2026-01-25

1,313 downloads per month
Used in 27 crates (21 directly)

Apache-2.0 and LGPL-3.0-only

10KB
190 lines

ORE

ORE is a crypto mining protocol.

API

  • Consts – Program constants.
  • Error – Custom program errors.
  • Event – Custom program events.
  • Instruction – Declared instructions and arguments.

Instructions

Mining

  • Automate - Configures a new automation.
  • Checkpoint - Checkpoints rewards from an prior round.
  • ClaimORE - Claims ORE mining rewards.
  • ClaimSOL - Claims SOL mining rewards.
  • Deploy – Deploys SOL to claim space on the board.
  • Initialize - Initializes program variables.
  • Log – Logs non-truncatable event data.
  • ReloadSOL - Reloads SOL mining rewards into automation.
  • Reset - Resets the board for a new round.

Staking

Admin

  • Bury - Executes a buy-and-bury transaction.
  • Wrap - Wraps SOL in the treasury for swap transactions.
  • SetAdmin - Re-assigns the admin authority.
  • SetFeeCollector - Updates the fee collection address.
  • SetFeeRate - Updates the fee charged per swap.

State

  • Automation - Tracks automation configs.
  • Board - Tracks the current round number and timestamps.
  • Config - Global program configs.
  • Miner - Tracks a miner's game state.
  • Round - Tracks the game state of a given round.
  • Seeker - Tracks whether a Seeker token has been claimed.
  • Stake - Manages a user's staking activity.
  • Treasury - Mints, burns, and escrows ORE tokens.

Tests

To run the test suite, use the Solana toolchain:

cargo test-sbf

For line coverage, use llvm-cov:

cargo llvm-cov

Dependencies

~2.1–6.5MB
~119K SLoC