How to build the Desktop Wallet from source?
Desktop Wallet version 2.x
The official ARK Desktop Wallet is an open-source, cross-platform and MIT-licensed project maintained by the ARK Team & Community.
The ARK Desktop Wallet’s source code can be found at the following link: https://github.com/ArkEcosystem/desktop-wallet
Ubuntu requires additional libraries for kernel device management and hardware wallet support.
These may be installed using
1sudo apt-get install libudev-dev libusb-1.0-0-dev
Windows additionally requires
Python 2.7 and
Visual Studio 2017.
They may be downloaded and installed via the links provided below:
- Python 2.7
- Visual Studio 2017
Node.js v12 is the supported runtime for the ARK Desktop Wallet.
Download and install the appropriate Node v12 package from: https://nodejs.org/dist/latest-v12.x
npm is already installed, we may also run the following as an alternative:
1npm install -g n2sudo n 12
The Yarn dependency manager is also required and may be installed globally using the following
1npm install -g yarn
Below is a list of useful
yarn commands for building, testing and packaging the ARK Desktop Wallet.
1# view `package.json` for more commands and details23# Install dependencies4yarn install56# Run the application using hot-reloading7yarn dev89# Lint all JS/Vue files in `src` and `__tests__`10yarn lint1112# Lint and fix all JS/Vue files in `src` and `__tests__`13yarn lint:fix1415# Create a compressed package of the collected code16yarn pack1718# Build the Electron app for production (using the Current OS)19yarn build2021# Build the Electron app for production (Windows)22yarn build:win2324# Build the Electron app for production (Mac)25yarn build:mac2627# Build the Electron app for production (Linux)28yarn build:linux2930# Run unit and end-to-end (e2e) tests31yarn test3233# Run unit tests34yarn test:unit3536# Run unit tests, then generate and display the coverage report37yarn test:unit:coverage3839# Run unit tests, then watch for changes before re-running tests40yarn test:unit:watch4142# Run end-to-end (e2e) tests without building the Electron app43yarn test:e2e4445# Build the Electron app, then run end-to-end (e2e) tests46yarn test:e2e:full
hint: The most common command used to build from source to a live instance is:
yarn install && yarn dev
If you discover a security vulnerability within this package, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
This project exists thanks to all the people who contribute .