Skip to content

impierce/identity-wallet

Repository files navigation

banner.svg


UniMe - Identity Wallet

Identity Wallet for people to manage Decentralized Identities and Verifiable Credentials

Tech stack

Development

Run npm install in the project root to install Prettier. Then

cd unime

1. Set environment variables

Copy the file .env.example to .env and set the values accordingly.

2. Install dependencies

npm install

3. Generate icons

cd src-tauri
cargo tauri icon

4. Run the app

# 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

Contributing

Note

Before committing, please make sure the code is formatted correctly, passes all tests and is linted.

Run Prettier from the project root:

npm run format

Frontend

# /unime
npm run lint
npm run test

# /unime/src-tauri
cargo fmt
cargo clippy
cargo test

Core (backend)

# /identity-wallet
cargo fmt
cargo clippy
cargo test

VS Code support

  • Recommended extensions are listed with their extension IDs in .vscode/extensions.json.

  • It is also recommended to enable Format On Save in your VS Code settings.

Troubleshooting

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"

This project was initialized using create-tauri-app v3.1.1.

Dependabot

Dependabot monitors the following dependencies and creates pull requests with dependecy updates:

Directory Updates
/ NPM (project root package.json) and dependencies of GitHub Actions.
/unime NPM.
  • Update frequency is once per month.
  • Automatic rebasing is disabled to avoid excessive use of GitHub Action minutes.
  • To trigger a rebase, follow the instructions in the pull request.