Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Solana Smart Contract: Minting and Transfering Token/NFT with Anchor
Play lesson

Solana Development Tutorial - Solana Smart Contract: Minting and Transfering Token/NFT with Anchor

4.0 (3)
27 learners

What you'll learn

This course includes

  • 9 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

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: https://github.com/chang47/Anchor-Mint-and-Transfer-Smart-Contract 📙 Solana Playlist: https://www.youtube.com/watch?v=-AAtfPHEMbA&list=PL53JxaGwWUqCr3xm4qvqbgpJ4Xbs4lCs7 💰 Donations accepted (but optional): 2hYca42EE2kwmFZPV7M4skev1za7atWBh5ctzQWfsTD7 00:00 - Intro 00:18 - Video Overview 01:10 - Setting up: creating an anchor project 03:04 - Part 1: Writing the smart contract 04:23 - Mint To Instruction Implementation Requirements 07:19 - Implementing the Mint To instruction 16:15 - Transfer To instruction Implementation Requirements 18:35 - Implementing the Transfer To instruction 21:13 - Adding the anchor spl create dependency 22:14 - Part 2: Writing tests for the smart contract 22:44 - Test the Mint To instruction 39:56 - Test the Transfer To instruction 44:51 - Conclusion Resources: https://spl.solana.com/token Anchor Installation: https://book.anchor-lang.com/getting_started/installation.html Anchor SPL Token crate documentation https://docs.rs/anchor-spl/latest/anchor_spl/ Solana SPL Token crate documentation https://docs.rs/spl-token/latest/spl_token/ MintTo Instruction: https://docs.rs/anchor-spl/latest/anchor_spl/token/fn.mint_to.html https://docs.rs/anchor-spl/latest/anchor_spl/token/struct.MintTo.html TransferTo Instruction: https://docs.rs/anchor-spl/latest/anchor_spl/token/fn.transfer.html https://docs.rs/anchor-spl/latest/anchor_spl/token/struct.Transfer.html

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere