Solana Reddit Smart Contract Architecture Part 2: Upvoting Threads

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: https://twitter.com/imJoshChang
🌐 Site: https://joshchang.io

📙 Solana Playlist: https://www.youtube.com/watch?v=-AAtfPHEMbA&list=PL53JxaGwWUqCr3xm4qvqbgpJ4Xbs4lCs7
🤖 SOLdit (Reddit Clone) Playlist: https://www.youtube.com/playlist?list=PL53JxaGwWUqCfzhFqW9OB7f9To9tGe7bp

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

(Visited 20 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 0,714960 6,76%
aave
Aave (AAVE) 80,97 5,30%
the-graph
The Graph (GRT) 0,242040 13,37%
kusama
Kusama (KSM) 29,30 9,41%
waves
Waves (WAVES) 2,32 5,31%
dash
Dash (DASH) 27,92 6,04%
bitcoin
Bitcoin (BTC) 61.244,63 2,59%
ethereum
Ethereum (ETH) 2.939,65 5,00%
cardano
Cardano (ADA) 0,433991 4,27%
tether
Tether (USDT) 0,938087 0,08%
xrp
XRP (XRP) 0,468803 5,42%
solana
Solana (SOL) 138,98 7,48%
polkadot
Polkadot (DOT) 6,33 6,08%
usd-coin
USDC (USDC) 0,937150 0,12%
dogecoin
Dogecoin (DOGE) 0,149341 6,69%
uniswap
Uniswap (UNI) 6,94 7,92%
terra-luna
Terra Luna Classic (LUNC) 0,000096 14,00%
litecoin
Litecoin (LTC) 74,02 4,03%
chainlink
Chainlink (LINK) 13,04 5,65%
bitcoin-cash
Bitcoin Cash (BCH) 489,08 11,71%
algorand
Algorand (ALGO) 0,165998 7,26%
matic-network
Polygon (MATIC) 0,661640 9,33%
stellar
Stellar (XLM) 0,101859 4,03%
cosmos
Cosmos Hub (ATOM) 7,71 3,36%
filecoin
Filecoin (FIL) 5,72 8,32%
tron
TRON (TRX) 0,105374 2,57%
ethereum-classic
Ethereum Classic (ETC) 24,75 5,15%
dai
Dai (DAI) 0,936908 0,13%
tezos
Tezos (XTZ) 0,970887 7,12%
monero
Monero (XMR) 110,93 2,39%