Skip to content

Add CreateAccountAllowPrefund instruction (SIMD-0312)#81

Merged
lorisleiva merged 2 commits into
mainfrom
loris/add-create-account-allow-prefund
May 29, 2026
Merged

Add CreateAccountAllowPrefund instruction (SIMD-0312)#81
lorisleiva merged 2 commits into
mainfrom
loris/add-create-account-allow-prefund

Conversation

@lorisleiva
Copy link
Copy Markdown
Member

Adds the new System Program instruction CreateAccountAllowPrefund (discriminator 13) per SIMD-0312, which allows account creation when the new account already holds lamports. The payer account is optional and only required when lamports > 0.

Adds the new System Program instruction CreateAccountAllowPrefund (discriminator 13) per [SIMD-0312](https://github.com/solana-foundation/solana-improvement-documents/blob/main/proposals/0312-create-account-allow-prefund.md), which allows account creation when the new account already holds lamports. The payer account is optional and only required when lamports > 0.
@lorisleiva lorisleiva marked this pull request as ready for review May 29, 2026 08:00
@lorisleiva lorisleiva requested a review from joncinque May 29, 2026 08:01
Comment thread idl.json
@lorisleiva lorisleiva requested a review from febo May 29, 2026 11:53
Copy link
Copy Markdown
Contributor

@febo febo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Copy link
Copy Markdown
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@lorisleiva lorisleiva merged commit 332b92f into main May 29, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants