tiki_sdk_dart 0.0.17 tiki_sdk_dart: ^0.0.17 copied to clipboard
The core implementation (pure dart) of TIKI's decentralized infrastructure plus abstractions to simplify the tokenization and application of data ownership, consent, and rewards. For new projects, we [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tiki_sdk_dart
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
tiki_sdk_dart: ^0.0.17
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:tiki_sdk_dart/consent/consent_model.dart';
import 'package:tiki_sdk_dart/consent/consent_repository.dart';
import 'package:tiki_sdk_dart/consent/consent_service.dart';
import 'package:tiki_sdk_dart/node/backup/backup_model.dart';
import 'package:tiki_sdk_dart/node/backup/backup_repository.dart';
import 'package:tiki_sdk_dart/node/backup/backup_service.dart';
import 'package:tiki_sdk_dart/node/block/block_model.dart';
import 'package:tiki_sdk_dart/node/block/block_repository.dart';
import 'package:tiki_sdk_dart/node/block/block_service.dart';
import 'package:tiki_sdk_dart/node/key/key_model.dart';
import 'package:tiki_sdk_dart/node/key/key_repository.dart';
import 'package:tiki_sdk_dart/node/key/key_service.dart';
import 'package:tiki_sdk_dart/node/key/key_storage.dart';
import 'package:tiki_sdk_dart/node/l0_storage.dart';
import 'package:tiki_sdk_dart/node/node_service.dart';
import 'package:tiki_sdk_dart/node/node_service_builder.dart';
import 'package:tiki_sdk_dart/node/transaction/transaction_model.dart';
import 'package:tiki_sdk_dart/node/transaction/transaction_repository.dart';
import 'package:tiki_sdk_dart/node/transaction/transaction_service.dart';
import 'package:tiki_sdk_dart/ownership/ownership_model.dart';
import 'package:tiki_sdk_dart/ownership/ownership_repository.dart';
import 'package:tiki_sdk_dart/ownership/ownership_service.dart';
import 'package:tiki_sdk_dart/sstorage/sstorage_model_list.dart';
import 'package:tiki_sdk_dart/sstorage/sstorage_model_list_ver.dart';
import 'package:tiki_sdk_dart/sstorage/sstorage_model_list_ver_owner.dart';
import 'package:tiki_sdk_dart/sstorage/sstorage_model_token_req.dart';
import 'package:tiki_sdk_dart/sstorage/sstorage_model_token_rsp.dart';
import 'package:tiki_sdk_dart/sstorage/sstorage_model_upload.dart';
import 'package:tiki_sdk_dart/sstorage/sstorage_repository.dart';
import 'package:tiki_sdk_dart/sstorage/sstorage_service.dart';
import 'package:tiki_sdk_dart/tiki_sdk.dart';
import 'package:tiki_sdk_dart/tiki_sdk_builder.dart';
import 'package:tiki_sdk_dart/tiki_sdk_data_type_enum.dart';
import 'package:tiki_sdk_dart/tiki_sdk_destination.dart';
import 'package:tiki_sdk_dart/utils/bytes.dart';
import 'package:tiki_sdk_dart/utils/compact_size.dart';
import 'package:tiki_sdk_dart/utils/isolate.dart';
import 'package:tiki_sdk_dart/utils/merkel_tree.dart';
import 'package:tiki_sdk_dart/utils/rsa/rsa.dart';
import 'package:tiki_sdk_dart/utils/rsa/rsa_private_key.dart';
import 'package:tiki_sdk_dart/utils/rsa/rsa_public_key.dart';
import 'package:tiki_sdk_dart/utils/utils.dart';
import 'package:tiki_sdk_dart/utils/xml_parse.dart';