Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the size of the PDA account in the cookbook. #574

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/core-concepts/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ building block for developing on Solana.

- Accounts are used to store data
- Each account has a unique address
- Accounts have a max size of 10MB (10 Mega Bytes)
- PDA accounts have a max size of 10KB (10 Kilo Bytes)
- The current maximum size of the PDA account stands at 10 MB (10 Mega Bytes)
- During initialization, the PDA account size is restricted to a maximum of 10 KB (10 Kilo Bytes)
- With each transaction, the account size can be increased by a maximum of 10 KB (10 Kilo Bytes)
- PDA accounts can be used to sign on behalf of a program
- Accounts size are fixed at creation time, but can be adjusted using [realloc](https://solanacookbook.com/references/programs.html#how-to-change-account-size)
- Account data storage is paid with rent
Expand Down