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

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