John f2d93baee1 add resolver = "2" to fix compile warning 1 жил өмнө
..
anchor f2d93baee1 add resolver = "2" to fix compile warning 1 жил өмнө
native 17afe2e7a4 add rust workspace and update crates version (#41) 2 жил өмнө
solang f116e3891a update to @coral-xyz/spl-token 0.30.0 1 жил өмнө
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.