This repo is for trying out different tools with basic programs. Curious also about VM bytecode size.
Messenger test app created by this author. It has anchor and tests with solana-program-test. Works with cargo test-sbf.
NFT minting test app created by this author. It has anchor and tests with solana-sdk, i.e. it's using Rust Client methods basically.
Simple counter solana-program app with a mollusk test.
Run with
cargo build-sbf
cargo test
Simple counter pinocchio app with a mollusk test.
Run with
cargo build-sbf
cargo test
Simple counter solana-program app with litesvm test. Run with
cargo build-sbf
cargo test
Program with pinocchio and pinocchio-pubkey running solana program test, minimal test setup. Run with cargo test-sbf.
This example was taken from Pinocchio guide and corrected. It contains create account for wallet and pdas, and two examples of transfer (one for wallets and one for pdas) with its respective tests.
llvm-objdump -d --arch-name=bpfel target/deploy/program.so