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

outdated

Dart SDK For Ontology blockchain.

Dart SDK For Ontology blockchain

This is a Dart SDK for the Ontology blockchain and could be used in the Flutter development.

It supports:

  • Wallet management
  • Digital identity management
  • Digital asset management
  • Smart Contract deployment and invocation
  • Ontology blockchain API

It's recommend to take a quick view of the Ontology Development Guide before your development. The test cases folder contains various examples they are also worth a glance.

Run the tests #

Testing in flutter is interesting, our test code and business code run in two separate processes. The test code takes screen captures of the running business code to perform further predicate code. For more details under this mechanism please refer integration testing.

Here are the steps to start the tests:

  1. Downloading the executable binary file of Ontology from it's release page. The version used in the tests is ontology version v1.6.0-8-g754303c0
  2. Copying the test wallet located in file example/lib/test/common/wallet.dart and save it into file wallet.dat then put the saved wallet file and the Ontology binary from step 1 under the same directory.
  3. Starting Ontology node runs in test mode ./ontology --testmode --loglevel=1
  4. Starting the tests: cd example/ && flutter drive --target=test_driver/app.dart

Below is a screenshot from tests:

0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Dart SDK For Ontology blockchain.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, convert, flutter, meta, uuid, web_socket_channel

More

Packages that depend on ontology_dart_sdk