Skip to content
Learning Platform
Intermediate
40 minutes
Anchor Account Lifecycle Constraints PDA Modular Structure Space Calculation Solana

Prerequisites:

  • 06-anchor-basics

Please log in with Telegram to access course materials

Log in with Telegram

Check Your Understanding

Score: 0 of 0
Conceptual
Question 1 of 3. При создании аккаунта через Anchor constraint init, необходимый space рассчитывается как 8 байт (discriminator) + сумма размеров полей данных. Например, для Pubkey (32) + u64 (8) + u8 (1) = 8 + 32 + 8 + 1 = 49 байт.

Finished the lesson?

Mark it as complete to track your progress

Войдите чтобы оценить урок