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

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