solana_borsh 0.0.1 copy "solana_borsh: ^0.0.1" to clipboard
solana_borsh: ^0.0.1 copied to clipboard

Dart implementation of the Borsh serialization specification.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add solana_borsh

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  solana_borsh: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:solana_borsh/annotations.dart';
import 'package:solana_borsh/borsh.dart';
import 'package:solana_borsh/codecs.dart';
import 'package:solana_borsh/converters.dart';
import 'package:solana_borsh/exceptions.dart';
import 'package:solana_borsh/mixins.dart';
import 'package:solana_borsh/models.dart';
import 'package:solana_borsh/types.dart';
1
likes
140
pub points
42%
popularity

Publisher

verified publishermerigolabs.com

Dart implementation of the Borsh serialization specification.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, solana_buffer, solana_common

More

Packages that depend on solana_borsh