Skip to content

Instantly share code, notes, and snippets.

View wallyredacted's full-sized avatar

wallyredacted

View GitHub Profile
@wallyredacted
wallyredacted / gist:82b8e014766822543689d2e8985c4961
Last active January 29, 2026 09:28
LiteSVM transaction simulation example
let mut svm = LiteSVM::new()
.with_sysvars()
.with_precompiles()
.with_sigverify(true)
.with_default_programs();
// Load programs once
svm.add_program(
self.pump_fees_program_id,