solana 0.13.3+1 copy "solana: ^0.13.3+1" to clipboard
solana: ^0.13.3+1 copied to clipboard

outdated

Simple library to interact with the Solana blockchain

Dart library for Solana #

This is the Solana library for dart using the JSON RPC API

Currently, it supports

  • Creating arbitrary transactions with an API similar to that of the Rust SDK.
  • Partial implementation of the system program. Transfer and Create Account instructions for the current version.
  • Partial implementation of the SPL token program.
  • Memo program.
  • Manually writing anchor compatible programs through a simple API.
  • Generating a keypair from a 12 word mnemonic seed.
  • Partial RPC Api implementation.

Our pub.dev package #

We have the package published here if you like to use it in your project

Documentation #

You can find the documentation for the existing API right here

Publishing new version #

  • Use conventional commits
  • Run melos version. This will create a new commit with automatic changelog. Push the commit with the tag to the repository via PR.

Testing #

To run the tests you need to install the Solana Tool Suite and start the test validator by calling

solana-test-validator

You can also create an image from Dockerfile and run it.

Next steps #

Complete the RPC api and implement all methods. Implement all methods in the System program and SPL Token program.