Ayush a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) há 1 ano atrás
..
anchor a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) há 1 ano atrás
native a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) há 1 ano atrás
README.md 007cedd188 Added a README for the checking accounts example há 3 anos atrás

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.