Focus mode

Smart Contract development on Solana using Rust

Introduction to Anchor Framework

Anchor is a powerful development environment and a test framework. And using this framework you can:

  • Develop your code using Rust
  • Have quick and effective testing
  • Deploy to a local blockchain

Anchor uses Solana web3.js plugins, faucet plugins and blockchain forking technologies. You can test your code local blockchain, then deploy on testnets and mainnet.

An Anchor Program contains 3 parts:

  • Program module: To write your business logic
  • Account structs: To validate accounts
  • declare_id macro: Creates an Id for program address

Additional example for “Minting using MetaPlex with Anchor” can be found here :  https://www.youtube.com/watch?v=c1GJ-13z6pE 

Additional example for “Creating PDA's with Anchor” can be found here :   https://www.youtube.com/watch?v=A1TMZxZz9Q8

You can find detailed further information from Anchor documentation: https://www.anchor-lang.com/ 

Resources:

https://www.anchor-lang.com/docs/high-level-overview 

https://betterprogramming.pub/the-top-blockchain-developer-frameworks-for-2021-89afa5e7bd04 

https://www.web3.university/article/20-blockchain-development-tools

https://www.leewayhertz.com/how-to-build-dapp-solana/


left-disk

Programs to Accelerate Your Progress in a Software Career

Join our 4-8 month intensive Patika+ bootcamps, start with the fundamentals and gain comprehensive knowledge to kickstart your software career!

right-cube

Comments

You need to enroll in the course to be able to comment!