archethic_lib_dart 0.0.12+12 archethic_lib_dart: ^0.0.12+12 copied to clipboard
ArchEthic dart library for Flutter based on Official ArchEthic Javascript library for Node and Browser
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add archethic_lib_dart
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
archethic_lib_dart: ^0.0.12+12
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:archethic_lib_dart/crypto.dart';
import 'package:archethic_lib_dart/model/key_pair.dart';
import 'package:archethic_lib_dart/model/response/balance_response.dart';
import 'package:archethic_lib_dart/model/response/coins_current_data_response.dart';
import 'package:archethic_lib_dart/model/response/coins_price_response.dart';
import 'package:archethic_lib_dart/model/response/coins_response.dart';
import 'package:archethic_lib_dart/model/response/nodes_response.dart';
import 'package:archethic_lib_dart/model/response/shared_secrets_response.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_aed.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_ars.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_aud.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_brl.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_btc.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_cad.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_chf.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_clp.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_cny.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_czk.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_dkk.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_eur.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_gbp.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_hkd.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_huf.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_idr.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_ils.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_inr.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_jpy.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_krw.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_kwd.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_mxn.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_myr.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_nok.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_nzd.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_php.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_pkr.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_pln.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_rub.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_sar.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_sek.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_sgd.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_thb.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_try.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_twd.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_usd.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_ves.dart';
import 'package:archethic_lib_dart/model/response/simple_price_response_zar.dart';
import 'package:archethic_lib_dart/model/response/transaction_chain_response.dart';
import 'package:archethic_lib_dart/model/response/transaction_content_response.dart';
import 'package:archethic_lib_dart/model/response/transaction_last_response.dart';
import 'package:archethic_lib_dart/model/response/transactions_response.dart';
import 'package:archethic_lib_dart/model/secret.dart';
import 'package:archethic_lib_dart/services/address_service.dart';
import 'package:archethic_lib_dart/services/api_coins_service.dart';
import 'package:archethic_lib_dart/services/api_service.dart';
import 'package:archethic_lib_dart/transaction_builder.dart';
import 'package:archethic_lib_dart/utils.dart';