commerciosdk 2.2.0 commerciosdk: ^2.2.0 copied to clipboard
Pure Dart library allowing you to easily integrate with the Commercio.network blockchain
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add commerciosdk
With Flutter:
$ flutter pub add commerciosdk
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
commerciosdk: ^2.2.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:commerciosdk/crypto/encryption_helper.dart';
import 'package:commerciosdk/crypto/export.dart';
import 'package:commerciosdk/crypto/keys_helper.dart';
import 'package:commerciosdk/crypto/rsa_key_parser.dart';
import 'package:commerciosdk/crypto/sign_helper.dart';
import 'package:commerciosdk/docs/commercio_doc_helper.dart';
import 'package:commerciosdk/docs/commercio_doc_receipt_helper.dart';
import 'package:commerciosdk/docs/docs_helper.dart';
import 'package:commerciosdk/docs/docs_utils.dart';
import 'package:commerciosdk/docs/export.dart';
import 'package:commerciosdk/entities/crypto/identity_response.dart';
import 'package:commerciosdk/entities/crypto/tumbler_response.dart';
import 'package:commerciosdk/entities/docs/commercio_doc.dart';
import 'package:commerciosdk/entities/docs/commercio_doc.g.dart';
import 'package:commerciosdk/entities/docs/commercio_doc_receipt.dart';
import 'package:commerciosdk/entities/docs/commercio_doc_receipt.g.dart';
import 'package:commerciosdk/entities/docs/export.dart';
import 'package:commerciosdk/entities/docs/legacy/21/commercio_doc.dart';
import 'package:commerciosdk/entities/docs/legacy/21/commercio_doc.g.dart';
import 'package:commerciosdk/entities/docs/legacy/21/commercio_doc_mapper.dart';
import 'package:commerciosdk/entities/docs/legacy/21/commercio_doc_receipt.dart';
import 'package:commerciosdk/entities/docs/legacy/21/commercio_doc_receipt.g.dart';
import 'package:commerciosdk/entities/docs/legacy/21/commercio_doc_receipt_mapper.dart';
import 'package:commerciosdk/entities/docs/legacy/21/legacy.dart';
import 'package:commerciosdk/entities/docs/legacy/21/msg_send_document_receipt.dart';
import 'package:commerciosdk/entities/docs/legacy/21/msg_share_document.dart';
import 'package:commerciosdk/entities/docs/msg_send_document_receipt.dart';
import 'package:commerciosdk/entities/docs/msg_share_document.dart';
import 'package:commerciosdk/entities/export.dart';
import 'package:commerciosdk/entities/id/did_document.dart';
import 'package:commerciosdk/entities/id/did_document.g.dart';
import 'package:commerciosdk/entities/id/did_document_proof.dart';
import 'package:commerciosdk/entities/id/did_document_proof.g.dart';
import 'package:commerciosdk/entities/id/did_document_proof_signature_content.dart';
import 'package:commerciosdk/entities/id/did_document_proof_signature_content.g.dart';
import 'package:commerciosdk/entities/id/did_document_public_key.dart';
import 'package:commerciosdk/entities/id/did_document_public_key.g.dart';
import 'package:commerciosdk/entities/id/did_document_service.dart';
import 'package:commerciosdk/entities/id/did_document_service.g.dart';
import 'package:commerciosdk/entities/id/did_power_up_request_payload.dart';
import 'package:commerciosdk/entities/id/did_power_up_request_payload.g.dart';
import 'package:commerciosdk/entities/id/export.dart';
import 'package:commerciosdk/entities/id/msg_request_did_power_up.dart';
import 'package:commerciosdk/entities/id/msg_set_did_document.dart';
import 'package:commerciosdk/entities/id/request_did_power_up.dart';
import 'package:commerciosdk/entities/id/request_did_power_up.g.dart';
import 'package:commerciosdk/entities/keys/asymmetric_keys.dart';
import 'package:commerciosdk/entities/keys/ec_keys.dart';
import 'package:commerciosdk/entities/keys/ed_25519_keys.dart';
import 'package:commerciosdk/entities/keys/export.dart';
import 'package:commerciosdk/entities/keys/key_pair.dart';
import 'package:commerciosdk/entities/keys/rsa_keys.dart';
import 'package:commerciosdk/entities/kyc/buy_membership.dart';
import 'package:commerciosdk/entities/kyc/buy_membership.g.dart';
import 'package:commerciosdk/entities/kyc/export.dart';
import 'package:commerciosdk/entities/kyc/invite_user.dart';
import 'package:commerciosdk/entities/kyc/invite_user.g.dart';
import 'package:commerciosdk/entities/kyc/membership_type.dart';
import 'package:commerciosdk/entities/kyc/msg_buy_membership.dart';
import 'package:commerciosdk/entities/kyc/msg_invite_user.dart';
import 'package:commerciosdk/entities/kyc/msg_reward_pool_deposit.dart';
import 'package:commerciosdk/entities/kyc/reward_pool_deposit.dart';
import 'package:commerciosdk/entities/kyc/reward_pool_deposit.g.dart';
import 'package:commerciosdk/entities/mint/burn_ccc.dart';
import 'package:commerciosdk/entities/mint/burn_ccc.g.dart';
import 'package:commerciosdk/entities/mint/exchange_trade_position.dart';
import 'package:commerciosdk/entities/mint/exchange_trade_position.g.dart';
import 'package:commerciosdk/entities/mint/export.dart';
import 'package:commerciosdk/entities/mint/mint_ccc.dart';
import 'package:commerciosdk/entities/mint/mint_ccc.g.dart';
import 'package:commerciosdk/entities/mint/msg_burn_ccc.dart';
import 'package:commerciosdk/entities/mint/msg_mint_ccc.dart';
import 'package:commerciosdk/entities/network/node_info.dart';
import 'package:commerciosdk/entities/network/node_info.g.dart';
import 'package:commerciosdk/export.dart';
import 'package:commerciosdk/id/did_document_helper.dart';
import 'package:commerciosdk/id/export.dart';
import 'package:commerciosdk/id/id_helper.dart';
import 'package:commerciosdk/id/id_utils.dart';
import 'package:commerciosdk/id/request_did_power_up_helper.dart';
import 'package:commerciosdk/kyc/buy_membership_helper.dart';
import 'package:commerciosdk/kyc/export.dart';
import 'package:commerciosdk/kyc/invite_user_helper.dart';
import 'package:commerciosdk/kyc/kyc_helper.dart';
import 'package:commerciosdk/kyc/reward_pool_deposit_helper.dart';
import 'package:commerciosdk/mint/burn_ccc_helper.dart';
import 'package:commerciosdk/mint/export.dart';
import 'package:commerciosdk/mint/mint_ccc_helper.dart';
import 'package:commerciosdk/mint/mint_helper.dart';
import 'package:commerciosdk/networking/network.dart';
import 'package:commerciosdk/networking/network_info_ext.dart';
import 'package:commerciosdk/networking/networking.dart';
import 'package:commerciosdk/tx/tx_helper.dart';
import 'package:commerciosdk/utils/utils.dart';