Davirain 17afe2e7a4 add rust workspace and update crates version (#41) il y a 2 ans
..
src 17afe2e7a4 add rust workspace and update crates version (#41) il y a 2 ans
tests 540c9af3e2 counter: add native program example il y a 3 ans
ts 540c9af3e2 counter: add native program example il y a 3 ans
Cargo.toml 17afe2e7a4 add rust workspace and update crates version (#41) il y a 2 ans
README.md 540c9af3e2 counter: add native program example il y a 3 ans
jest.config.js 540c9af3e2 counter: add native program example il y a 3 ans
package.json 540c9af3e2 counter: add native program example il y a 3 ans

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