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

EOSIO-based blockchain Hyperion API client for Dart and Flutter applications.

eosdart_hyperion #

EOSIO-based blockchain Hyperion API client for Dart and Flutter applications.

What's Hyperion? #

Hyperion is a Scalable Full History API Solution for EOSIO based blockchains developed by EOS Rio.

Usage #

This library is powered by Chopper. This means that you need to create an instance of the ChopperService you want to query, i.e. ActionsHyperionService, and inject an instance of HyperionClient to it.

HyperionClient is flexible. You can customize it the same way you would do with a ChopperClient, for example by adding your own interceptors such as HttpLoggingInterceptor or CurlInterceptor, although it works fine out of box by specifying a nodeUrl.

Here's an example of the basic usage:

dependencies:
  eosdart_hyperion: ^[latest version]
import 'package:eosdart_hyperion/eosdart_hyperion.dart';

void main() {
  final hyperionClient = HyperionClient(nodeURL: 'https://api.eossweden.org');

  final actionsHyperionService =
      ActionsHyperionService.create(client: hyperionClient);

  actionsHyperionService
      .getActions(account: 'eosswedenorg', simple: true, limit: 5)
      .then((response) => print(response.body));
}

Contributing #

If you have a feature request or found a bug please file it at the issues tracker.

Thanks!

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

EOSIO-based blockchain Hyperion API client for Dart and Flutter applications.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

chopper, eosdart_ecc, json_annotation

More

Packages that depend on eosdart_hyperion