Davirain 17afe2e7a4 add rust workspace and update crates version (#41) преди 2 години
..
src 17afe2e7a4 add rust workspace and update crates version (#41) преди 2 години
tests 540c9af3e2 counter: add native program example преди 3 години
ts 540c9af3e2 counter: add native program example преди 3 години
Cargo.toml 17afe2e7a4 add rust workspace and update crates version (#41) преди 2 години
README.md 540c9af3e2 counter: add native program example преди 3 години
jest.config.js 540c9af3e2 counter: add native program example преди 3 години
package.json 540c9af3e2 counter: add native program example преди 3 години

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