Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Solana Smart Contract Tutorial: Using the Anchor Framework
Play lesson

Solana Development Tutorial - Solana Smart Contract Tutorial: Using the Anchor Framework

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

Anchor is a framework created by project serum to help abstract away the complexities of creating Solana Smart Contracts. In past video's we've seen how complex it was to get data and parse it, in today's video we will see how Anchor solves this so we can focus on writing smart contracts instead of byte packing. 📙 Solana Playlist: https://www.youtube.com/watch?v=-AAtfPHEMbA&list=PL53JxaGwWUqCr3xm4qvqbgpJ4Xbs4lCs7 💰 Donations accepted (but optional): 2hYca42EE2kwmFZPV7M4skev1za7atWBh5ctzQWfsTD7 00:00 - Intro 01:37 - Setting up Anchor 02:32 - Helpful Anchor CLI commands 03:39 - Anchor breakdown: program module 05:28 - Anchor breakdown: defining accounts 13:45 - Defining our anchor script 14:35 - Cloning the project and opening it on VS Code 17:00 - Implementing the anchor script 22:27 - Deploying our anchor script 25:45 - Using anchor to create an IDL file and write frontend code (tests) 30:25 - Testing high level instructions 31:24 - Implement frontend tests 42:30 - TL;DW: Comparing Solana scripts with Anchor scripts Resources: Anchor Installation Instruction: https://project-serum.github.io/anchor/getting-started/installation.html Anchor Github Project: https://github.com/project-serum/anchor Anchor CLI commands: https://project-serum.github.io/anchor/cli/commands.html Code documentation: https://docs.rs/anchor-lang/latest/anchor_lang/context/struct.Context.html https://docs.rs/anchor-lang/latest/anchor_lang/accounts/account/struct.Account.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