safex / wallet

Standalone Safex Cash/Token wallet using the c++ based nodejs-libwallet
MIT License
8 stars 3 forks source link

SAFEX CASH ORBITER WALLET

Official repository for consolidated lightweight Safex Cash Orbiter Wallet.

Releases

You can download CASH Wallet on the github release page.

Available for Mac, Windows (64-bit only) and Linux.

Development

Electron app consists of main (backend) and renderer (frontend) processes. Frontend is based on create-react-app. You'll want to start both in development mode at the same time. Node v10.13.0 is required when installing dependencies. For easily switching between Node versions, we suggest using nvm

Backend:

To start project backend, run this:

Windows

Run Command Prompt as Administrator

$ npm install --global --production windows-build-tools
$ npm install
$ npm run dev

Linux

$ sudo apt update && sudo apt install build-essential cmake pkg-config \
    libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libminiupnpc-dev \
    libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev \
    libgtest-dev doxygen graphviz libpcsclite-dev
$ npm install
$ ./node_modules/.bin/electron-rebuild
$ npm run dev

MacOS

$ brew tap jmuncaster/homebrew-header-only
$ brew install cmake boost zmq czmq zeromq jmuncaster/header-only/cppzmq openssl pkg-config
$ export LDFLAGS="-L/usr/local/opt/openssl/lib"
$ export CPPFLAGS="-I/usr/local/opt/openssl/include"
$ npm install
$ ./node_modules/.bin/electron-rebuild
$ npm run dev

Build:

Windows

$ npm run make-win-installer

Linux

For linux builds, you will need to have rpmbuild available on system (apt-get install rpm).

$ npm run make-linux-installer

MacOS

Log in the Apple Developer website https://developer.apple.com/.
Install Developer Tools v10.1
https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.13_for_Xcode_10.1/Command_Line_Tools_macOS_10.13_for_Xcode_10.1.dmg
If you previousely exported open ssl flags, reboot your computer.

Then run:

$ npm run make-mac-installer

MIT License

Copyright (c) 2019 Safex Developers

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.