This is a template for optimized Solana program development using the Pinocchio framework. This template was built by Exo Technologies.
From project root
cargo build-sbf
This repository uses Shank for IDL generation.
Install the Shank CLI
cargo install shank-cli
Generate IDL
shank idl -r program -o idl
// OR
yarn generate-idl
Ensure the IDL has been created or updated using the above IDL generation steps.
Install dependencies
yarn install
Run client generation script
yarn generate-clients
Integration tests are written using LiteSvm. To run integration tests, from project root build and then run
cargo test