Skip to content

nomeata/ic-certification

Repository files navigation

ic-certification

This Motoko library provides functionality around “Certification”, in particular

  • A labeled tree data sturcture with merkelization (MerkleTree) and the ability to generate witnesses according to Internet Computer Interface Specification.
  • Support for the “Canister Signature scheme” that builds on top of that.
  • Utilities related to the “Implementation-independent hash” that is used, among other things, for signing HTTP requests to the Internet Computer

See https://nomeata.github.io/ic-certification/ for the docuemntation of the current development version.

The demo/ directory contains a commented canister demonstrating these features; it is also live at https://wpsi7-7aaaa-aaaai-acpzq-cai.ic0.app/.

Installation

Using MOPS:

mops add ic-certification

or using vessel.

See Developemnt.md for development and testing information.

License

This library is distributed under the terms of the Apache License (Version 2.0). See LICENSE for details.

Funding

This library was initially incentivized by ICDevs. You can view more about the bounty on the forum or website. The bounty was funded by The ICDevs.org community and the DFINITY Foundation and the award was paid to TODO. If you use this library and gain value from it, please consider a donation to ICDevs.