John b4618e8ede Merge branch 'main' into anchor-update 1 rok temu
..
anchor b4618e8ede Merge branch 'main' into anchor-update 1 rok temu
native a70c93ba45 test: Adding test jobs github actions for anchor and solana native 💚 (#76) 1 rok temu
README.md 007cedd188 Added a README for the checking accounts example 3 lat temu

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.