Solana Reddit Smart Contract Architecture Part 4: Comment Upvote

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 4 of 4 video we will talk about how we would implement comment upvote.

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
00:45 – Comment upvote requirements
00:58 – Solutions
01:42 – Solution #1: Counter on CommentAccount to sum votes
03:18 – Solution #2: Individual account to represent vote
04:59 – Solution #3: Combine previous solutions
06:09 – Conclusion

(Visited 4 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,583677 3,01%
aave
Aave (AAVE) 62,07 6,17%
the-graph
The Graph (GRT) 0,084053 2,86%
kusama
Kusama (KSM) 17,95 4,49%
waves
Waves (WAVES) 1,47 3,00%
dash
Dash (DASH) 26,26 1,75%
bitcoin
Bitcoin (BTC) 26.087,96 3,42%
ethereum
Ethereum (ETH) 1.571,78 3,37%
cardano
Cardano (ADA) 0,250149 1,38%
tether
Tether (USDT) 0,953931 0,05%
xrp
XRP (XRP) 0,484519 2,71%
solana
Solana (SOL) 22,95 0,65%
polkadot
Polkadot (DOT) 3,89 2,66%
usd-coin
USDC (USDC) 0,953758 0,08%
dogecoin
Dogecoin (DOGE) 0,058686 2,42%
uniswap
Uniswap (UNI) 4,20 3,31%
terra-luna
Terra Luna Classic (LUNC) 0,000057 4,73%
litecoin
Litecoin (LTC) 62,72 2,21%
chainlink
Chainlink (LINK) 7,12 3,30%
bitcoin-cash
Bitcoin Cash (BCH) 223,65 7,25%
algorand
Algorand (ALGO) 0,096076 2,22%
matic-network
Polygon (MATIC) 0,538784 0,99%
stellar
Stellar (XLM) 0,105425 2,52%
cosmos
Cosmos Hub (ATOM) 6,84 2,63%
filecoin
Filecoin (FIL) 3,15 2,83%
tron
TRON (TRX) 0,083535 1,39%
ethereum-classic
Ethereum Classic (ETC) 15,31 3,18%
dai
Dai (DAI) 0,953053 0,04%
tezos
Tezos (XTZ) 0,643864 2,51%
monero
Monero (XMR) 139,08 1,20%