C Interface
Last updated
Was this helpful?
Last updated
Was this helpful?
Of all the interfaces DIDKit exposes, the C library is closest to the Rust original.
For a quick function & type reference, you can study the .
A C header file can be built, but it resides in a separate crate that must be compiled separately after building DIDKit. Instructions can be found .
To build manually and just for Android, building from the C wrapper is faster and simpler than going through Flutter; for instructions, see the Android section below.
Install Rust and DIDKit as usual and then:
More detailed C tests can be found in the of the DIDKit repository on GitHub. This doubles as a comprehensive code snippet demonstrating key calls and responses in C.
C wrapper