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 14 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,769857 1,71%
aave
Aave (AAVE) 82,90 0,78%
the-graph
The Graph (GRT) 0,243663 1,74%
kusama
Kusama (KSM) 27,02 1,40%
waves
Waves (WAVES) 2,18 2,44%
dash
Dash (DASH) 28,02 0,90%
bitcoin
Bitcoin (BTC) 58.662,65 1,99%
ethereum
Ethereum (ETH) 2.904,36 0,53%
cardano
Cardano (ADA) 0,427485 3,09%
tether
Tether (USDT) 0,931732 0,01%
xrp
XRP (XRP) 0,483525 1,88%
solana
Solana (SOL) 127,09 4,57%
polkadot
Polkadot (DOT) 6,25 1,62%
usd-coin
USDC (USDC) 0,931964 0,03%
dogecoin
Dogecoin (DOGE) 0,136149 2,69%
uniswap
Uniswap (UNI) 7,14 1,57%
terra-luna
Terra Luna Classic (LUNC) 0,000098 1,83%
litecoin
Litecoin (LTC) 81,61 3,23%
chainlink
Chainlink (LINK) 13,17 3,06%
bitcoin-cash
Bitcoin Cash (BCH) 443,57 0,23%
algorand
Algorand (ALGO) 0,185503 1,39%
matic-network
Polygon (MATIC) 0,650576 3,07%
stellar
Stellar (XLM) 0,105820 0,06%
cosmos
Cosmos Hub (ATOM) 7,69 0,45%
filecoin
Filecoin (FIL) 5,42 1,21%
tron
TRON (TRX) 0,110796 1,43%
ethereum-classic
Ethereum Classic (ETC) 25,24 1,95%
dai
Dai (DAI) 0,931509 0,03%
tezos
Tezos (XTZ) 0,934896 0,47%
monero
Monero (XMR) 110,99 0,98%