Continuing the Solana Development Course in the Anchor module: Deep dive into seed and bump constraints, init_if_needed, reallocation and closing accounts.
FInd the lesson here:
[ Ссылка ]
Chapters
0:00 Introduction
2:31 Overview
4:51 PDAs in Anchor (seed and bump constraints)
19:53 Seed Inference
25:55 Init_if_needed
32:31 Bumps
33:25 Binding accounts through to signers via seeds
36:44 Storing Bumps
44:07 Realloc
50:07 Close Constraint
55:05 Conclusion
Join the discord
[ Ссылка ]
More links:
[ Ссылка ]
Ещё видео!