The X1 Core Wallet is a full node staking wallet user interface application built with Electron and Angular. It depends on X1 Blockcore, the X1 full blockchain node, which is included as a git submudule to allow for the creation of one complete package.
Download and install the latest Long Term Support (LTS) version of NodeJS at: https://nodejs.org/.
Clone this repository locally:
git clone https://github.com/x1crypto/x1-core-wallet.git
git submodule update --init --recursiveNavigate to the src folder in a terminal:
cd ./x1-core-wallet/srcFrom within the src directory run:
npm installcd ./x1-core-wallet/x1-blockcore/src/X1/X1Daemon
dotnet runUse npm run mainnet to start the UI in mainnet mode or npm run testnet to start the UI in testnet mode.
This will compile the Angular code and spawn the Electron process.
| Command | Description |
|---|---|
npm run build:prod |
Compiles the application for production. Output files can be found in the dist folder |
npm run package:linux |
Builds your application and creates an app consumable on linux system |
npm run package:linuxarm |
Builds your application and creates an app consumable on linux-arm system (i.e., Raspberry Pi) |
npm run package:windows |
On a Windows OS, builds your application and creates an app consumable in windows 32/64 bit systems |
npm run package:mac |
On a MAC OS, builds your application and generates a .app file of your application that can be run on Mac |
The application is optimized. Only the files of /dist folder are included in the executable. Distributable packages can be found in the Scripts/Packager/ folder