testsvm-quarry
Testing utilities for the Quarry protocol on Solana using the TestSVM framework.
Overview
This crate provides testing utilities and helpers for interacting with the Quarry mining protocol in a test environment. It includes functions for setting up Quarry programs, managing mining operations, and testing reward distribution mechanisms.
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Setup
Before using this crate, you need to download the Quarry program binaries. Run the following commands to fetch the required programs:
# Set your project root directory
# Download Quarry programs
Usage
use TestSVM;
use setup_quarry_programs;
Features
- Program Setup: Easy setup of Quarry mining programs in test environment
- Mining Operations: Test mining rewards and distributions
- Merge Mining: Support for testing merge mining functionality
- Mint Wrapper: Testing utilities for the Quarry mint wrapper
Program IDs
The crate includes the following Quarry program IDs:
- Quarry Mine:
QMNeHCGYnLVDn1icRAfQZpjPLBNkfGbSKRB83G5d8KB - Quarry Merge Mine:
QMMD16kjauP5knBwxNUJRZ1Z5o3deBuFrqVjBVmmqto - Quarry Mint Wrapper:
QMWoBmAyJLAsA1Lh9ugMTw2gciTihncciphzdNzdZYV
Dependencies
This crate depends on:
testsvm- Core testing framework for Solana SVManchor-lang- Anchor framework for Solana program developmentsolana-sdk- Solana SDK for blockchain interactions
License
Copyright (c) 2025 Ian Macalinao. Licensed under the Apache License, Version 2.0.