Skip to content

wanchain/wan-wallet-desktop

Repository files navigation

WAN Wallet

GitHub License

This is a desktop wallet

Features

  • BIP39/BIP44 support
  • WAN coin transaction support
  • WAN coin private transaction support
  • Ledger/Trezor support
  • Galaxy PoS delegation/validator support
  • English/Chinese/Thai/Korean/French support

Development

prerequisite

Before install WAN wallet's dependencies, you need to pre-install following tools:

Windows :

  • Node.js
  • Python (v2.7 is recommended, v3 is not supported)
  • Git Windows Client
  • Microsoft Visual Studio C++
  • Microsoft
  • Yarn (recommended) or npm

Linux (Ubuntu) :

  • Node.js

      wget https://nodejs.org/dist/v10.9.0/node-v10.9.0-linux-x64.tar.xz
      tar xf  node-v10.9.0-linux-x64.tar.xz
      cd node-v10.9.0-linux-x64/
      ./bin/node -v
    
      sudo ln -s /home/user/node/node-v10.9.0-linux-x64/bin/npm   /usr/local/bin/
      sudo ln -s /home/user/node/node-v10.9.0-linux-x64/bin/node   /usr/local/bin/
    
  • Python

      sudo apt install python2.7
    
  • Git

      sudo apt install git
    

MAC OS :

  • Node.js

      brew install node
      brew install yarn 
    
  • Python

      brew install python@2
    
  • Git

      brew install git
    

Download

Download source code from github

git clone https://github.com/wanchain/wan-wallet-desktop.git
cd wan-wallet-desktop

Environment File

Firstly, you need to access iWan website, and apply for you personal API_KEY and SECRET_KEY.

Then, create a file named ".env" in the root directory of the project and add your personal API_KEY and SECRET_KEY into it: .env:

API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Dependencies

  1. Windows :

     npm install
    
  2. Linux (Ubuntu) :

     sudo apt install build-essential libxss-dev pkg-config libusb-1.0-0 libusb-1.0-0-dev libudev-dev
     npm install
    
  3. MAC OS :

     yarn install or npm install
    

Get Started

npm run dev

Package

  • Windows :

      npm run pack:win
    
  • Linux (Ubuntu) :

      npm run pack:linux
    
  • MAC OS :

      npm run pack:mac
    

License

WAN Wallet is open source software licensed as GPL-3.0