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