Crates.io | lumos-svm-rs |
lib.rs | lumos-svm-rs |
version | 0.1.1 |
created_at | 2025-03-12 13:22:50.519082+00 |
updated_at | 2025-03-12 13:22:50.519082+00 |
description | A simple SVM test validator. 🦀 |
homepage | https://github.com/ffimnsr/lumos-svm-rs |
repository | https://github.com/ffimnsr/lumos-svm-rs |
max_upload_size | |
id | 1589741 |
size | 233,201 |
A Solana Test Validator Manager (SVM) that simplifies local development and testing of Solana programs.
cargo install lumos-svm
lumos.toml
):[general]
rpc_endpoint = "https://eclipse.lgns.net/"
ledger_dir = ".lumos-ledger" # Optional, defaults to .lumos-ledger
[account.usdc]
address = "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
[program.orca_whirlpool]
address = "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
lumos-svm start
You can modify the mint authority for cloned token accounts:
[general]
rpc_endpoint = "https://eclipse.lgns.net/"
mint_authority = "<YOUR-PUBLIC-KEY>"
[account.usdc]
address = "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
mint = true # Set this token as mintable
update = true # Update if previously cloned
This configuration:
lumos-svm run
: Start the test validatorlumos-svm analyze <ADDRESS>
: Analyze token or program detailslumos-svm clone
: Clone accounts and programs from config# Clone the repository
git clone https://github.com/ffimnsr/lumos-svm-rs
cd lumos-svm-rs
# Build
cargo build
# Run tests
cargo test
solana-test-validator
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the Apache and MIT License - see the COPYING file for details.