2025-07-14 15:38:47 -07:00
fee
2025-07-14 14:55:27 -07:00
2025-06-30 14:57:55 -10:00
2025-07-14 15:38:47 -07:00
2024-02-16 20:32:37 +00:00
2025-06-24 16:38:06 -05:00
2025-06-24 16:38:06 -05:00
2025-06-06 18:25:55 -07:00
2025-06-16 15:06:53 -07:00
2025-05-24 00:50:10 -07:00

ORE

Mine blockspace. Trade hashpower. Earn rewards.

API

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

Instructions

  • Open - Open a new block.
  • Close - Close a block and pay out the reward.
  • Mine - Mine the current block.
  • Swap - Trade in a hashpower market.

State

  • Block - A period of time for mining.
  • Config - Global program configuration.
  • Market - Hashpower market for a given block.
  • Miner - Tracks a miner state and history.
  • Permit - Tracks a miner's commitment to mine a block.
  • Stake - Tracks a miner's collateral for trading in a market.
  • Treasury - The mint authority of the ORE token.

Tests

To run the test suite, use the Solana toolchain:

cargo test-sbf

For line coverage, use llvm-cov:

cargo llvm-cov
Description
No description provided
Readme 2.7 MiB
Languages
Rust 99.5%
Shell 0.5%