Skip to content
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 the ability to like public notes #5

Closed
7 tasks done
Tracked by #3
twilson63 opened this issue Apr 25, 2022 · 0 comments
Closed
7 tasks done
Tracked by #3

Add the ability to like public notes #5

twilson63 opened this issue Apr 25, 2022 · 0 comments

Comments

@twilson63
Copy link
Owner

twilson63 commented Apr 25, 2022

As a user,
I want to like a note
Which will provide a small fee to the owner of the note as a "Tip"

  • Create Like Contract when publishing Note and attach it to the Note Object
  • Load Likes when viewing the Note
  • Check and see if wallet address is in likes list, if so then show unlike button and hide like button
  • When user clicks like button submit the interaction as bundle interaction and show unlike button and increment likes count.
  • When unlike is clicked then submit interaction to remove wallet address from like list
  • if a user is not connected when like is clicked, show modal popup explaining to use this feature you need to connect your wallet to the application.
  • Add a target and fee to pay owner for the like
@twilson63 twilson63 mentioned this issue Apr 25, 2022
34 tasks
twilson63 added a commit that referenced this issue Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant