Important
As we do not use the DIDKit bindings internally anymore, we have decided to archive their respective repositories. If you are looking for alternatives, our Rust library ssi (on which DIDKit was built) is still in active deployment, and we have new mobile-focused libraries with sprucekit-mobile. And as always, you are welcome to fork our repositories.
Check out the DIDKit documentation here.
DIDKit
DIDKit provides Verifiable Credential and Decentralized Identifier
functionality across different platforms. It was written primarily in Rust due
to Rust\’s expressive type system, memory safety, simple dependency web, and
suitability across different platforms including embedded systems. DIDKit
embeds the ssi library, which contains the
core functionality.
Security Audits
DIDKit has undergone the following security reviews:
- March 14th, 2022 – Trail of Bits | Summary of Findings
We are setting up a process to accept contributions. Please feel free to open
issues or PRs in the interim, but we cannot merge external changes until this
process is in place.
Install
Manual
DIDKit is written in Rust. To get Rust, you can use Rustup.
Build DIDKit using Cargo:
$ cargo build
That will give you the DIDKit CLI executable located at
target/debug/didkit. You can also build and install DIDKit\’s components separately. Building the FFI libraries will require additional dependencies. See the corresponding readmes linked below for more info.
Usage
DIDKit can be used in any of the following ways:
- CLI –
didkitcommand-line program - HTTP – HTTP server (Rust library and CLI program)
- FFI – libraries for C, Java, Android, and Dart/Flutter
