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