This repository has been archived by the owner on Jun 12, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The program & dApp function the exact same way as they do in the
v2-program
branch.With these changes, likes and retweets will mint tokens to the tweet's author.
ie.
When a user likes your tweet, you'll get a Like token minted to your wallet, and a PDA will also be created so the FrontEnd can render your list of likes.
Same thing for retweets.
Note!
The
URI
for each token's metadata is specific not only to this GitHub repository but to the branch itself as well.This will need to be updated upon merge to fix metadata.