Crate vercre_wallet

source ·
Expand description

§OpenID Wallet

A vercre-wallet app that support OpenID for Verifiable Credential Issuance and Presentation.

The app is based on Red Badger’s experimental CRUX framework, for cross-platform applications.

The application is split into two parts; the core business logic (this library) built in Rust, and a platform-specific shell (Swift, Kotlin, TypeScript) to manage user interactions.

Re-exports§

Modules§

Structs§

  • Bridge is a core wrapper presenting the same interface as the Core but in a serialized form, using bincode as the serialization format.
  • The Crux core. Create an instance of this type with your effect type, and your app type as type parameters
  • Request for a side-effect passed from the Core to the Shell. The uuid links the Request with the corresponding call to Core::resolve to pass the data back to the App::update function (wrapped in the event provided to the capability originating the effect).

Functions§

  • FFI interface to receive a response to a capability request from the shell.
  • FFI interface to receive an event from the shell.
  • FFI interface to get the current state of the app’s view model (serialized).