Identity Wallet for people to manage Decentralized Identities and Verifiable Credentials.
This app is built with Tauri 2.0. It uses Rust in the backend and SvelteKit, Tailwind CSS, and Melt UI in the frontend.
This repository uses npm workspaces:
Path | Description |
---|---|
./ |
Project root with Prettier configuration. |
./unime |
NPM workspace UniMe frontend. |
./unime/src-tauri |
Tauri Rust app (not an NPM workspace). |
./identity-wallet |
Rust package with UniMe backend (not an NPM workspace). |
Get up and running with these steps:
Copy the file .env.example
to .env
and set the values accordingly.
npm install
cd unime/src-tauri
cargo tauri icon
You can run the following commands from the project root:
# Desktop
npm run tauri dev
# Android
npm run tauri android init
npm run tauri android dev
# iOS
npm run tauri ios init
npm run tauri ios dev
Note
Before committing, please make sure the code is formatted, linted, and passes all tests.
Run the following commands from the project root:
npm run format
npm run lint
npm run test
Run these commands from ./unime/src-tauri
:
cargo fmt
cargo clippy
cargo test
Run these commands from ./identity-wallet
:
cargo fmt
cargo clippy
cargo test
Recommended extensions are listed in .vscode/extensions.json
.
If you have issues with cargo tauri build
run the following command.
# Linux, macOS
rm -rf ~/.cargo/git/checkouts/*
# Windows
rd /s /q "%USERPROFILE%\.cargo\git\checkouts"