Registry / crypto / vipers

vipers

JSON →
library2.0.6rscratesunverified

Assorted checks and validations for writing safer Solana programs.

# Cargo.toml [dependencies] vipers = "2.0.6"
INSTALL
IMPORT
SIG · VIPERS
V
vipers
cryptorustv2.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

assert_keys_eq
✓ use vipers::assert_keys_eq;

Using assert_keys_eq to validate account keys in a Solana program.

use vipers::assert_keys_eq; assert_keys_eq!(account_a, account_b);
Debug
Known issues
gotchaOnly works within Solana program context (requires solana_program)
fix
Ensure you are building a Solana BPF program
affects: >=1.0.0
Upgrade
Version history
2.0.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
Resources
vipers — cargo add vipers · libregistry