I begg u, please dont stop posting ur solana/rust contents. You are a life saver for me.
@calv.io.n8080
2 жыл бұрын
Hey Leet, loving that you're so consistent on your release schedule. These have been a great way to start smart contract development.
@JoshsDevBox
2 жыл бұрын
Thanks! But I think we'll all soon find out that the only consistent thing about me is how inconsistent I am 🤣
@david-cb5ru
2 жыл бұрын
@@JoshsDevBox i hope not, your videos are probably the best tutorials on youtube for solana
@tareqqazi2029
2 жыл бұрын
Thanks man your videos are helping me a lot on this Solana Developer Journey
@nsmthethwa
2 жыл бұрын
Josh!!! Your tutorials are helpful, you are doing a great job man. Thank you so much.
@dm_din
2 жыл бұрын
So useful tutorials for beginners like me, that makes everything clear. Thank you a lot for your job! 🤩
@robinsonvela4444
7 ай бұрын
Excelent tutorial, and that without needing ChatGPT.
@FeelMetalMan
3 ай бұрын
Did you get any trouble with BufferLayout.u8( )? I saw you are a 2024 comment, his code is not working for the "@solana/buffer-layout": "3.0.0", he is using, nor the (still) latest release "@solana/buffer-layout": "4.0.1", he ommited.
@_benff
2 жыл бұрын
Thank you for this! Debugging part with the SpongeBob transitions cracked me up haha
@warpspeed.research7896
2 жыл бұрын
I've been going through these videos and I find them super helpful. Thank you so much for taking the time to put these together! I am a total beginner but your explainations and coding addittions are really helping me pick it up fast. Thank you!!
@btkb1427
2 жыл бұрын
Great video :) looking forward to the debug video!
@kaan608
2 жыл бұрын
Thank you for your effort (Rust + Solana) to make it so approachable. I think Solana , Algorand and maybe Avalanche will be foundational technologies in the near future.
@exoticcoder5365
2 жыл бұрын
Thank you ! Very useful on the instructions part !
@rishabhsinha7033
2 жыл бұрын
Extremely Helpful.....
@teemu3436
2 жыл бұрын
Thank you man this is very helpful
@teemu3436
2 жыл бұрын
Theres really not that much resources I can find on solana and rust development so this helps so much!
@leetcodeforbeginners
2 жыл бұрын
Nice stuff,It would be great if you could provide the repo from where ur modifying ur code,thank you.
@xAlvZHD
2 жыл бұрын
Hi, very great job, loving these tutorials so far. I have a question, what if Bob wants to greet another person that is not Him. How could you do that? I guess you can't from the client side because Bob can't create the other person's PDA, but i can't find a solution that is not passing the other person's public address through the instruction data and create the PDA in the on-chain program. Keep it going with the tutorials, I'm getting started to Solana programming and finding this very helpful!
@santeowen113
Жыл бұрын
Hello sir im getting an error in declaring fn createIncrementInstruction after creating the const layout and i assign the BufferLayout.u8 this error pops out (Type 'UInt' is not assignable to type 'Layout') i tried to check the dependencies but when i run "npm install" it doesnt work on 3.0.0 version of solanabufferlayout so i use 4.0.0 what should i do sir?
@santeowen113
Жыл бұрын
i already fixed it shoutout to stockoverflow dude just import this instead const BufferLayout = require('@solana/buffer-layout'); interface Settings { cost: bigint, width: number, height: number, max_players: number, }
@FeelMetalMan
3 ай бұрын
@@santeowen113 damn man thanks a lot for this, I wonder why so many people following and recently commenting this tutorial aren't getting this error, makes me feel just setting up is harder for some of us lol
@FeelMetalMan
3 ай бұрын
@@santeowen113 one question how is the interface Settings referring to the BufferLayout structure? is it because it's Overwriting a previous Settings interface that BufferLayout is using?
@lucascrypto9230
2 ай бұрын
@@FeelMetalMan i wrote a comment explaning how to 'fix'
@FeelMetalMan
2 ай бұрын
@@lucascrypto9230 thanks but OP already did
@xAlvZHD
2 жыл бұрын
Hi Josh, loving these tutorials so far, I'm getting introduced to solana programming and I have a question. What if Bob wants to greet Paul, for example? The basic hello world project only allows Bob to greet himself because he can only create a PDA from his public key to be owned by our smart contract. So how could he greet Paul if he can¡t create Paul's PDA? Passing Paul's public key through instruction data and creating PDA on the smart contract? Thanks in advice and keep it going!
@nguyenquocduong8978
2 жыл бұрын
Thanks for greate video
@edwardtam919
2 жыл бұрын
thanks, very helpful. But no more Cardano Plutus smart contract anymore?😀
@JoshsDevBox
2 жыл бұрын
Thanks! Unfortunately, I don't have any current plans on continuing Plutus, despite all of its flaws, I do prefer Solana's dev experience and low transaction fee's.
@Basti1471991
2 жыл бұрын
I have a question: Why is it that the data is persistent even after we redeploy the on-chain program. I see that it has the same program id as a previous deploy. This is different from any ETH smart contract deployment. Is it a feature of Solana or the dev environment. Couldn't this also be considered as a security issue?
@Banksy_said_hi
2 жыл бұрын
You are amazing man!
@Gitt945
2 жыл бұрын
hi josh, are there any safe smart contracts out there and easy for non tech people to set up for setting up something for heirs? like after certain amount of time small amounts are sent to certain wallets. or let's say if my email becaomes inactive after __ months this the contract start or something like that? i'm just scared of hacks and not technical, there must be something out there for the average joe
@MarKac9090
2 жыл бұрын
good video, I see you have a lot of experience Q: which blockchain is the easiest to write/understand smart contracts in your opinion? between Solana/Cardano/Ether? BTW. do you have a github where people can download your code from the video?
@JoshsDevBox
2 жыл бұрын
Software development, yes! Blockchain technology, no! I only dabbled with Cardano and Solana, but I think it depends on your goals. Ethereum (solidity) has been around for the longest, so I'm betting they have the most tutorials, resources, and users, however, the trade-off being high transaction fee's,. Though you might consider looking at L2 solution. On the other end of the spectrum I chose Solana, because I like their low fee's and I feel Rust will be more relevant to me professionally. Good point on the github, I'll do that.
@oliverpope8993
2 жыл бұрын
Hiya, getting "TypeError: fields must be array of Layout instances" When I try to run npm run start after making the changes to the client. Was fine before I made changes and I think it's something to do with one of the dependancies that have been added. Have you come across this?
@oliverpope8993
2 жыл бұрын
Will share more info if necessary didnt want to just dump the code here
@the.shy.potato
2 жыл бұрын
Same.
@the.shy.potato
2 жыл бұрын
I ran "npm update --all" and it started working. Some of the packages I was using were probably out of date.
@manhthong4396
2 жыл бұрын
@@the.shy.potato nice, u saves my life bro
@yuong8139
2 жыл бұрын
@@the.shy.potato Thanks man, saved the day.
@ozangulec4064
2 жыл бұрын
Very helpful
@oghenekarouzezi4504
4 ай бұрын
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.
@Smokey_titan
2 жыл бұрын
Hey Leet, I am trying to learn how to directly interact with a Solana NFT minting contract. Do you have any vids for that or could you point me in the right direction?
@JoshsDevBox
2 жыл бұрын
No idea yet, but I was planning on exploring metaplex when I eventually get there, maybe that has some of the things that you're looking for?
@Smokey_titan
2 жыл бұрын
@@JoshsDevBox Honestly, I think I have found the information that tells me how to do it but I just don't understand code well enough to be able to figure out how to directly connect. Could we talk on Discord sometime and I could show you?
@cupcake2298
Жыл бұрын
Josh I love your videos, One suggestion, I think you breath with your mouth while talking due to nervousness, I maybe wrong, practice breathing with your nose.
@PAPERSCHOOL
2 жыл бұрын
Hey, excellent series! I have had a little trouble with this example though where no matter what I do, I receive an error of type *SendTransactionError* with the message _"Failed to serialize or deserialize account data: Unknown"_. Any ideas what I could be missing?
@PAPERSCHOOL
2 жыл бұрын
Okay I managed to solve this myself. Basically I had a go enhancing the Account state with a property additional to counter, which changed the shape of the account. I then reverted these changes but something was still different which meant all transactions were constructed differently. In the end the fix was to update the *greetedPubkey* seed to accommodate what ever change I had made to the stateful nature of the account. Hope this helps anyone else!
@TeppopucT
8 ай бұрын
U r awesome! 👍👍👍
@jackykwan6534
2 жыл бұрын
Thanks, it will be great if can provide git repo about this project.
@voidash
2 жыл бұрын
The endianness example given in the video at 9:22 is wrong. Endianness is byte order rather than bit order. If it is Little endian then least significant byte is stored on lower address of the memory. On big endian Least significant byte is stored on higher address. Other than that nice video
@omersuve4449
2 жыл бұрын
Very nice video, thank you!!! I wanna ask something that I couldnt find a solution even I searched for weeks! How can I find the all addresses of the holders of my NFT collection? I would be really appreciated if anyone can help :))
@JoshsDevBox
2 жыл бұрын
I've never tried it personally, but this is probably outside the use of smart contracts. You probably need to write a script that somehow follows the transactions made with your NFT's until you find the wallet that is holding it.
@Smokey_titan
2 жыл бұрын
Hello, my dev created a program that gathers all of the wallets that hold NFTs within a contract and it lists them according to how many NFTs they have.
@georixyo7115
2 жыл бұрын
buffer-layout doesn't work at all, I don't know how it works for you
@danielecelsa1810
Жыл бұрын
Same I guess, I got this: error TS2322: Type 'UInt' is not assignable to type 'Layout'. and I followed same code of Josh
@georixyo7115
Жыл бұрын
@@danielecelsa1810 I rode, it's a mistake with ECMAScript, you can somehow, in package management file of typescript, change it, but I forgot how exactly😅
@santeowen113
Жыл бұрын
bro how did you fix it i also run the same problem.
@georixyo7115
Жыл бұрын
@@santeowen113 maan, it was 10month ago, just try using different modules
@bezimienny5
2 жыл бұрын
Today I learned SOlana is broken and it's a shame my company is moving away from Terra to Solana and I should start crying and curling up in pain like a cooked shrimp.
@danielecelsa1810
Жыл бұрын
Guess now you are glad your company moved away from Terra ;)
@bezimienny5
Жыл бұрын
@@danielecelsa1810 I mean, sure, I am, although it's not like there's that many projects on other chains either, even Solana, so now there's hardly any work available ;p
@danielecelsa1810
Жыл бұрын
@@bezimienny5 I see tons of projects on Solana but from outside, didn’t search for any actual job there yet, so just hope you are wrong 😅
@bezimienny5
Жыл бұрын
@@danielecelsa1810 Sure, but there actually isn't anything to build for teams. LayerZero, which is what we were partnering with, pulled out of Solana a few months back and didn't actually deliver a crucial part of infra needed for our in-house project, so we pulled out of Solana. Thing with Solana is that most big projects are inflated with VC money and there's no real interest in Solana DeFi in terms of the outsiders. And there's no work for us on simple NFT projects because those don't even require developers/programmers to set up smart contracts or anything; on solana you can just make your collection with the CandyMachine tool. So not that worth to build an empire there nowadays, if anything, Aptos would be the chain to set up your base on, since it still has a few unfilled niches. Good luck if you yourself are trying to launch something ;)
@brodyalden
2 жыл бұрын
Stay away from Solana. To me it looks like it’s just gonna be a VC rugpull.
@calv.io.n8080
2 жыл бұрын
Its got the most potential technologically though, too hard to ignore
@JoshsDevBox
2 жыл бұрын
I agree with CALV, I was actually talking with friends about this. If VCs do rugpull, the price will definitely tank (on the flip side coin ownership will be much more decentralized), but the underlying technology and benefits remain the same: high tps and low fee's.
@sunnybin6087
2 жыл бұрын
why i got this error when i use try_into: no method named `try_into` found for slice `[u8]` in the current scope
@sunnybin6087
2 жыл бұрын
i got it ! i forget use a crate
@kieran7331
2 жыл бұрын
Where can I contact you? I have an enquiry please, I’ll make sure it’s worth your time
Пікірлер: 72