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,986885 1,68%
aave
Aave (AAVE) 116,82 0,87%
the-graph
The Graph (GRT) 0,384576 6,39%
kusama
Kusama (KSM) 44,87 0,35%
waves
Waves (WAVES) 3,65 3,61%
dash
Dash (DASH) 35,95 3,73%
bitcoin
Bitcoin (BTC) 65.290,41 1,36%
ethereum
Ethereum (ETH) 3.309,04 0,99%
cardano
Cardano (ADA) 0,602897 1,50%
tether
Tether (USDT) 0,924108 0,06%
xrp
XRP (XRP) 0,576072 1,16%
solana
Solana (SOL) 173,16 1,35%
polkadot
Polkadot (DOT) 8,87 1,91%
usd-coin
USDC (USDC) 0,923088 0,09%
dogecoin
Dogecoin (DOGE) 0,186699 11,48%
uniswap
Uniswap (UNI) 11,54 0,76%
terra-luna
Terra Luna Classic (LUNC) 0,000143 0,61%
litecoin
Litecoin (LTC) 88,75 1,31%
chainlink
Chainlink (LINK) 17,99 0,18%
bitcoin-cash
Bitcoin Cash (BCH) 523,08 16,68%
algorand
Algorand (ALGO) 0,250946 1,33%
matic-network
Polygon (MATIC) 0,945341 0,21%
stellar
Stellar (XLM) 0,126824 2,03%
cosmos
Cosmos Hub (ATOM) 11,61 5,43%
filecoin
Filecoin (FIL) 8,48 0,03%
tron
TRON (TRX) 0,110899 0,20%
ethereum-classic
Ethereum Classic (ETC) 29,92 3,36%
dai
Dai (DAI) 0,923185 0,22%
tezos
Tezos (XTZ) 1,30 4,41%
monero
Monero (XMR) 127,69 2,50%