ontology_dart_sdk 1.0.0 ontology_dart_sdk: ^1.0.0 copied to clipboard
The Dart SDK For Ontology blockchain. It supports: * Wallet management * Digital identity management * Digital asset management * Smart Contract deployment and invocation * Ontology blockchain API
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ontology_dart_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ontology_dart_sdk: ^1.0.0
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:ontology_dart_sdk/common.dart';
import 'package:ontology_dart_sdk/crypto.dart';
import 'package:ontology_dart_sdk/neocore.dart';
import 'package:ontology_dart_sdk/network.dart';
import 'package:ontology_dart_sdk/settings.dart';
import 'package:ontology_dart_sdk/wallet.dart';