Definition
A Solana program written without the Anchor framework, handling account parsing and validation by hand. It offers more control over compute and account layout at the cost of more code to write and review.
Why it matters
Native Rust gives full control over compute and account layout, which matters for high-throughput or compute-heavy protocols. It also means more hand-written validation code, so audits usually take longer per line.
What to check
- Ask why native was chosen over Anchor and what it buys your project.
- Expect a higher audit estimate for the same functionality.
Related terms
- AnchorThe most widely used framework for writing Solana programs in Rust.
- Compute units (CU)The measure of computation a Solana transaction may use.
- DiscriminatorA short prefix stored at the start of an account or instruction that identifies its type.
Guides
Get an indicative price range and timeline for auditing your Solana programs, then compare verified auditors.
Estimate your audit cost →