SuSy releases Solanoid, a testing framework for Solana Programs

OneSusy
2 min readAug 17, 2021

--

This guide shows you how to use the Solanoid SDK to test the apps built on the Solana blockchain.

Intro

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.

Dependencies

Solana-cli is required.

Features

  1. Light abstractions for invoking and calling instructions, with and without multisig.
  2. Deployment functionality provided via symlinks and native loading of programs.
  3. Testing functionality.
  4. Easy-to-use functions: instant token account creation, token delegation, transfer authority, etc.
  5. Instruction builders.
  6. Private keys management.
  7. Full application deployment.
  8. 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.

Sign up for news on Twitter

Follow and collaborate on GitHub

--

--

OneSusy

Susy is a decentralised bridge for fast and simple borderless cross-chain transfers for EVM and non-EVM chains.