Crates.io | vipers |
lib.rs | vipers |
version | 2.0.6 |
source | src |
created_at | 2021-08-15 21:59:43.662667 |
updated_at | 2022-07-20 19:16:27.658442 |
description | Assorted checks and validations for writing safer Solana programs. |
homepage | https://saber.so |
repository | https://github.com/saber-hq/vipers |
max_upload_size | |
id | 437485 |
size | 34,138 |
Assorted checks and validations for writing safer Solana programs.
Solana's fee mechanism is unlike Ethereum's, in that the number of bytecode instructions executed does not add to the cost of a transaction. Due to this, it is wise to design Solana code with excessive safety checks in order to minimize the chance of exploits.
This library provides several utilities for Anchor programs to validate account structs and check for invariants.
For support, join the Saber Discord at chat.saber.so!
Apache 2.0