Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 531 Bytes

HOWTO.md

File metadata and controls

31 lines (24 loc) · 531 Bytes
  1. Install deps
    yarn install
    
  2. Build project
    anchor build
    
  3. See anchor keys and look for the programID output
    anchor keys list
    
  4. Run tests
    anchor test
    
  5. Run local validator
    solana-test-validator
    
  6. See solana logs
    solana logs --url localhost
    
  7. Run tests with local validator
    anchor test --skip-local-validator
    
  8. Run tests in testing environment
    anchor test -- --features "testing"