66 releases (stable)

3.7.27 Jan 13, 2026
3.7.24 Dec 19, 2025
3.7.12 Nov 26, 2025
3.6.0 Apr 7, 2025
2.0.0 Jul 31, 2024

#354 in #solana

Download history 717/week @ 2025-11-05 288/week @ 2025-11-12 274/week @ 2025-11-19 264/week @ 2025-11-26 279/week @ 2025-12-03 247/week @ 2025-12-10 243/week @ 2025-12-17 217/week @ 2025-12-24 223/week @ 2025-12-31 138/week @ 2026-01-07 234/week @ 2026-01-14 222/week @ 2026-01-21 221/week @ 2026-01-28 182/week @ 2026-02-04 100/week @ 2026-02-11 201/week @ 2026-02-18

727 downloads per month
Used in 21 crates (20 directly)

Apache-2.0

56KB
1K SLoC

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

~30MB
~567K SLoC