You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ So, you'll notice that these operations are in fact conducting what's called a *
20
20
Deciding when to use cross-program invocation instead of invoking the programs directly from the client is completely up to you as the builder. It depends on how your application is designed.
21
21
- Maybe you want to add some checks - such as minimum balance required, allowed ownership, etc.
22
22
- Maybe you want to assert that an account has a certain data type.
23
-
- Perhaps you want to send only one transaction from your client for a handful of sequential operations.
23
+
- Perhaps you want to send only one instruction from your client for a handful of sequential operations.
24
24
- The list goes on.
25
25
Regardless of what you may want to add on top of existing Solana programs, the number one use case for writing your own program is for using accounts with a **Program Derived Address (PDA)**. Crack open the `pdas` folder to see why.
26
26
@@ -34,3 +34,19 @@ Regardless of what you may want to add on top of existing Solana programs, the n
34
34
- Before running anything in any folder make sure you pull in the dependencies with `yarn install`.
35
35
-`native` - Use `cicd.sh` to build & deploy the program. Run `yarn run test` to test it.
36
36
-`anchor` - Use `anchor build && anchor deploy` to build & deploy the program. Run `anchor run test` to test it.
0 commit comments