I would like to know how many accounts I can create and how much max data each account can take in Anchor PDA Program.
1 Answer
The maximum size of any account is 10 megabytes. Each account address on your Solana program will take 32 bytes for the address. You can make as many as your solana program can handle. You can study more form Solana cookbook docs, and about solana account under the "Creating" heading section in Solana official docs.
-
In addition, if you are creating a PDA account, you're limited to 10kb for the account size.– Jon CCommented Oct 31, 2022 at 16:43
-
I want to know a count that how many accounts i can create in either PDA account or normal account right now I testing for this i haven't got any error , i created 100 accounts with normal data storage account– MojoCommented Nov 2, 2022 at 4:24