tiki_sdk_dart 2.1.0 tiki_sdk_dart: ^2.1.0 copied to clipboard
Create and enforce immutable data licensing records client-side. The core-implementation of TIKI's client-side infrastructure.
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: ^2.1.0
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/cache/content_schema.dart';
import 'package:tiki_sdk_dart/cache/license/license_model.dart';
import 'package:tiki_sdk_dart/cache/license/license_repository.dart';
import 'package:tiki_sdk_dart/cache/license/license_service.dart';
import 'package:tiki_sdk_dart/cache/license/license_use.dart';
import 'package:tiki_sdk_dart/cache/license/license_usecase.dart';
import 'package:tiki_sdk_dart/cache/license/license_usecase_enum.dart';
import 'package:tiki_sdk_dart/cache/title/title_model.dart';
import 'package:tiki_sdk_dart/cache/title/title_repository.dart';
import 'package:tiki_sdk_dart/cache/title/title_service.dart';
import 'package:tiki_sdk_dart/cache/title/title_tag.dart';
import 'package:tiki_sdk_dart/cache/title/title_tag_enum.dart';
import 'package:tiki_sdk_dart/guard.dart';
import 'package:tiki_sdk_dart/l0/auth/auth_model_jwt.dart';
import 'package:tiki_sdk_dart/l0/auth/auth_repository.dart';
import 'package:tiki_sdk_dart/l0/auth/auth_service.dart';
import 'package:tiki_sdk_dart/l0/registry/registry_model_req.dart';
import 'package:tiki_sdk_dart/l0/registry/registry_model_rsp.dart';
import 'package:tiki_sdk_dart/l0/registry/registry_repository.dart';
import 'package:tiki_sdk_dart/l0/registry/registry_service.dart';
import 'package:tiki_sdk_dart/l0/storage/storage_model_list.dart';
import 'package:tiki_sdk_dart/l0/storage/storage_model_list_obj.dart';
import 'package:tiki_sdk_dart/l0/storage/storage_model_list_obj_owner.dart';
import 'package:tiki_sdk_dart/l0/storage/storage_model_token_req.dart';
import 'package:tiki_sdk_dart/l0/storage/storage_model_token_rsp.dart';
import 'package:tiki_sdk_dart/l0/storage/storage_model_upload.dart';
import 'package:tiki_sdk_dart/l0/storage/storage_model_vlist.dart';
import 'package:tiki_sdk_dart/l0/storage/storage_repository.dart';
import 'package:tiki_sdk_dart/l0/storage/storage_service.dart';
import 'package:tiki_sdk_dart/license_record.dart';
import 'package:tiki_sdk_dart/node/backup/backup_client.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/node_service.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/node/xchain/xchain_client.dart';
import 'package:tiki_sdk_dart/node/xchain/xchain_model.dart';
import 'package:tiki_sdk_dart/node/xchain/xchain_repository.dart';
import 'package:tiki_sdk_dart/node/xchain/xchain_service.dart';
import 'package:tiki_sdk_dart/tiki_sdk.dart';
import 'package:tiki_sdk_dart/title_record.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/xml_parse.dart';