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
Add Counter PDA Tutorial - Easy #71
Conversation
I have created more pages to explain information about the Counter tutorial accounts.
In this commit I have added more steps : explaining all the anchor program + anchor build
Added build + deploy + test
- **Data Validators**: a section for all the accounts that we will have to create and declare. As you can see, the *Context*<Name> from the functions is actually the same as the Data validators. | ||
|
||
- **Data Structures**: the structure of the accounts / rust structs that we will use to store info! In the program is pretty clear, the Counter account will store 2 things: | ||
```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bash
should be rust
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also ideally, the images live under the tutorial's folder, not the existing tutorial template folder. You can create counter-easy
folder inside public/tutorials
to keep things more organized.
Thank you so much for making this! I've requested a small change and could you please run |
Ok! - I have changed the path of the images. - The bash formats I have changed to Rust(with the exception of solana airdrop 2 because is not Rust) - Add initial image in 1.md - yarn format before commit
Merged! Thanks again, one more small thing: it would be better to name the folder with React's naming convention |
Perfect!! I will change the folder name and pull request again. Thanks!! |
I have created a Counter PDA Tutorial for the Solana Playground. This will be an easy tutorial to get a better understanding of accounts, PDAs, and how basic operations work on Solana Anchor Programs.
Is designed to be an introductory tutorial, where the user will have to fill the gaps in functions following the instructions from the pages of the tutorial.