Useful Tools

Core

  1. Anchor Framework: https://www.anchor-lang.com/
  2. Anchor Playground: https://beta.solpg.io/
  3. Rust Example: https://doc.rust-lang.org/rust-by-example/index.html (we only need to master 20% of Rust to become competent.)
  4. Rust Playground: https://play.rust-lang.org/
  5. Solang: https://solang.readthedocs.io/en/latest/running.html (A tool to convert solidity into rust, experimental)
  6. solana doc: https://docs.solanalabs.com/

Library

  1. solana-web3.js: https://solana-labs.github.io/solana-web3.js/, similiar to ether.js in solidity

Anchor Cmds

anchor idl init -f <target/idl/xxx.json>

Tips

  1. The program id is generated during anchor build, you may need to run anchor kyes sync after build.