This guide shows you how to use the Solanoid SDK to test the apps built on the Solana blockchain.
Solanoid is a unique testing framework for Solana blockchain written in Go and designed by the SuSy team during the Solana<> Polygon bridge development. It provides an easy-to-use SDK for interacting with Solana and its blockchain-specific programs — Token Program, System Program, etc.
The framework is applicable to any Solana blockchain version.
What is Solanoid?
Solanoid is a framework for testing and building programs on the Solana blockchain written in Go.
There is no built-in testing framework in Solana yet, and Solanoid aims to fill the gap between writing and testing contracts on Solana. It only requires Solana-cli and Golang as dependencies.
We aim to provide a lightweight and easy-to-use framework, which is written from scratch and based on several standard libraries. Solanoid uses the most out of the native Solana-SDK and solana-go-sdk packages.
What does it help with?
Solanoid provides tools that help with end-to-end testing, multiple contract invocation, parallel execution, multiple addresses handling (persistent and temporary), and multisig validation.
Solana-cli is required.
- Light abstractions for invoking and calling instructions, with and without multisig.
- Deployment functionality provided via symlinks and native loading of programs.
- Testing functionality.
- Easy-to-use functions: instant token account creation, token delegation, transfer authority, etc.
- Instruction builders.
- Private keys management.
- Full application deployment.
- Migration mechanisms for Solana programs.
The table below outlines features and capabilities of Solanoid SDK.
Solanoid is created with the help of our partner Graviton, who encouraged us to summurise our experience and knowledge of the Solana ecosystem, come up with a testing framework and contributed to the development.