Josh's DevBox
Josh's DevBox
  • Видео 79
  • Просмотров 561 438
Building a Web3 Reddit using Solana Smart Contract s
In this final video, we will implement the reddit smart contract architecture that we've been building up to in the past 4 videos. We will learn everything we need to know to b
Follow me on:
🐦 Twitter: imJoshChang
🌐 Site: joshchang.io
📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html
🤖 SOLdit (Reddit Clone) Playlist: ruclips.net/p/PL53JxaGwWUqCfzhFqW9OB7f9To9tGe7bp
00:00 - Intro
00:25 - Define User Account
03:32 - Implement User Account
11:02 - Test Creating User Account
20:47 - Define Feed Account
21:56 - Implement Feed Account
25:42 - Test Creating Feed Account
29:11 - Define Thread Account
31:03 - Implement Thread Account
36:46 - Test Creating Thread Account
40:26 - Define Thread...
Просмотров: 1 656

Видео

Solana Reddit Smart Contract Architecture Part 4: Comment Upvote
Просмотров 334Год назад
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: imJoshChang 🌐 Site: joshchang.io 📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html SOLdit (Reddit Clone) Pla...
Solana Reddit Smart Contract Architecture Part 3: Comments and Replies
Просмотров 255Год назад
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 3 of 4 video we will talk about how we would implement comment and replies. Follow me on: 🐦 Twitter: imJoshChang 🌐 Site: joshchang.io 📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html SOLdit (Reddit Clone...
Solana Reddit Smart Contract Architecture Part 2: Upvoting Threads
Просмотров 254Год назад
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: imJoshChang 🌐 Site: joshchang.io 📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html SOLdit (...
Solana Reddit Smart Contract Architecture Part 1: Feeds and Threads
Просмотров 811Год назад
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 1 of 4 video we will talk about what choices were made to create a thread. Follow me on: 🐦 Twitter: imJoshChang 🌐 Site: joshchang.io 📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html SOLdit (Reddit Clone)...
Solana Whitepaper Artchitecture Reaction ft. @the.york.wei
Просмотров 472Год назад
19In this video we will have a guest speaker, distributed system expert @the.york.wei who will be reacting to the Solana Whitepaper that you can find here: ruclips.net/video/079mUCjYpZs/видео.html You can find more about York @ his medium: medium.com/@the.york.wei Follow me on: 🐦 Twitter: imJoshChang 📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html 00:00 - Intro 00:52 - R...
SOLdit Whitepaper: The Future of Social Media using the Solana Blockchain (Parody)
Просмотров 696Год назад
Introducing SOLdit, the future of social media... In this short video we will go over the high level of creating a reddit clone using Solana as the backend that will be used as the foundation for future video's WARNING: This is a tutorial ONLY, there is no ICO. Follow me on: 🐦 Twitter: imJoshChang 🌐 Site: joshchang.io 📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html
Is Crypto Dead? I Built A Solana Transaction Dashboard to Check!
Просмотров 580Год назад
After the FTX scandal and the cascading dominos of crypto exchanges, how do we know if crypto (and Solana) is still growing? To answer that question, I spent some time setting up my personal site: joshchang.io to help answer that question! In this video, I went through the framework, libraries, data sources that I used to setup my dashboard! Leave requests for any data that you're interested in...
Move to cold storage NOW! FTX Collapse and Contagion Effects
Просмотров 264Год назад
I don't want to start a bank run, but I'm starting a bank run! Crypto exchanges (FTX, Crypto.com) and lending platforms (Block-Fi, Genisis, Gemini Earn) are pausing withdrawals due to liquidity issues after the contagion effects of FTX collapsing. This is a PSA to move your crypto off of exchanges and into cold storage! Follow me on: 🐦 Twitter: imJoshChang 📙 Solana Playlist: ruclips...
Solana Whitepaper Explained | Understanding Proof of History, Validators, Staking, and More!
Просмотров 12 тыс.Год назад
Let's be honest, when you bought some Solana, did you reaaallly know how the technology works? Luckily for you! In this video I will be going through the Solana whitepaper and docs so you don't have to! We'll be talking about the Solana blockchain architecture and all the different things to consider when making a L1 solution! Follow me on: 🐦 Twitter: imJoshChang 📙 Solana Playlist: ...
Next.js Crash Course + Crypto Project | Routes, Pre-Rendering (SSG, SSR, ISR, CSR), API
Просмотров 3,4 тыс.2 года назад
In this video you will learn everything you need to know to get started to build an app using Next.js. We will be applying the topics that we learn in this video to build a simple app that will fetch information about your favorite cryptocurrencies. Topics that wil be covered: 1) Page routing 2) Next.JS Html components and CSS modules 3) Different rendering/data fetching Strategies (Static Site...
Solana Tutorial: Writing Anchor Tests for PDA's | Writing Typescript Jasmine tests
Просмотров 3 тыс.2 года назад
In the previous video's, I said that we couldn't write any tests for PDA using anchor and instead we had to write a whole client app insead... ...well it turns out I was DEAD wrong! You can! I just made some mistakes writing my tests! In this video we will learn how to test your anchor PDA code! Github: github.com/chang47/solana-pda-example-program 📙 Solana Playlist: ruclips.net/video/-AAtfPHEM...
Solana Tutorial: Writing a dApp to Work With PDA's | React, Next.js, Anchor
Просмотров 4,4 тыс.2 года назад
In this video we will create a basic dApp using React.js, Next.js, and Anchor to create a frontend that will be able to talk with the Escrow Program that we wrote in the previous video (check out links below) Github: github.com/chang47/solana-pda-dapp Previous Video Github: github.com/chang47/solana-pda-example-program 📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html 💰 Donations acce...
Solana Tutorial: Creating PDA's with Anchor
Просмотров 5 тыс.2 года назад
In this video we're going to learn an important development concept with Solana: PDA's or Program Derived Addresses. We will learn what they are and how to use them. Github: github.com/chang47/solana-pda-example-program 📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html 💰 Donations accepted (but optional): 2hYca42EE2kwmFZPV7M4skev1za7atWBh5ctzQWfsTD7 00:00 - Intro 00:13 - Video Overvie...
Solana Smart Contract: Minting and Transfering Token/NFT with Anchor
Просмотров 14 тыс.2 года назад
In the final video of our 3 part series, we're going to finally see how we can use the SPL Token library to transfer/mint and transfer token/nft to other people using using the Anchor framework. Github: github.com/chang47/Anchor-Mint-and-Transfer-Smart-Contract 📙 Solana Playlist: ruclips.net/video/-AAtfPHEMbA/видео.html 💰 Donations accepted (but optional): 2hYca42EE2kwmFZPV7M4skev1za7atWBh5ctzQ...
Solana Development: Upgrading to Anchor 0.24.2 (and why my code doesn't build)
Просмотров 2,2 тыс.2 года назад
Solana Development: Upgrading to Anchor 0.24.2 (and why my code doesn't build)
Building a React App to Mint Tokens and NFTs on Solana
Просмотров 13 тыс.2 года назад
Building a React App to Mint Tokens and NFTs on Solana
Solana Tutorial: Minting and sending Tokens and NFTs Part 1: CLI
Просмотров 9 тыс.2 года назад
Solana Tutorial: Minting and sending Tokens and NFTs Part 1: CLI
Solana Smart Contract Tutorial: Using Phantom Wallet to create a DApp | React, Anchor
Просмотров 23 тыс.2 года назад
Solana Smart Contract Tutorial: Using Phantom Wallet to create a DApp | React, Anchor
Solana Smart Contract Tutorial: Using the Anchor Framework
Просмотров 27 тыс.2 года назад
Solana Smart Contract Tutorial: Using the Anchor Framework
Solana Smart Contract Tutorial: Logging and Testing Examples
Просмотров 7 тыс.2 года назад
Solana Smart Contract Tutorial: Logging and Testing Examples
Solana Smart Contract Tutorial: Sending and Unpacking Instruction Data
Просмотров 14 тыс.2 года назад
Solana Smart Contract Tutorial: Sending and Unpacking Instruction Data
Solana Smart Contract Development: Hello World Tutorial | Rust and Typescript walkthrough
Просмотров 38 тыс.2 года назад
Solana Smart Contract Development: Hello World Tutorial | Rust and Typescript walkthrough
Solana Smart Contract Dev Environment Setup + Some Consle Solana Commands
Просмотров 20 тыс.2 года назад
Solana Smart Contract Dev Environment Setup Some Consle Solana Commands
Solana Development: Smart Contract Life Cycle High Level
Просмотров 26 тыс.2 года назад
Solana Development: Smart Contract Life Cycle High Level
Rust Crash Course Tutorial for Solana
Просмотров 96 тыс.2 года назад
Rust Crash Course Tutorial for Solana
My Plutus Development Experience in 2021: Problems and Why It Will Be Okay
Просмотров 2,3 тыс.2 года назад
My Plutus Development Experience in 2021: Problems and Why It Will Be Okay
Debugging and Working with UTXO's in Plutus
Просмотров 4442 года назад
Debugging and Working with UTXO's in Plutus
Plutus Development: Working with Time to Set Deadlines
Просмотров 6163 года назад
Plutus Development: Working with Time to Set Deadlines
Plutus Development: Creating a Basic Smart Contract
Просмотров 7 тыс.3 года назад
Plutus Development: Creating a Basic Smart Contract

Комментарии

  • @sampreethadixith980
    @sampreethadixith980 2 дня назад

    Brilliant explanation!!

  • @LiamTaylor-u6e
    @LiamTaylor-u6e 2 дня назад

    I'm new to investing, and l've lost a good sum trying out strategies I found in online tutorials. I would sincerely appreciate any recommendations you have.

    • @DavidCurvin-p2q
      @DavidCurvin-p2q 2 дня назад

      As a beginner, it's essential for you to have a pro or a very good trader to keep you accountable.

    • @DavidCurvin-p2q
      @DavidCurvin-p2q 2 дня назад

      If you can, then get a professional to trade for you I think that way your assets are more secure.

    • @DavidCurvin-p2q
      @DavidCurvin-p2q 2 дня назад

      Someone like expert viola patterson

    • @Zeus-q9d
      @Zeus-q9d 2 дня назад

      The first step to successful investment is figuring your goals and risk tolerance either on your own or with the help of a financial professional but it's very advisable you make use of professional

    • @Martensalberto
      @Martensalberto 2 дня назад

      This is correct, viola strategy has normalized winning trades for me also and it's a huge milestone for me looking back to how it all started.

  • @shahoriarfahim3679
    @shahoriarfahim3679 6 дней назад

    This is probably the best video I've seen on coding interviews. It covers: 1. Precise, insightful questions 2. Concise, targeted answers with helpful tips 3. Clear, visually appealing graphics and examples that make complex topics easy to understand 4. A real-world example and code walkthrough to demonstrate the solution in action

  • @Faz126
    @Faz126 8 дней назад

    Wow brother please start dsa your views and subscribers will increase ❤

  • @Vinomillz
    @Vinomillz 15 дней назад

    5:24 this Cluster tuning i went to their site and i cant seem to see the exact code you used on their site. Is it really needed can i like skip that part?

    • @connorwayfond5623
      @connorwayfond5623 5 дней назад

      Hi had the same issue. installing bzip2 resolved the issue for me. sudo apt-get install bzip2 also need to be on localhost solana config set -ul

  • @TRGAMER007
    @TRGAMER007 18 дней назад

    I saw other videos but this one cleared my mind , Josh literally 🫡

  • @andreispider8680
    @andreispider8680 19 дней назад

    How much are the fees?

  • @markocvejic6416
    @markocvejic6416 22 дня назад

    why did you stop?

  • @pandi5893
    @pandi5893 23 дня назад

    if 3Brown1Blue made coding videos

  • @devontheblock
    @devontheblock 25 дней назад

    Thanks for creating the video, Really helping me out taking the first steps into solana development

  • @lalalanding234
    @lalalanding234 Месяц назад

    Usually the base is less than 4. So for higher values n, n*log(n) becomes greater than n. And that is why O(nlogn) > O(n). * From Google *

  • @justinrigg9520
    @justinrigg9520 Месяц назад

    Getting into crypto and was struggling to read the Solana white paper. Your video was great man. Keep it up.

  • @1000USDWeekly
    @1000USDWeekly Месяц назад

    Hi Josh, I really need your help about Solana token smart contract. How can I email you? Can I ? Please I really need your help here.

  • @isi6402
    @isi6402 Месяц назад

    Plutus platform is not Working

  • @mohammadanaskhan5294
    @mohammadanaskhan5294 Месяц назад

    underrrated, goldmine this is!

  • @anime_greek
    @anime_greek 2 месяца назад

    Sir tell us should we became solana developer in 2025 or not

  • @noorulainafaqahmed7124
    @noorulainafaqahmed7124 2 месяца назад

    best so far !!

  • @sdfsdf-f1j
    @sdfsdf-f1j 2 месяца назад

    nice video josh

  • @darkknight3929
    @darkknight3929 2 месяца назад

    great one

  • @undefined8102
    @undefined8102 2 месяца назад

    ❯ solana-test-validator Ledger location: test-ledger Log: test-ledger/validator.log Error: failed to start validator: Failed to create ledger at test-ledger: io error: Error checking to unpack genesis archive: Archive error: extra entry found: "._genesis.bin" Regular

  • @nolanfaselt
    @nolanfaselt 3 месяца назад

    Does solana have a max number of tokens or can they be made?

  • @damonpalovaara4211
    @damonpalovaara4211 3 месяца назад

    I bet youre happy if you kept hodling sol

  • @sodlock4666
    @sodlock4666 3 месяца назад

    I don't understand why you put amount[0] like an array.

  • @pamarthisainarasimham8444
    @pamarthisainarasimham8444 3 месяца назад

    sir,nowadays this rust software is unavailable,so wat should i do now ,,

  • @jasonLee-s6x
    @jasonLee-s6x 3 месяца назад

    How to add image logo and name token

  • @jabrowski_
    @jabrowski_ 3 месяца назад

    This is great but please sound check ur videos

  • @lucascrypto9230
    @lucascrypto9230 3 месяца назад

    For all those who are experiencing errors, first, update the dependencies to the most recent version: "@solana/buffer-layout": "^4.0.1", "@solana/web3.js": "^1.33.0", "borsh": "^0.7.0", "buffer": "^6.0.3", when creating the instruction layout, import "Layout" from "@solana/buffer-layout" import { Layout } from '@solana/buffer-layout'; and define the layout as follows create an interface with the instruction structure: interface InstructionLayout { instruction: number } interface SetInstructionLayout { instruction: number, value: number } and now const layout : Layout<InstructionLayout> = BufferLayout.struct... const set_layout : Layout<SetInstructionLayout> = BufferLayout.struct... my vscode still points out an "error" in the layout.encode function, but you can just ignore it...

  • @brianwsmithers
    @brianwsmithers 3 месяца назад

    Thanks for the video. I enjoyed the explanation. My only recommendation would be for you to run the coding example in an IDE using the debugger. It would be easier to visualize each step of the algorithm since the operations would appear on screen.

  • @aditya9896
    @aditya9896 3 месяца назад

    This was the best explanation for me, understanding to approach a problem and optimising it later is the key, Thank you for showing the application on solution very helpful, subbed

  • @wizardgaming163
    @wizardgaming163 3 месяца назад

    This was the worst video

  • @yehoriliushchenko4401
    @yehoriliushchenko4401 3 месяца назад

    Josh, thank you for your video! For a long time blockchain development been something far for me, but now i see it's essentially a DB. Thx!

  • @ChristopherTritton-hr1zg
    @ChristopherTritton-hr1zg 3 месяца назад

    the benefit of keeping it assert.ok is that you can feed in a variable in to the assert for the new number instead of hardcoding a new BN

  • @ArinzeEmmanuel-g2e
    @ArinzeEmmanuel-g2e 4 месяца назад

    Bro you can’t teach

  • @dennis_made_it
    @dennis_made_it 4 месяца назад

    love it

  • @jnayehsirine6222
    @jnayehsirine6222 4 месяца назад

    the best solution out there , i looked almost at all of them

  • @satoshinakamoto-lh5ph
    @satoshinakamoto-lh5ph 4 месяца назад

    thanks for the tutorial king!

  • @prchaser2081
    @prchaser2081 4 месяца назад

    any code on github?

  • @Amine-yq7jg
    @Amine-yq7jg 4 месяца назад

    can you please tell me why the userThreadAccount is an PDA when it's specific to a user, can't we use the user's pubkey for it at 6:06

  • @oghenekarouzezi4504
    @oghenekarouzezi4504 5 месяцев назад

    Great Video, but i want to make correction on the little and big endian. Little and Big endian only affect the arrangement of bytes, not bits inside a byte.

  • @anthonyhowell5809
    @anthonyhowell5809 5 месяцев назад

    the {} syntax is so strange i had to run it by chatGPT to determine if the dev actually knew what they were talking about. it turns out they do (so far) nice video thank you for sharing the content.

  • @2SHARP4UIQ150
    @2SHARP4UIQ150 5 месяцев назад

    @JoshsDevBox Do you trust Solana js libraries and all the dependencies included?

  • @temzeks
    @temzeks 5 месяцев назад

    Are there any alternatives for a javascript developer to develop on solana with js instead of rust?

  • @rohanrambhiya7774
    @rohanrambhiya7774 5 месяцев назад

    You explain the concept very great but the punctuation i.e. the way you speak is difficult to understand and have to again and again listen to it

  • @speedlead4008
    @speedlead4008 5 месяцев назад

    declare_id seems to be program id

  • @zacherywagner1189
    @zacherywagner1189 6 месяцев назад

    O(N) is not > than O(N Log n)

  • @GethsemaneTech
    @GethsemaneTech 6 месяцев назад

    Hey man. I need this urgently. I want to create tokens but I want the users of my app to be the ones to sign these transactions. I do not want to create Keypair.generate() to generate a random wallet. please how do I go about this?

  • @signalrod2213
    @signalrod2213 6 месяцев назад

    Thank you man

  • @mrtherapy309
    @mrtherapy309 6 месяцев назад

    Mehn, this dude talks too much. WTH. Just go straight to the damn point

  • @prashantsoni672
    @prashantsoni672 6 месяцев назад

    thanks

  • @dangelgeek
    @dangelgeek 6 месяцев назад

    I got this error when run the test Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete