Useful Tools
Core
- Anchor Framework: https://www.anchor-lang.com/
- Anchor Playground: https://beta.solpg.io/
- Rust Example: https://doc.rust-lang.org/rust-by-example/index.html (we only need to master 20% of Rust to become competent.)
- Rust Playground: https://play.rust-lang.org/
- Solang: https://solang.readthedocs.io/en/latest/running.html (A tool to convert solidity into rust, experimental)
- solana doc: https://docs.solanalabs.com/
Library
- 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
- The program id is generated during
anchor build
, you may need to runanchor kyes sync
after build.