Nitish Choudhary 3c74f3b8b0 add basics/create-account/steel (#265) 9 miesięcy temu
..
anchor 97505283f8 feat: Anchor bankrun (#113) 1 rok temu
native 6d134a7a97 fix: Skip ignoring spl2.0 dependency issue (#2) (#109) 1 rok temu
poseidon a6679819ec add basics/create-account/poseidon (#150) 9 miesięcy temu
steel 3c74f3b8b0 add basics/create-account/steel (#265) 9 miesięcy temu
README.md 6178ad1ce6 Add direct calling to the System program for creating accounts 3 lat temu

README.md

Create Account

:wrench: We're going to create a Solana account. :wrench:

This account is going to be a system account - meaning it will be owned by the System Program. In short, this means only the System Program will be allowed to modify it's data.

In the test, we use two methods for creating the accounts. One of the methods uses Cross program invocation and the other calls the System Program directly.

Cross program invocation means that we send the transaction to create the account first to our deployed Solana Program, which then calls the System Program. See here for more Cross Program Invocation examples.

Calling the System Program directly means that the client sends the transaction to create the account directly to the Solana Program

In this example, this account will simply hold some SOL.

Links: