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

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