5 releases

0.1.3 Dec 9, 2025
0.1.2 Dec 9, 2025
0.1.1 Dec 5, 2025
0.1.0 Dec 5, 2025

#1397 in #solana

Download history 88/week @ 2025-12-04 74/week @ 2025-12-11 82/week @ 2025-12-18 26/week @ 2025-12-25 112/week @ 2026-01-01 92/week @ 2026-01-08 62/week @ 2026-01-15 50/week @ 2026-01-22 399/week @ 2026-01-29 64/week @ 2026-02-05 11/week @ 2026-02-12 75/week @ 2026-02-19 152/week @ 2026-02-26 54/week @ 2026-03-05 49/week @ 2026-03-12 22/week @ 2026-03-19

296 downloads per month
Used in 7 crates (via ore-api)

Apache-2.0

6KB
109 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

~30MB
~568K SLoC