Coding & Crypto
Coding & Crypto
  • 33
  • 158 791
Rust Solana Tutorial #10 - Program Derived Addresses (PDAs)
We're breaking down THE most fundamental programming paradigm in Solana development - the Program Derived Address (PDA). Learn how to index data accounts on Solana and manage dynamic data in your dApp.
Check out the code on GitHub!
github.com/Coding-and-Crypto/Rust-Solana-Tutorial
This is Part #10 of my playlist Rust-Solana-Tutorial. Check out the full playlist!
ua-cam.com/play/PLUBKxx7QjtVnU3hkPc8GF1Jh4DE7cf4n1.html
Join our Discord! Link in About section here: m.ua-cam.com/users/CodingCryptoabout
Переглядів: 4 813

Відео

Rust Solana Tutorial #9 - Sell NFT with Anchor
Переглядів 3,3 тис.2 роки тому
We're going to check out an example of selling an NFT on-chain. We'll transfer some SOL from the buyer to the seller, then transfer the NFT from the seller to the buyer. Check it out! Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Solana-Tutorial This is Part #9 of my playlist Rust-Solana-Tutorial. Check out the full playlist! ua-cam.com/play/PLUBKxx7QjtVnU3hkPc8GF1Jh4DE7cf4n1....
Rust Solana Tutorial #8 - Mint NFTs with Rust, Anchor, & Metaplex!
Переглядів 8 тис.2 роки тому
Let's step our NFT minting game up! Let's mint NFTs - including metadata such as artwork - using Rust on Solana! This time, we'll learn about Anchor and Metaplex as we deploy our program and mint our very own NFTs. Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Solana-Tutorial This is Part #8 of my playlist Rust-Solana-Tutorial. Check out the full playlist! ua-cam.com/play/PLUB...
Rust Solana Tutorial #7 - Mint NFTs with Rust!
Переглядів 6 тис.2 роки тому
Let's learn how to mint NFTs using Rust on Solana! We'll package every step of creating an NFT on Solana's CLI into an on-chain executable Solana program! Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Solana-Tutorial This is Part #7 of my playlist Rust-Solana-Tutorial. Check out the full playlist! ua-cam.com/play/PLUBKxx7QjtVnU3hkPc8GF1Jh4DE7cf4n1.html Join our Discord! Link i...
Rust Solana Tutorial #6 - NFTs Explained!
Переглядів 4,5 тис.2 роки тому
We're going to dive into NFTs on Solana and take a look at how they work. Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Solana-Tutorial This is Part #6 of my playlist Rust-Solana-Tutorial. Check out the full playlist! ua-cam.com/play/PLUBKxx7QjtVnU3hkPc8GF1Jh4DE7cf4n1.html Join our Discord! Link in About section here: m.ua-cam.com/users/CodingCryptoabout
Rust Solana Tutorial #5 - Transferring SOL
Переглядів 4,9 тис.2 роки тому
Let's take a look at how to transfer SOL (lamports) from one Solana account to another using on-chain Rust programs! Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Solana-Tutorial This is Part #5 of my playlist Rust-Solana-Tutorial. Check out the full playlist! ua-cam.com/play/PLUBKxx7QjtVnU3hkPc8GF1Jh4DE7cf4n1.html Join our Discord! Link in About section here: m.ua-cam.com/use...
Rust Solana Tutorial #4 - Program Instructions
Переглядів 4,9 тис.2 роки тому
Here we're taking a look at how to pass specific instructions into a Solana program to dictate how it operates. We'll simulate a very basic "calculator"! Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Solana-Tutorial This is Part #4 of my playlist Rust-Solana-Tutorial. Check out the full playlist! ua-cam.com/play/PLUBKxx7QjtVnU3hkPc8GF1Jh4DE7cf4n1.html Join our Discord! Link in...
Rust Solana Tutorial #3 - Persisting Data
Переглядів 9 тис.2 роки тому
Let's check out how accounts work on Solana - in addition to programs - and see how Solana programs persist data on the network. Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Solana-Tutorial Solana Hello World Official Example: github.com/solana-labs/example-helloworld This is Part #3 of my playlist Rust-Solana-Tutorial. Check out the full playlist! ua-cam.com/play/PLUBKxx7Qjt...
Rust Solana Tutorial #2 - Hello Solana
Переглядів 19 тис.2 роки тому
Building our first on-chain Solana Rust application! Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Solana-Tutorial This is Part #2 of my playlist Rust-Solana-Tutorial. Check out the full playlist! ua-cam.com/play/PLUBKxx7QjtVnU3hkPc8GF1Jh4DE7cf4n1.html Join our Discord! Link in About section here: m.ua-cam.com/users/CodingCryptoabout
Rust Solana Tutorial #1 - Solana CLI
Переглядів 39 тис.2 роки тому
Getting started with the Solana CLI & preparing to develop our Rust applications on Solana! Solana Cookbook: solanacookbook.com/ Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Solana-Tutorial This is Part #1 of my playlist Rust-Solana-Tutorial. Check out the full playlist! ua-cam.com/play/PLUBKxx7QjtVnU3hkPc8GF1Jh4DE7cf4n1.html Join our Discord! Link in About section here: m.ua...
Rust Intermediate Tutorial #10 - Building a REST API - Part 3
Переглядів 1 тис.2 роки тому
I wanted to make this additional REST API video to cover some advanced database methods and Docker Compose. (Part 3) Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Intermediate-Tutorial This video is Part #10 of my playlist "Rust Intermediate Tutorial" - check out the entire playlist! ua-cam.com/play/PLUBKxx7QjtVk9cVT9VaTtoDKivyWuLZZf.html Join our Discord! Link in About sectio...
Rust Intermediate Tutorial #9 - Building a REST API - Part 2
Переглядів 1,9 тис.2 роки тому
Time to bring out the Rust big guns and put together a fully-functional REST API for a crypto-mining pool! (Part 2) Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Intermediate-Tutorial This video is Part #9 of my playlist "Rust Intermediate Tutorial" - check out the entire playlist! ua-cam.com/play/PLUBKxx7QjtVk9cVT9VaTtoDKivyWuLZZf.html Join our Discord! Link in About section ...
Rust Intermediate Tutorial #8 - Building a REST API - Part 1
Переглядів 4,4 тис.2 роки тому
Time to bring out the Rust big guns and put together a fully-functional REST API for a crypto-mining pool! Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Intermediate-Tutorial This video is Part #8 of my playlist "Rust Intermediate Tutorial" - check out the entire playlist! ua-cam.com/play/PLUBKxx7QjtVk9cVT9VaTtoDKivyWuLZZf.html Join our Discord! Link in About section here: m.u...
Rust Intermediate Tutorial #7 - Macros & Closures
Переглядів 1,3 тис.2 роки тому
Check out these neat alternatives to functions in Rust. Use closures to condense repeated code inside scopes, and write your own custom macros! Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Intermediate-Tutorial This video is Part #7 of my playlist "Rust Intermediate Tutorial" - check out the entire playlist! ua-cam.com/play/PLUBKxx7QjtVk9cVT9VaTtoDKivyWuLZZf.html Join our Dis...
Rust Intermediate Tutorial #6 - Cargo, bin, & lib
Переглядів 4,4 тис.2 роки тому
We're going to break down libraries and binaries in Cargo and talk about how professional developers in the Rust community build crates for applications to import! Check out the code on GitHub! github.com/Coding-and-Crypto/Rust-Intermediate-Tutorial Solana source code! github.com/solana-labs/solana This video is Part #6 of my playlist "Rust Intermediate Tutorial" - check out the entire playlist...
Rust Intermediate Tutorial #5 - Traits
Переглядів 9842 роки тому
Rust Intermediate Tutorial #5 - Traits
Rust Intermediate Tutorial #4 - Generics
Переглядів 1,2 тис.2 роки тому
Rust Intermediate Tutorial #4 - Generics
Rust Intermediate Tutorial #3 - Advanced Error Handling
Переглядів 1,5 тис.2 роки тому
Rust Intermediate Tutorial #3 - Advanced Error Handling
Rust Intermediate Tutorial #2 - OS Commands
Переглядів 1,8 тис.2 роки тому
Rust Intermediate Tutorial #2 - OS Commands
Rust Intermediate Tutorial #1 - Rust and Docker
Переглядів 4,4 тис.2 роки тому
Rust Intermediate Tutorial #1 - Rust and Docker
Control your GPU Mining Rig from Another PC! (Using SSH)
Переглядів 6542 роки тому
Control your GPU Mining Rig from Another PC! (Using SSH)
How to Setup GPU Mining on Ubuntu (AMD GPUs)
Переглядів 9 тис.2 роки тому
How to Setup GPU Mining on Ubuntu (AMD GPUs)
Rust Beginner Tutorial #11 - Building a Blockchain Info App! (Part 3)
Переглядів 1,4 тис.2 роки тому
Rust Beginner Tutorial #11 - Building a Blockchain Info App! (Part 3)
Rust Beginner Tutorial #10 - Building a Blockchain Info App! (Part 2)
Переглядів 1,7 тис.2 роки тому
Rust Beginner Tutorial #10 - Building a Blockchain Info App! (Part 2)
Rust Beginner Tutorial #9 - Building a Blockchain Info App! (Part 1)
Переглядів 5 тис.2 роки тому
Rust Beginner Tutorial #9 - Building a Blockchain Info App! (Part 1)
Rust Beginner Tutorial #3 - Borrowing & References
Переглядів 1,7 тис.2 роки тому
Rust Beginner Tutorial #3 - Borrowing & References
Rust Beginner Tutorial #1 - Setup & Example App!
Переглядів 5 тис.2 роки тому
Rust Beginner Tutorial #1 - Setup & Example App!
Rust Beginner Tutorial #8 - Enums
Переглядів 8542 роки тому
Rust Beginner Tutorial #8 - Enums
Rust Beginner Tutorial #7 - Structs
Переглядів 8062 роки тому
Rust Beginner Tutorial #7 - Structs
Rust Beginner Tutorial #6 - Options & Matching
Переглядів 8292 роки тому
Rust Beginner Tutorial #6 - Options & Matching

КОМЕНТАРІ

  • @durgeshchandrakar8956
    @durgeshchandrakar8956 Місяць тому

    such a under rated youtube channel, Gold-mine

  • @aksenovkirill5191
    @aksenovkirill5191 3 місяці тому

    hi! THank you so much for your work. I am Frontend-developer and i want to switch to blockchain. I started to learn solana with your tutorial - everything great, but i have some problems with limits I try to use npm run start and i can't connect to api.devnet unfortunately i had this problem with commands: solana program show

  • @Ttimest4
    @Ttimest4 3 місяці тому

    If anyone here is facing the Cargo Build Bpf errors, use GIT BASH

  • @joejugashvili3616
    @joejugashvili3616 3 місяці тому

    Off to a great start.... "Quick Start" assumes you know this stuff already, doesn't spell out clearly what to do next, screen doesn't look at all like the one in this video, so I restart and in no time at all it tells me I've requested too many airdrops, come back in 24 hours. DESIGNED TO FAIL. What a waste of time and effort.

  • @Sssanbo
    @Sssanbo 3 місяці тому

    i find macros in rust really ugly and generally leaves devs to create all kinds of conventions ... just wanting to complain :)

  • @0xrahuleum
    @0xrahuleum 3 місяці тому

    entire serials is very helpful to start from the bigginging

  • @Sssanbo
    @Sssanbo 4 місяці тому

    What is this syntax? : math_stuff.serialize(&mut &mut account.data.borrow_mut()[..])?; I get that we are serializing it using borcsh but what is the stuff we are passing to serialize ?

  • @AkashDarji-mq8vc
    @AkashDarji-mq8vc 4 місяці тому

    can we write client in RUST instead of Node.js and typescript? if yes how? any helpful links pls

  • @luisfernandochaves1520
    @luisfernandochaves1520 4 місяці тому

    Great video! Could you please do a tutorial explaining step by step how to get my solana coins from LIDO!!!

  • @sergio4446-c8b
    @sergio4446-c8b 5 місяців тому

    Man, the "lamports: LAMPORTS_PER_SOL" line is dangerous! :D I transformed the program to what I needed, deployed to mainnet - and then it was pure luck that I noticed it before removing the keypair of the program owning the account with the SOL.

  • @Raj-f7r4s
    @Raj-f7r4s 5 місяців тому

    recent i got error that this function takes 4 arguments but 3 arguments were supplied --> src/lib.rs:78 &token_account_instruction::create_associated_token_account( over herr PLZ add invoke( &token_account_instruction::create_associated_token_account( &mint_authority.key, &mint_authority.key, &mint.key, &token_program.key, //added this to remove error ),

  • @kumarutkarsh1248
    @kumarutkarsh1248 5 місяців тому

    i was looking for exactly this

  • @charleslako
    @charleslako 5 місяців тому

    So can tell me istposible to do all that in Alpine linux

  • @centameta8597
    @centameta8597 5 місяців тому

    super helpful with a good pace and quality, thanks

  • @CEOofCTOs
    @CEOofCTOs 6 місяців тому

    doesn't work- I paste it and nothing happens

  • @SenioorNA
    @SenioorNA 6 місяців тому

    I got a problem with the command npm run build:program at minute 19:16 it says: error: no such command: `build-bpf`

  • @ashishpandey_legend
    @ashishpandey_legend 6 місяців тому

    From where are u copying things 2:45 ???????

  • @HermesSoilder
    @HermesSoilder 6 місяців тому

    Thanks for this man. I want to get into web3 and decided I'm watching all your videos from start to finish to get started with solana.

  • @ykfazzz
    @ykfazzz 6 місяців тому

    Wait, i followed along, where do i get the wallet key ? I'm lost atm

  • @MrMustachehead
    @MrMustachehead 7 місяців тому

    Thankyou for all the effort you've put into making these videos. 🙂

  • @MrMustachehead
    @MrMustachehead 7 місяців тому

    Does the project dir exist inside WSL?

  • @dangelgeek
    @dangelgeek 7 місяців тому

    I got this errors Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete, what anchor and solana version did you use?

  • @m1ch3lr0m3r0
    @m1ch3lr0m3r0 8 місяців тому

    Can you send SOL directly using the system program without a smart contract as a middle man?

  • @fabianidiez796
    @fabianidiez796 8 місяців тому

    solidity dev here trying to use it solana and learn rust in the process. It seems more simple with your explanation, Thank you so much really appreciate it!

  • @nikolabozic3918
    @nikolabozic3918 8 місяців тому

    Why when we send SOl, we don't check tor account.owner ?

  • @brokentv9296
    @brokentv9296 8 місяців тому

    sir, I had an issue when I tried to run cargo build-bpf. the message error show required update rustc to 1.75 or newer but my rustc version is 1.77, and rustc compiling in cargo-build-sbf's version is 1.68 ?

    • @ImMi-mi8jq
      @ImMi-mi8jq 8 місяців тому

      Had the same: Do: solana-install init 1.9.13 cargo add solana-program@=1.17.0 cargo update -p solana-program cargo add ahash = "=0.8.6"

    • @brokentv9296
      @brokentv9296 8 місяців тому

      @@ImMi-mi8jq thanks, I resolved it

  • @RootsterAnon
    @RootsterAnon 8 місяців тому

    there is no rent in associated_token::Create anymore.

  • @RootsterAnon
    @RootsterAnon 9 місяців тому

    Is there a video or any resources how we can get our calculator number visible on web page? I have deployed contract to testnet and I am able to interact with it but have no clue how can i show calculator value visible on fronted. if anyone can help, it would be greatly appreciated.

  • @RootsterAnon
    @RootsterAnon 9 місяців тому

    Wow! will we have any new content for Solana and Rust in 2024? This is the only tutorial series that shows rust and typescript side by side how to. Great work!

    • @spiffjekey-green4034
      @spiffjekey-green4034 8 місяців тому

      Yeah, thats true, I feel the @solana/web3.js library needs a proper documentation

  • @RootsterAnon
    @RootsterAnon 9 місяців тому

    What to do when we reach rate limit on devnet?

  • @Marcelo280289
    @Marcelo280289 9 місяців тому

    hi, thanks for this but i am a complete begginer and as i can see here there is some assumption that one already knows code i was looking for a clean install step by step guide including on how to open up the command promp of rust where we type in all commands, most of the videos on youtube they are already deep down in the command prompt!!!

  • @pardipbhatti9943
    @pardipbhatti9943 9 місяців тому

    Hi Thanks for the great tutorial, but I am stuck with mpl_token_metadata, current version is 4.1.2 and create_metadata_accounts_v2 is not available with this version in this code invoke( &instructions::create_metadata_accounts_v2( TOKEN_METADATA_ID, ctx.accounts.metadata.key(), ctx.accounts.mint.key(), Can you please tell me solution for this it has now CreateMetadataAccountV3 which not working either

  • @Akshatgiri
    @Akshatgiri 9 місяців тому

    Awesome series. Straight forward and approachable. Appreciate the content!

  • @tomchareton3452
    @tomchareton3452 10 місяців тому

    hi bro thanks for the video. do you know how to detect the decimal 0 in data base 64 on a tx ? THANKS

  • @ChuckRayNorris
    @ChuckRayNorris 10 місяців тому

    doesn't work anymore

  • @sofiazanetterovaris974
    @sofiazanetterovaris974 11 місяців тому

    Awesome video! Congrats!

  • @boots_on_the_grounds_of_war
    @boots_on_the_grounds_of_war 11 місяців тому

    The way you explained how it's just RPC requests ... I had that "Oh, this is simple" moment. I've been developing web technologies since 2003. I'm late to web3 but I'm like a dog with a bone. It's a new world. I almost gave up programming, but crypto has relit the fire. Thank you.

  • @arturo3511
    @arturo3511 11 місяців тому

    This should have been presented before the NFT videos

  • @arturo3511
    @arturo3511 11 місяців тому

    So you can buy an NFT from anyone even if they didnt put it on sell ? Where are the check restrictions

  • @arturo3511
    @arturo3511 11 місяців тому

    why is the mint a signer. Isnt the wallet the one sending the txns ?

  • @arturo3511
    @arturo3511 11 місяців тому

    How did you fix Rust Analyzer at 5:16 ?

  • @VarunSingh-qo9zk
    @VarunSingh-qo9zk Рік тому

    Thanks . Please create more videos on things like actix-web,creating servers and anchor framework.

  • @NOISCALE
    @NOISCALE Рік тому

    ❤❤❤

  • @g0rdo176
    @g0rdo176 Рік тому

    i feel like the movie im watching just had a super twist in the plot! this went from yea yea ok so this is a if statement this is a loop whatever when does this become useful to DIRECTLY TALKING WITH THE BLOCK CHAIN THIS IS WILD THANK YOU SO MUCHHHH!!!!

  • @g0rdo176
    @g0rdo176 Рік тому

    dude, i have NEVER seen such a coherent and straight forward course such as this, im watching all of it asap

  • @VarunSingh-qo9zk
    @VarunSingh-qo9zk Рік тому

    Very cool video!!!. you have covered stuff that is hard to find on youtube .Please don't stop creating these tutorials !!!

  • @silkmind841
    @silkmind841 Рік тому

    Amazing! Thank you sir!

  • @badinibeats5939
    @badinibeats5939 Рік тому

    wow great tutorial cant wait to get through the playlist

  • @a_maxed_out_handle_of_30_chars

    very helpful, thank you :)

  • @a_maxed_out_handle_of_30_chars

    well explained, thank you :)