Skip to content

[feature] EIDW: Setup Tauri+SvelteKit Project #23

@sosweetham

Description

@sosweetham

Description

Setup a bare basic tauri project with sveltekit. The eID-Wallet is going to be mainly a mobile application. It may be worth to look into typesafe rpc between tauri and the webview for this consider using either ts_rs.

ts_rs is proven to work well for our purposes, referencing impierce identity wallet but it also might be worth looking into

  • tauri-specta
  • taurpc (didnt work on mobile last i checked, (few months ago) but not sure now)

some additional stuff we would absolutely have to setup would be

  • store plugin (this is simple enough from prev exp.)
  • biometric plugin (very simple)
  • barcode scanner (tauri is very weird with the web view setup in this plugin, you'd have to use this)
  • sql plugin (this, we might wanna do something just in js instead of the tauri plugin, as it uses sqlx under the hood on rust but tauri doesnt let us actually use sqlx to control it lol, due to skill issue on tauri side) i would personally have either everything db related totally on js end or rust end, ideally rust by tauri's own design but after dealing with it myself, i'll compromise ngl

Reference

Vira Refresh
Impierce IDW

Acceptance Criteria

adds required dependencies to the project, ends up with a somewhat functioning application

Sub-issues

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions