- Install deps
yarn install
- Build project
anchor build
- See anchor keys and look for the programID output
anchor keys list
- Run tests
anchor test
- Run local validator
solana-test-validator
- See solana logs
solana logs --url localhost
- Run tests with local validator
anchor test --skip-local-validator
- Run tests in testing environment
anchor test -- --features "testing"