Skip to content
dev
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Stegos Wallet

Build Status

Electron-based Wallet application for Stegos blockchain.

Stegos Wallet

Installation

Download packages for Linux and Mac from GitHub Releases. All packages ship with bundled version of Stegos Node.

Development

Prerequirements to build on windwos:

  • Windows 7+ / Windows Server 2003+
  • We use Chocolatey package manager, in order to use it, you need to have PowerShell v2+ installed.
  • Also Chocolatey needs .NET Framework 4+ (the installation will attempt to install .NET 4.0 if you do not have it installed)
  1. Install requirements:

Install dependencies on windows:

Install Chocolatey package manager

Note: Chocolatey is only used to install nodejs and yarn, and for consistency with stegosd msys installation.

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Install native tools (Yarn, NodeJS):

choco install nodejs yarn

To Build on node-gyp on windows, you need windows-build-tools:

Use yarn to install windows-build-tools globally:

yarn global add windows-build-tools

Sass library.

For Ubuntu, Macos and most of other linux desktop distributions, libsass is preinstalled. But for Windows, and some linux slim builds (ubuntu wsl), you should install sass library manually. You can do it trough npm:

npm install node-sass
  1. Clone this repository:
git clone https://github.com/stegos/stegos-wallet.git
cd stegos-wallet
  1. Get the latest version of Stegos Node for your platform:
mkdir node
curl -L https://github.com/stegos/stegos/releases/download/v0.11/stegosd-linux-x64 -o node/stegosd
chmod a+x node/stegosd
./node/stegosd --version

For windows you also need download next dlls from stegosd release (libgcc_s_seh-1.dll, librocksdb-shared.dll, libstdc++-6.dll, libwinpthread-1.dll ).

  1. Build and run Wallet application:
yarn install
yarn dev

Run with arguments

--chain <NAME>

Specify chain to use: testnet|devnet|mainnet

--data-dir <DIR>

Path to data directory, contains api.token file

--api-endpoint <ENDPOINT>

API ENDPOINT, e.g. 127.0.0.1:3145 [default: 127.0.0.1:3145]. If you want to run multiple wallets at the same you time, you should set this param.

--debug

Launches prod version with debug console

Feedback

Please join us on Telegram Chat to get test tokens and let us know your thoughts. Subscribe to official Telegram Channel for the latest news.