Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

leather-io/desktop

Repository files navigation

Warning

As of October 1st 2025 Leather's desktop wallet is discontinued. Wallet users should migrate to either our Web Extension or mobile app on Android and iOS. Read our annoucement →

Leather—Desktop

Implementation of the Stacks 2.0 wallet for Desktop

Getting started

Ensure you have a recent version of Node.js 16 and Yarn 1 installed. Note that recent versions of Node.js 16 come with Corepack, which allows using Yarn without any additional installation once enabled,

corepack enable yarn

On a Linux machine, you may need a few dependencies before installing packages or building the app. On Debian/Ubuntu, they can be installed with

sudo apt install pkg-config libusb-1.0-0-dev libudev-dev

After cloning the repository, run yarn in the root of the project to install the dependencies.

Finally, run yarn dev:testnet to start a development server.

Environment variables

The environment variables used are listed in webpack.config.base.js.

During development, their value can be set by defining them before running the app,

export MY_VAR=value
yarn dev:testnet

For pipelines that build the app, the environment variables are defined in the pipeline definition file.