Development Guide
Guide for contributing to Chain Forge development.
Prerequisites
- Rust 1.75+
- Node.js 18+
- Solana CLI tools
- Yarn 4 (via Corepack)
Setup
bash
git clone https://github.com/christopherferreira9/chain-forge
cd chain-forge
cargo build --workspaceBuilding
bash
# Build all crates
cargo build --workspace
# Build in release mode
cargo build --workspace --release
# Build specific crate
cargo build -p chain-forge-solana-cliTesting
bash
# Run all tests
cargo test --workspace
# Run with output
cargo test --workspace -- --nocaptureCode Quality
bash
# Format code
cargo fmt --all
# Run clippy
cargo clippy --workspace --all-features -- -D warnings