John 1f38abb062 update anchor basics examples пре 2 година
..
anchor 1f38abb062 update anchor basics examples пре 2 година
native 17afe2e7a4 add rust workspace and update crates version (#41) пре 2 година
solang 2c0880bb8d solang 0.3.1 пре 2 година
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.