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

outdated

Dart implementation of Solana JSON RPC API client. Provides convenient interface for the RPC methods.

codecov

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.

97
likes
0
points
2.72k
downloads

Publisher

verified publishercryptoplease.com

Weekly Downloads

Dart implementation of Solana JSON RPC API client. Provides convenient interface for the RPC methods.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

bip39, borsh_annotation, convert, cryptography, ed25519_hd_key, freezed_annotation, http, json_annotation, web_socket_channel

More

Packages that depend on solana