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 21 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,759081 0,09%
aave
Aave (AAVE) 82,61 1,10%
the-graph
The Graph (GRT) 0,238957 1,63%
kusama
Kusama (KSM) 26,98 0,34%
waves
Waves (WAVES) 2,18 2,65%
dash
Dash (DASH) 27,24 4,12%
bitcoin
Bitcoin (BTC) 58.694,00 2,17%
ethereum
Ethereum (ETH) 2.913,26 0,43%
cardano
Cardano (ADA) 0,422795 3,32%
tether
Tether (USDT) 0,932984 0,18%
xrp
XRP (XRP) 0,479014 1,88%
solana
Solana (SOL) 126,74 5,15%
polkadot
Polkadot (DOT) 6,18 4,25%
usd-coin
USDC (USDC) 0,934350 0,01%
dogecoin
Dogecoin (DOGE) 0,134498 4,26%
uniswap
Uniswap (UNI) 7,12 0,87%
terra-luna
Terra Luna Classic (LUNC) 0,000097 2,94%
litecoin
Litecoin (LTC) 79,45 0,67%
chainlink
Chainlink (LINK) 13,10 3,59%
bitcoin-cash
Bitcoin Cash (BCH) 437,00 2,53%
algorand
Algorand (ALGO) 0,180565 4,60%
matic-network
Polygon (MATIC) 0,647142 2,54%
stellar
Stellar (XLM) 0,104669 0,87%
cosmos
Cosmos Hub (ATOM) 7,61 0,69%
filecoin
Filecoin (FIL) 5,34 4,21%
tron
TRON (TRX) 0,112163 1,44%
ethereum-classic
Ethereum Classic (ETC) 24,73 1,52%
dai
Dai (DAI) 0,933518 0,06%
tezos
Tezos (XTZ) 0,926121 1,42%
monero
Monero (XMR) 112,30 0,22%