Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Conversation

@shivaji43
Copy link
Contributor

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 #

@shivaji43
Copy link
Contributor Author

@nickfrosty Can you please check the PR asap , the submission date is very close

Copy link
Contributor

@mikemaccana mikemaccana left a 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.

Comment on lines 33 to 40
- `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.
Copy link
Contributor

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.

Comment on lines 44 to 47
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.
Copy link
Contributor

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
Copy link
Contributor

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.

@shivaji43
Copy link
Contributor Author

shivaji43 commented Sep 24, 2024

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

@shivaji43 shivaji43 closed this Oct 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants