Ayush 4b8594ec04 chore: solana native and steel bump to v2.1 (#382) il y a 4 mois
..
idl a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) il y a 1 an
src 17afe2e7a4 add rust workspace and update crates version (#41) il y a 2 ans
tests a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) il y a 1 an
ts a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) il y a 1 an
.solitarc.js a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) il y a 1 an
Cargo.toml 4b8594ec04 chore: solana native and steel bump to v2.1 (#382) il y a 4 mois
README.md 21a52cb1eb build bpf -> build sbf (#101) il y a 1 an
jest.config.js a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) il y a 1 an
package.json db49ce2c0a counter: add mpl-stack example (solita needs fix) il y a 3 ans

README.md

Counter: MPL Stack

This example program is written using Solana native using MPL stack.

Setup

  1. Build the program with cargo build-sbf
  2. Compile the idl with shank build
  3. Build the typescript SDK with yarn solita
    • Temporarily, we have to modify line 58 in ts/generated/accounts/Counter.ts to const accountInfo = await connection.getAccountInfo(address, { commitment: "confirmed" }); in order to allow the tests to pass. In the future versions of Solita, this will be fixed.
  4. Run tests with yarn test