coral-xyz / sealevel-attacks

☠️ Common Security Exploits and Protections on Solana
507 stars 95 forks source link

Recommended vs. secure #1

Closed smoelius1 closed 2 years ago

smoelius1 commented 2 years ago

Sorry if I am being dense, but what are the differences between the subdirectories "recommended" and "secure"? (Presumably, "secure" code would also be "recommended"?)

armaniferrante commented 2 years ago

recommended is the idiomatic version of secure as encouraged by the anchor framework