Code Monkey home page Code Monkey logo

wan-wallet-desktop's Introduction

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

wan-wallet-desktop's People

Contributors

albert-fu avatar anson5555555lee avatar dependabot[bot] avatar emmacm1 avatar gabriel-2010 avatar iamcryptofennec avatar jasonhj avatar lansehuiyi6 avatar lolieatapple avatar lolieatcat avatar newcasablanca avatar noahmaizels avatar wangxia59 avatar zanecq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wan-wallet-desktop's Issues

Unable to send imported wallet contents to another wallet

I'm trying to move the contents of my imported wallet (from WanWalletGUI) into my new wallet using WanWallet for Mac. I imported the old data from the keystore, and I can see the imported wallet contents and balance in the app. I've also tried re-importing the old wallet.

When I try to send from one address to the other (both are within the same app), I get "Failed to Send Transaction".

The logs only say:

Failed to send transaction: Cannot read property 'indexOf' of undefined

I see the same text within the Developer Tools, and there's no additional context. I get the same error trying to transfer to a different wallet.

I downloaded the app directly from https://www.wanchain.org/getstarted/ and verified the contents. Is there something else I should check?

Wan Wallet stuck at 99.9% on MacOS

What I tried :
-Restart the Wallet
-Restart the computer
-Reinstall the Wallet
-Delete the ~/Library/Wanchain repository

None of this solved the problem.

Capture d’écran 2020-04-14 à 02 35 52

npm install errors

This prevents npm run dev from succeeding, too.

> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic
ubp52 ~/dev/wanchain/wan-wallet-desktop master=
> node --version
v13.7.0
ubp52 ~/dev/wanchain/wan-wallet-desktop master=
> npm --version
6.14.5
ubp52 ~/dev/wanchain/wan-wallet-desktop master=
> git rev-parse HEAD
7c7470eca3c3358bf7740c2a514c71741c80fce9
> npm i
[...]
scrypt.target.mk:131: recipe for target 'Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o' failed
make: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
make: Leaving directory '/home/ia/dev/wanchain/wan-wallet-desktop/node_modules/scrypt/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/ia/.nvm/versions/node/v13.7.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:321:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.2.9-050209-generic
gyp ERR! command "/home/ia/.nvm/versions/node/v13.7.0/bin/node" "/home/ia/.nvm/versions/node/v13.7.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ia/dev/wanchain/wan-wallet-desktop/node_modules/scrypt
gyp ERR! node -v v13.7.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"<8.10.0"} (current: {"node":"13.7.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] requires a peer of i18next@>= 17.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ia/.npm/_logs/2020-06-26T12_22_12_853Z-debug.log

Full gist of /home/ia/.npm/_logs/2020-06-26T12_22_12_853Z-debug.log here: https://gist.github.com/43ab91abdd8e921508acc56fea017356

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.