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,734352 1,86%
aave
Aave (AAVE) 81,26 0,36%
the-graph
The Graph (GRT) 0,257894 3,01%
kusama
Kusama (KSM) 25,64 1,93%
waves
Waves (WAVES) 2,16 1,79%
dash
Dash (DASH) 26,54 1,47%
bitcoin
Bitcoin (BTC) 58.010,03 1,41%
ethereum
Ethereum (ETH) 2.794,76 1,81%
cardano
Cardano (ADA) 0,409507 2,05%
tether
Tether (USDT) 0,927610 0,14%
xrp
XRP (XRP) 0,484911 3,01%
solana
Solana (SOL) 136,58 4,98%
polkadot
Polkadot (DOT) 6,52 1,27%
usd-coin
USDC (USDC) 0,927222 0,15%
dogecoin
Dogecoin (DOGE) 0,139251 3,65%
uniswap
Uniswap (UNI) 6,83 2,11%
terra-luna
Terra Luna Classic (LUNC) 0,000098 1,43%
litecoin
Litecoin (LTC) 74,47 0,45%
chainlink
Chainlink (LINK) 12,94 2,78%
bitcoin-cash
Bitcoin Cash (BCH) 431,83 1,43%
algorand
Algorand (ALGO) 0,174038 2,50%
matic-network
Polygon (MATIC) 0,636890 2,55%
stellar
Stellar (XLM) 0,100028 0,91%
cosmos
Cosmos Hub (ATOM) 8,33 2,83%
filecoin
Filecoin (FIL) 5,33 3,99%
tron
TRON (TRX) 0,112438 2,18%
ethereum-classic
Ethereum Classic (ETC) 25,58 1,55%
dai
Dai (DAI) 0,927305 0,06%
tezos
Tezos (XTZ) 0,865087 0,04%
monero
Monero (XMR) 119,56 1,48%