Commercio SDK - Dart

Release Compatible

This repository contains the code of the official Commercio.network Dart SDK, entirely based on Sacco.dart.

The main features are:

  • Entirely made in Dart
  • Completely stateless

Thanks to these characteristics, you can use this SDK inside any pure Dart project or even any Flutter application.

You can find the official documentation here.

Helper methods

Inside the SDK you will find the following helper methods that will help you with almost any operation that you might want to perform on the Commercio.network blockchain.

Please note that you can find usage examples of the following methods inside the sdk documentation. We highly suggest you checking it out to have a complete reference of the SDK.

Crypto

  • Create HD wallet
  • Generate AES key
  • Generate RSA key

Docs

  • Share document
  • Send receipt
  • List documents
  • List receipts

Id

  • Create Did Document
  • Associate Did Document
  • Request power up

CommercioMint

  • Mint CCC
  • Burn CCC

CommercioKYC

  • Invite user
  • Buy membership
  • Deposit into reward pool

Libraries

crypto/encryption_helper
crypto/export
crypto/keys_helper
crypto/rsa_key_parser
crypto/sign_helper
docs/commercio_doc_helper
docs/commercio_doc_receipt_helper
docs/docs_helper
docs/docs_utils
docs/export
entities/crypto/identity_response
entities/crypto/tumbler_response
entities/docs/commercio_doc
entities/docs/commercio_doc_receipt
entities/docs/export
entities/docs/legacy/21/commercio_doc
entities/docs/legacy/21/commercio_doc_mapper
entities/docs/legacy/21/commercio_doc_receipt
entities/docs/legacy/21/commercio_doc_receipt_mapper
entities/docs/legacy/21/legacy
entities/docs/legacy/21/msg_send_document_receipt
entities/docs/legacy/21/msg_share_document
entities/docs/msg_send_document_receipt
entities/docs/msg_share_document
entities/export
entities/id/did_document
entities/id/did_document_proof
entities/id/did_document_proof_signature_content
entities/id/did_document_public_key
entities/id/did_document_service
entities/id/did_power_up_request_payload
entities/id/export
entities/id/msg_request_did_power_up
entities/id/msg_set_did_document
entities/id/request_did_power_up
entities/keys/asymmetric_keys
entities/keys/ec_keys
entities/keys/ed_25519_keys
entities/keys/export
entities/keys/key_pair
entities/keys/rsa_keys
entities/kyc/buy_membership
entities/kyc/export
entities/kyc/invite_user
entities/kyc/membership_type
entities/kyc/msg_buy_membership
entities/kyc/msg_invite_user
entities/kyc/msg_reward_pool_deposit
entities/kyc/reward_pool_deposit
entities/mint/burn_ccc
entities/mint/exchange_trade_position
entities/mint/export
entities/mint/mint_ccc
entities/mint/msg_burn_ccc
entities/mint/msg_mint_ccc
entities/network/node_info
export
id/did_document_helper
id/export
id/id_helper
id/id_utils
id/request_did_power_up_helper
kyc/buy_membership_helper
kyc/export
kyc/invite_user_helper
kyc/kyc_helper
kyc/reward_pool_deposit_helper
mint/burn_ccc_helper
mint/export
mint/mint_ccc_helper
mint/mint_helper
networking/network
networking/network_info_ext
networking/networking
tx/tx_helper
utils/utils