Solana Reddit Smart Contract Architecture Part 2: Upvoting Threads
Josh's DevBox Josh's DevBox
8.62K subscribers
208 views
0

 Published On Jan 25, 2023

In this video series we will talk about the architecture decisions to design a smart contract to implement our own reddit clone using only the Solana blockchain. In part 2 of 4 video we will talk about how we would implement upvoting and downvoting threads.

Follow me on:
šŸ¦ Twitter: Ā Ā /Ā imjoshchangĀ Ā 
šŸŒ Site: https://joshchang.io

šŸ“™ Solana Playlist: Ā Ā Ā ā€¢Ā RustĀ CrashĀ CourseĀ TutorialĀ forĀ SolanaĀ Ā 
šŸ¤– SOLdit (Reddit Clone) Playlist: Ā Ā Ā ā€¢Ā SOLditĀ DevelopmentĀ TutorialĀ Ā 

00:00 - Intro
01:10 - Thread voting requirements
01:25 - Possible Solutions
01:57 - Solution #1: Add counter to previous ThreadAccount
03:39 - Solution #2: Individual Accounts to Represent Votes
05:43 - Solution #3: Combine previous solutions
07:51 - Conclusion

show more

Share/Embed