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§
pub use app::App;
pub use app::Capabilities;
pub use app::Effect;
pub use app::Event;
pub use capabilities::signer;
pub use capabilities::store;
pub use crux_http as http;
Modules§
- Wallet App
- Credential App
- Issuance App
- Presentation App
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 theRequest
with the corresponding call toCore::resolve
to pass the data back to theApp::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).