John c30325a560 delete pnpm-lock.yaml files hai 1 ano
..
program a70c93ba45 test: Adding test jobs github actions for anchor and solana native 💚 (#76) hai 1 ano
tests a70c93ba45 test: Adding test jobs github actions for anchor and solana native 💚 (#76) hai 1 ano
ts a70c93ba45 test: Adding test jobs github actions for anchor and solana native 💚 (#76) hai 1 ano
README.md 540c9af3e2 counter: add native program example %!s(int64=3) %!d(string=hai) anos
package.json a70c93ba45 test: Adding test jobs github actions for anchor and solana native 💚 (#76) hai 1 ano

README.md

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