John 1f38abb062 update anchor basics examples 2 vuotta sitten
..
anchor 1f38abb062 update anchor basics examples 2 vuotta sitten
native 17afe2e7a4 add rust workspace and update crates version (#41) 2 vuotta sitten
solang 2c0880bb8d solang 0.3.1 2 vuotta sitten
README.md 007cedd188 Added a README for the checking accounts example 3 vuotta sitten

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.