- 79
- 596 729
Josh's DevBox
United States
Приєднався 18 жов 2020
I'm Josh and this is my dev box! This channel's mission is to accelerate the world's transition to blockchain technology! Video's will mainly focus on Solana development, but I reserve the rigth to cover other tech topics and shill my own personal interests!
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: ua-cam.com/video/-AAtfPHEMbA/v-deo.html
🤖 SOLdit (Reddit Clone) Playlist: ua-cam.com/play/PL53JxaGwWUqCfzhFqW9OB7f9To9tGe7bp.html
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 Upvote Account
42:20 - Implement Thread Upvote Account
46:08 - Test Creating Thread Upvote Account
49:34 - Define Comment Account
52:10 - Implement Comment Account
57:34 - Test Creating Comment Account
01:02:21 - Define Comment Upvote Account
01:04:18 - Implement Comment Upvote Account
01:10:37 - Conclusion
Follow me on:
🐦 Twitter: imJoshChang
🌐 Site: joshchang.io
📙 Solana Playlist: ua-cam.com/video/-AAtfPHEMbA/v-deo.html
🤖 SOLdit (Reddit Clone) Playlist: ua-cam.com/play/PL53JxaGwWUqCfzhFqW9OB7f9To9tGe7bp.html
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 Upvote Account
42:20 - Implement Thread Upvote Account
46:08 - Test Creating Thread Upvote Account
49:34 - Define Comment Account
52:10 - Implement Comment Account
57:34 - Test Creating Comment Account
01:02:21 - Define Comment Upvote Account
01:04:18 - Implement Comment Upvote Account
01:10:37 - Conclusion
Переглядів: 1 777
Відео
Solana Reddit Smart Contract Architecture Part 4: Comment Upvote
Переглядів 341Рік тому
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: ua-cam.com/video/-AAtfPHEMbA/v-deo.html SOLdit (Reddit Clone) Play...
Solana Reddit Smart Contract Architecture Part 3: Comments and Replies
Переглядів 266Рік тому
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: ua-cam.com/video/-AAtfPHEMbA/v-deo.html SOLdit (Reddit Clone)...
Solana Reddit Smart Contract Architecture Part 2: Upvoting Threads
Переглядів 258Рік тому
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: ua-cam.com/video/-AAtfPHEMbA/v-deo.html SOLdit (R...
Solana Reddit Smart Contract Architecture Part 1: Feeds and Threads
Переглядів 861Рік тому
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: ua-cam.com/video/-AAtfPHEMbA/v-deo.html SOLdit (Reddit Clone) ...
Solana Whitepaper Artchitecture Reaction ft. @the.york.wei
Переглядів 4932 роки тому
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: ua-cam.com/video/079mUCjYpZs/v-deo.html You can find more about York @ his medium: medium.com/@the.york.wei Follow me on: 🐦 Twitter: imJoshChang 📙 Solana Playlist: ua-cam.com/video/-AAtfPHEMbA/v-deo.html 00:00 - Intro 00:52 - Rea...
SOLdit Whitepaper: The Future of Social Media using the Solana Blockchain (Parody)
Переглядів 7242 роки тому
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: ua-cam.com/video/-AAtfPHEMbA/v-deo.html
Is Crypto Dead? I Built A Solana Transaction Dashboard to Check!
Переглядів 5992 роки тому
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
Переглядів 2652 роки тому
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: ua-cam....
Solana Whitepaper Explained | Understanding Proof of History, Validators, Staking, and More!
Переглядів 14 тис.2 роки тому
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,7 тис.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 тис.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: ua-cam.com/video/-AAtfPHEMb...
Solana Tutorial: Writing a dApp to Work With PDA's | React, Next.js, Anchor
Переглядів 4,6 тис.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: ua-cam.com/video/-AAtfPHEMbA/v-deo.html 💰 Donations accep...
Solana Tutorial: Creating PDA's with Anchor
Переглядів 6 тис.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: ua-cam.com/video/-AAtfPHEMbA/v-deo.html 💰 Donations accepted (but optional): 2hYca42EE2kwmFZPV7M4skev1za7atWBh5ctzQWfsTD7 00:00 - Intro 00:13 - Video Overview...
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: ua-cam.com/video/-AAtfPHEMbA/v-deo.html 💰 Donations accepted (but optional): 2hYca42EE2kwmFZPV7M4skev1za7atWBh5ctzQW...
Solana Development: Upgrading to Anchor 0.24.2 (and why my code doesn't build)
Переглядів 2,3 тис.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
Переглядів 14 тис.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
Переглядів 24 тис.2 роки тому
Solana Smart Contract Tutorial: Using Phantom Wallet to create a DApp | React, Anchor
Solana Smart Contract Tutorial: Using the Anchor Framework
Переглядів 29 тис.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
Переглядів 15 тис.2 роки тому
Solana Smart Contract Tutorial: Sending and Unpacking Instruction Data
Solana Smart Contract Development: Hello World Tutorial | Rust and Typescript walkthrough
Переглядів 40 тис.2 роки тому
Solana Smart Contract Development: Hello World Tutorial | Rust and Typescript walkthrough
Solana Smart Contract Dev Environment Setup + Some Consle Solana Commands
Переглядів 22 тис.2 роки тому
Solana Smart Contract Dev Environment Setup Some Consle Solana Commands
Solana Development: Smart Contract Life Cycle High Level
Переглядів 28 тис.2 роки тому
Solana Development: Smart Contract Life Cycle High Level
Rust Crash Course Tutorial for Solana
Переглядів 103 тис.3 роки тому
Rust Crash Course Tutorial for Solana
My Plutus Development Experience in 2021: Problems and Why It Will Be Okay
Переглядів 2,3 тис.3 роки тому
My Plutus Development Experience in 2021: Problems and Why It Will Be Okay
Debugging and Working with UTXO's in Plutus
Переглядів 4483 роки тому
Debugging and Working with UTXO's in Plutus
Plutus Development: Working with Time to Set Deadlines
Переглядів 6173 роки тому
Plutus Development: Working with Time to Set Deadlines
Plutus Development: Creating a Basic Smart Contract
Переглядів 7 тис.3 роки тому
Plutus Development: Creating a Basic Smart Contract
Thank u for this video
Simply lovely. TY fo sharing this
Please give Josh a Nobel Prize!
Awesome video .. Thank you very much Josh.
Awesome Explanation.
i didnot understand the binsearch solution at all can someone explain
@joshsdevbox you have a email brother?
Good explanation. But you should have more animations to track the different variables you're describing. Also, the two people talking thing isn't good.
That was one awesome video mate 🎉
Hey , is that possible to set mint authority to program address it self and by paying with any payer account we mint the tokens ??????
Brilliant explanation!!
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.
As a beginner, it's essential for you to have a pro or a very good trader to keep you accountable.
If you can, then get a professional to trade for you I think that way your assets are more secure.
Someone like expert viola patterson
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
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.
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
Wow brother please start dsa your views and subscribers will increase ❤
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?
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
I saw other videos but this one cleared my mind , Josh literally 🫡
How much are the fees?
why did you stop?
if 3Brown1Blue made coding videos
Thanks for creating the video, Really helping me out taking the first steps into solana development
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 *
I think they meant that O(n) is faster than O(nlogn) in the video
Getting into crypto and was struggling to read the Solana white paper. Your video was great man. Keep it up.
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.
Plutus platform is not Working
underrrated, goldmine this is!
Sir tell us should we became solana developer in 2025 or not
best so far !!
nice video josh
great one
❯ 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
Does solana have a max number of tokens or can they be made?
I bet youre happy if you kept hodling sol
I don't understand why you put amount[0] like an array.
sir,nowadays this rust software is unavailable,so wat should i do now ,,
How to add image logo and name token
This is great but please sound check ur videos
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...
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.
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
This was the worst video
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!
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
Bro you can’t teach
love it
the best solution out there , i looked almost at all of them
thanks for the tutorial king!
any code on github?
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
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.
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.