Code Monkey home page Code Monkey logo

worktips / worktips-lite-wallet Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 6.0 107.23 MB

Worktips desktop GUI wallet featuring remote blockchain synchronization and CPU miner with threads selection.

Home Page: http://worktips.info

License: GNU Lesser General Public License v3.0

CMake 0.53% C++ 91.77% Objective-C++ 0.10% Objective-C 0.02% C 7.35% Assembly 0.01% Python 0.03% Perl 6 0.12% Perl 0.02% Shell 0.06%
gui wallet coin windows linux lite-gui-wallet cpuminer worktips-lite-wallet

worktips-lite-wallet's Introduction

Worktips lite wallet

This is the reference code for lite GUI wallet for the Worktips cryptocurrency.

Features

  • CPU miner
  • Remote node sync
  • No local blockchain storage
  • Send WTIP
  • Receive WTIP
  • Address book
  • CSV export
  • Transactions history
  • Create wallet
  • Open wallet
  • Backup wallet
  • Import keys
  • Export keys
  • Encrypt wallet
  • Select connecting remote node
  • Custom remote node connection
  • Custom local node connection

How to use

1. Download the latest release of Worktips Lite wallet

2. Unpack the release package

3. Backup your Worktips wallet file (skip this step if creating a new wallet)

4. Run Worktips and open your wallet file (or create a new one)

5. Synchronize with the network

6. Use the wallet

Troubleshooting

Ubuntu

  • in case of issues starting up the wallet, please run it from the terminal with:

sudo ./Worktips

  • in case of missing QT libs please run the following command from the terminal:

sudo apt-get install -y qt5-default

Windows 10

  • in case of not being able to start the wallet run it as Administrator
  • in case of missing dependencies open the wallet folder and install the file: 'vcredist_x64.exe'

How to compile

Compile on Windows 7/10 (64 bit)

1. Install dependencies

Recommended: Microsoft Visual Studio 15 2017, CMake 3.11.3 or later, Boost 1.65 or later and Qt 5.10.x

Get dependencies:

2. Get sources & libs

  1. Create an account on GitHub.com or log in to an existing one
  2. Fork Worktips lite wallet or/and download it

3. Configure and generate the project files

  • start CMake GUI and navigate to the repository folder using the field Where is the source code:
  • in the field Where to build the binaries: specify the build folder location
  • click the Configure button to start the configuration
  • select STATIC option if it is unchecked
  • confirm the creation of the build folder at the specified build folder location
  • select Visual Studio 15 2017 Win64 option.
  • click the Finish button to run the configuration
  • after the configuration is done, click the Generate button to generate your project files
  • after successfull generation click the button Open project to open the project in Visual Studio

4. Get rocksdb library

  • unzip the rocksdb.zip located in the lib folder
  • navigate to your build folder and go to sub folder cryptonote/external/rocksdb
  • create a new folder called Release and copy the unzipped rocksdb.lib into the new folder

5. Build

  • CMake GUI will open the project in the Microsoft Visual Studio you selected for the configuration
  • Switch solution to release
  • wait for the Microsoft Visual Studio to scan and prepare all of the files for the project
  • the scan is finished when the message Ready appears
  • click the Build button from the main menu

Your binaries will be located in the src/release folder.

Compile on Ubuntu 16.04 (x64) / 18.04 (x64)

1. Get dependencies

sudo apt-get install -y build-essential python-dev gcc g++ git libboost-all-dev librocksdb-dev qt5-default qttools5-dev-tools cmake

2. Get the source

git clone https://github.com/worktips/worktips-lite-wallet.git worktips-lite-wallet

cd worktips-lite-wallet/cryptonote/external/rocksdb/build_tools

chmod +x build_detect_platform version.sh

3. Build

cd && cd worktips-lite-wallet

mkdir build && cd $_

cmake -DSTATIC=ON -DCMAKE_BUILD_TYPE=RELEASE ..

export CXXFLAGS="-std=gnu++11"

make

Your binaries will be located in the build/src folder.

worktips-lite-wallet's People

Contributors

itnetlabs avatar vordas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

worktips-lite-wallet's Issues

CMAKE GUI

Hi, Vordaz

Can you explain about how to compile worktips from windows? bcause I confused on this step :

start CMake GUI and navigate to the repository folder using the field Where is the source code:

Ask : Is it our worktips wallet repo location? (Ex. D:/coin/worktips-lite-wallet)

in the field Where to build the binaries: specify the build folder location

Ask: No idea about this, maybe I must create new folder "build" in worktips wallet repo? (Ex. D:/coin/worktips-lite-wallet/build)

Regards,

Error Compile Wallet Windows

Hi dev,

I tried to compile wallet on windows, but I got this this issue, maybe rocksdb issue, I already put the rockdb.lib inside build folder too.

IMPORTANT: Unzip the rocksdb.zip located in the lib folder and put the unzipped file rocksdb.lib inside the folder build that was specified during step 3.

`Build FAILED.

   "D:\TEST\worktips-lite-wallet-master\build\Worktips.sln" (default target) (1) ->
   "D:\TEST\worktips-lite-wallet-master\build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
   "D:\TEST\worktips-lite-wallet-master\build\cryptonote\external\miniupnpc\upnpc-static.vcxproj.metaproj" (default
    target) (7) ->
   "D:\TEST\worktips-lite-wallet-master\build\cryptonote\external\miniupnpc\upnpc-static.vcxproj" (default target)
   (11) ->
   (ClCompile target) ->
     d:\test\worktips-lite-wallet-master\cryptonote\external\miniupnpc\miniupnpc.c(436): warning C4996: 'inet_addr'
   : Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warn
   ings [D:\TEST\worktips-lite-wallet-master\build\cryptonote\external\miniupnpc\upnpc-static.vcxproj]
     d:\test\worktips-lite-wallet-master\cryptonote\external\miniupnpc\miniupnpc.c(521): warning C4996: 'inet_addr'
   : Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warn
   ings [D:\TEST\worktips-lite-wallet-master\build\cryptonote\external\miniupnpc\upnpc-static.vcxproj]


   "D:\TEST\worktips-lite-wallet-master\build\Worktips.sln" (default target) (1) ->
   "D:\TEST\worktips-lite-wallet-master\build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
   "D:\TEST\worktips-lite-wallet-master\build\Worktips.vcxproj.metaproj" (default target) (3) ->
   "D:\TEST\worktips-lite-wallet-master\build\cryptonote\external\rocksdb\rocksdb.vcxproj.metaproj" (default target
   ) (6) ->
   "D:\TEST\worktips-lite-wallet-master\build\cryptonote\external\rocksdb\rocksdb.vcxproj" (default target) (12) ->
     d:\test\worktips-lite-wallet-master\cryptonote\external\rocksdb\utilities\transactions\write_prepared_txn_db.h
   (281): warning C4189: 'erased': local variable is initialized but not referenced [D:\TEST\worktips-lite-wallet-m
   aster\build\cryptonote\external\rocksdb\rocksdb.vcxproj]
     d:\test\worktips-lite-wallet-master\cryptonote\external\rocksdb\utilities\transactions\write_prepared_txn_db.h
   (281): warning C4189: 'erased': local variable is initialized but not referenced [D:\TEST\worktips-lite-wallet-m
   aster\build\cryptonote\external\rocksdb\rocksdb.vcxproj]
     d:\test\worktips-lite-wallet-master\cryptonote\external\rocksdb\utilities\transactions\write_prepared_txn_db.h
   (281): warning C4189: 'erased': local variable is initialized but not referenced [D:\TEST\worktips-lite-wallet-m
   aster\build\cryptonote\external\rocksdb\rocksdb.vcxproj]
     d:\test\worktips-lite-wallet-master\cryptonote\external\rocksdb\utilities\transactions\write_prepared_txn_db.h
   (281): warning C4189: 'erased': local variable is initialized but not referenced [D:\TEST\worktips-lite-wallet-m
   aster\build\cryptonote\external\rocksdb\rocksdb.vcxproj]


   "D:\TEST\worktips-lite-wallet-master\build\Worktips.sln" (default target) (1) ->
   "D:\TEST\worktips-lite-wallet-master\build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
   "D:\TEST\worktips-lite-wallet-master\build\Worktips.vcxproj.metaproj" (default target) (3) ->
   "D:\TEST\worktips-lite-wallet-master\build\cryptonote\external\rocksdb\rocksdb.vcxproj.metaproj" (default target
   ) (6) ->
   "D:\TEST\worktips-lite-wallet-master\build\cryptonote\external\rocksdb\rocksdb.vcxproj" (default target) (12) ->
   (ClCompile target) ->
     d:\test\worktips-lite-wallet-master\cryptonote\external\rocksdb\utilities\transactions\write_prepared_txn_db.h
   (281): error C2220: warning treated as error - no 'object' file generated [D:\TEST\worktips-lite-wallet-master\b
   uild\cryptonote\external\rocksdb\rocksdb.vcxproj]
     d:\test\worktips-lite-wallet-master\cryptonote\external\rocksdb\utilities\transactions\write_prepared_txn_db.h
   (281): error C2220: warning treated as error - no 'object' file generated [D:\TEST\worktips-lite-wallet-master\b
   uild\cryptonote\external\rocksdb\rocksdb.vcxproj]
     d:\test\worktips-lite-wallet-master\cryptonote\external\rocksdb\utilities\transactions\write_prepared_txn_db.h
   (281): error C2220: warning treated as error - no 'object' file generated [D:\TEST\worktips-lite-wallet-master\b
   uild\cryptonote\external\rocksdb\rocksdb.vcxproj]
     d:\test\worktips-lite-wallet-master\cryptonote\external\rocksdb\utilities\transactions\write_prepared_txn_db.h
   (281): error C2220: warning treated as error - no 'object' file generated [D:\TEST\worktips-lite-wallet-master\b
   uild\cryptonote\external\rocksdb\rocksdb.vcxproj]

6 Warning(s)
4 Error(s)

Time Elapsed 00:08:27.42`

visual studio

visual studio
vs

"undefined reference to `vtable for"

Hello,

I have several problems when compiling:

> [ 97%] Linking CXX executable Worktips
> CMakeFiles/Worktips.dir/src/Gui/Mining/PoolTreeView.cpp.o: In function `WalletGui::PoolTreeView::PoolTreeView(QWidget*)':
> PoolTreeView.cpp:(.text+0x2b): undefined reference to `vtable for WalletGui::PoolTreeView'
> CMakeFiles/Worktips.dir/src/Gui/Mining/PoolTreeView.cpp.o: In function `WalletGui::PoolTreeView::~PoolTreeView()':
> PoolTreeView.cpp:(.text+0x1f3): undefined reference to `vtable for WalletGui::PoolTreeView'
> CMakeFiles/Worktips.dir/src/Gui/Mining/PoolTreeView.cpp.o: In function `non-virtual thunk to WalletGui::PoolTreeView::~PoolTreeView()':
> PoolTreeView.cpp:(.text+0x223): undefined reference to `vtable for WalletGui::PoolTreeView'
> CMakeFiles/Worktips.dir/src/Application/AddressBookManager.cpp.o: In function `WalletGui::AddressBookManager::~AddressBookManager()':
> AddressBookManager.cpp:(.text+0x163): undefined reference to `vtable for WalletGui::AddressBookManager'
> CMakeFiles/Worktips.dir/src/Application/AddressBookManager.cpp.o: In function `WalletGui::AddressBookManager::walletClosed()':
> AddressBookManager.cpp:(.text+0x2801): undefined reference to `WalletGui::AddressBookManager::addressBookClosedSignal()'
> AddressBookManager.cpp:(.text+0x2809): undefined reference to `WalletGui::AddressBookManager::donationManagerClosedSignal()'
> CMakeFiles/Worktips.dir/src/Application/AddressBookManager.cpp.o: In function `WalletGui::AddressBookManager::setDonationMiningEnabled(bool)':
> AddressBookManager.cpp:(.text+0x2e2a): undefined reference to `WalletGui::AddressBookManager::donationMiningEnabledSignal(bool)'
> CMakeFiles/Worktips.dir/src/Application/AddressBookManager.cpp.o: In function `WalletGui::AddressBookManager::setDonationMiningAddress(QString const&)':
> AddressBookManager.cpp:(.text+0x332e): undefined reference to `WalletGui::AddressBookManager::donationMiningAddressChangedSignal(QString const&)'
> CMakeFiles/Worktips.dir/src/Application/AddressBookManager.cpp.o: In function `WalletGui::AddressBookManager::setDonationMiningAmount(int)':
> AddressBookManager.cpp:(.text+0x3806): undefined reference to `WalletGui::AddressBookManager::donationMiningAmountChangedSignal(int)'
> CMakeFiles/Worktips.dir/src/Application/AddressBookManager.cpp.o: In function `W

Run all the commands in the README.md in the same order, in different Linux distributions (CentOS, Ubuntu 16.04, ArchLinux, Windows - fulfilling all the requirements of versions) always throws the same problem.

Also try to generate the .pro with qmake -project but it does not work, am I doing something wrong?

It seems to me that you are not generating the *moc _ .cpp correctly, can you share or upload the .pro to the repository?

Do you need me to upload some log?

Greetings.

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.