Skip to content

vitelabs/vite-wallet

Repository files navigation

vite-wallet

The Desktop Wallet of Vite.

Version Version Twitter Follow GitHub all releases Commitizen friendly

Changelog

Installation

The Vite Desktop Wallet supports Mac and Windows. Download and install.

Development

Init submodule

This project requires the vite-web-wallet. You need init submodules first.

git submodule init
git submodule update

Install

Install dependencies

yarn

Install the dependencies of vite-web-wallet

cd ../vite-web-wallet
# Be sure you are in the folder of vite-web-wallet
yarn

Develop Mode

Launch the local dev server of vite-web-wallet

# Be sure you are in the folder of vite-web-wallet
yarn dev

Now open a new tab on terminal

yarn dev

Commit code:

yarn commit

Build

First, you need build the vite-web-wallet dist:

# Be sure you are in the folder of vite-web-wallet
yarn build

Second, you need to build vite-wallet:

cd ../vite-wallet
# Be sure you are in the folder of vite-wallet

# Build Mac installation
yarn build

# Build Windows installation
yarn build:win

Release

Set .env

Before running release script, you need create a .env file. About .env config, you can look .env.example;

GH_TOKEN=<Github Personal Token: required>
GPG_SIGN_KEY=<GPG Sign Key: optional>

Release

Here is the release script of vite-wallet. It do something like:

  1. Bump version
  2. Choose which platform to build
  3. Release package to github
  4. Sigin with GPG key
yarn release