README.md 385 B

Counter: Solana Native

This example program is written in Solana using only the Solana toolsuite.

Setup

  1. Build the program with cargo build-bpf
  2. Run tests + local validator with yarn test

Debugging

  1. Start test validator with yarn start-validator
  2. Start listening to program logs with solana config set -ul && solana logs
  3. Run tests with yarn run-tests