-
Notifications
You must be signed in to change notification settings - Fork 308
Added overview to intro-to-anchor chapter #466
Conversation
|
@nickfrosty Can you please check the PR asap , the submission date is very close |
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.
This PR needs significant changes to be merged. Please see the comments above and provide an update if you're still interested in working on this.
| - `Type correctness`: Ensures that accounts match the expected data types. | ||
| - `Uniqueness`: Ensures that each account is correctly initialized and doesn't | ||
| conflict with existing ones. | ||
| - `Simplified Data Handling`: Anchor automatically serializes and deserializes | ||
| the data passed in transactions, making it easier to manage the inputs and | ||
| outputs of your program. | ||
| - `Instruction Routing`: Anchor routes incoming instructions to the appropriate | ||
| function, simplifying the process of executing program logic. |
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.
These should be indented below their parent.
| Programs are deployed at addresses In the same way, Solana programs can be | ||
| deployed using their program ID, and Anchor programs can also be deployed with a | ||
| unique public key. This keypair is created during the initialization of an | ||
| Anchor project and is stored in the target/deploy directory. |
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.
'Programs are deployed at addresses' needs a full stop.
'In the same way, Solana programs can be deployed using their program ID,' - in the same way as what? I thought the previous sentence referred to Solana programs.
'and Anchor programs can also be deployed with a unique public key' - Anchor programs are also Solana programs.
|
|
||
| - `Accounts`: These are user or program-specific accounts that store state and | ||
| data. Anchor makes it easy to define and validate accounts in your program. | ||
| - `Instructions`: These are the actions users and programs can trigger. Anchor |
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.
No. See CONTRIBUTING.md. re instructions.
|
I am still interested to work on this and will try to make the changes according to the comments. Yes it is for the superteam earn bounty |
Problem
Added overview to intro-to-anchor chapter and given a brief.
Summary of Changes
Gave a brief intro to Anchor and it applications and how it is used.
Fixes #