regolith-labs
ore
Rust

Future-proof electronic cash.

Last updated Jul 7, 2026
816
Stars
290
Forks
49
Issues
+1
Stars/day
Attention Score
79
Topics
Language breakdown
Rust 99.6%
Shell 0.4%
Files click to expand
README

ORE

Future-proof electronic cash.

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.

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.
  • 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
🔗 More in this category

© 2026 GitRepoTrend · regolith-labs/ore · Updated daily from GitHub