Perelyn 52b3a69ff0 add basics/checking-accounts/steel (#199) 9 місяців тому
..
anchor 97505283f8 feat: Anchor bankrun (#113) 1 рік тому
native 6d134a7a97 fix: Skip ignoring spl2.0 dependency issue (#2) (#109) 1 рік тому
poseidon 86cbb2a87e add basics/checking-accounts/poseidon (#251) 9 місяців тому
steel 52b3a69ff0 add basics/checking-accounts/steel (#199) 9 місяців тому
README.md 007cedd188 Added a README for the checking accounts example 3 роки тому

README.md

Checking Accounts

Solana Programs should perform checks on instructions to ensure security and that required invariants are not being violated.

These checks vary and depend on the exact task of the Solana Program.

In this example we see some of the common checks a Solana Program can perform:

  • checking the program ID from the instruction is the program ID of your program
  • checking that the order and number of accounts are correct
  • checking the initialization state of an account
  • etc.