Skip to content
A multiplatform GUI for Vcash, the decentralized currency for the internet
Branch: master
Clone or download
Latest commit 684afdc Oct 13, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
deps/libqrencode
include Update explorers urls Oct 13, 2017
platforms/osx Icon/bundle for OS X. Jan 22, 2017
resources
.gitignore .gitignore Dec 25, 2016
AccountPage.cpp Fine tunning for OS X. Jan 22, 2017
AddressesPage.cpp Update explorers urls Oct 13, 2017
BlockExplorer.cpp Update explorers urls Oct 13, 2017
CMakeLists.osx.txt
CMakeLists.txt Add dep to CMake Jun 6, 2017
ConsolePage.cpp Fine tunning for OS X. Jan 22, 2017
ContextMenu.cpp Fine tunning for OS X. Jan 22, 2017
Controller.cpp Add support for vcash URIs. Jan 15, 2017
EntryDialog.cpp Fine tunning for OS X. Jan 22, 2017
HistoryPage.cpp
MainFrame.cpp Fine tunning for OS X. Jan 22, 2017
MainPanel.cpp Fix TaskBarIcon menu bug. Cleanup.. Jan 15, 2017
MiningPage.cpp Add hash rate to mining page. Dec 22, 2016
OnPairsEvent.cpp Enable processing of alerts and errors. Dec 30, 2016
QRDialog.cpp Minor edits. Add same aligment for statistics and account pages. Jan 2, 2017
README.md Change vcash-scripts link Jun 6, 2017
Resources.cpp Minor edits. Add same aligment for statistics and account pages. Jan 2, 2017
ShowInfoDialog.cpp
StatisticsPage.cpp Fine tunning for OS X. Jan 22, 2017
StatusBar.cpp Fine tunning for OS X. Jan 22, 2017
StatusBarImage.cpp Bind actions to right clicks on status bar icons. Dec 29, 2016
StatusBarWallet.cpp
TaskBarIcon.cpp Fine tunning for OS X. Jan 22, 2017
ToolsFrame.cpp
ToolsPanel.cpp
TransferPage.cpp Fine tunning for OS X. Jan 22, 2017
Utils.cpp Add support for vcash URIs. Jan 15, 2017
VcashApp.cpp Fine tunning for OS X. Jan 22, 2017
View.cpp
WalletActions.cpp Fix issues with wallet actions. Improve EntryDialog. Jan 2, 2017
makefile.vc Add support for vcash URIs. Jan 15, 2017
wxStack.cpp Add support for vcash URIs. Jan 15, 2017

README.md

wxVcashGUI

A multiplatform GUI for Vcash, a decentralized currency for the internet (https://vcash.info/).

Building vcash

In order to build wxVcashGUI, you will need to build firstly vcash.

On Linux

You can build vcash by using the script at:

https://github.com/openvcash/vcash-scripts

The resulting build will be located at ~/vcash/.

On Windows using Microsoft Visual Studio 2015

These are instructions for building a Windows 64 bits executable and this procedure has been tested on Windows 10 x64 with MSVC14 (Visual Studio 2015).

Follow the following instructions to build vcash with Microsoft Visual Studio:

https://github.com/openvcash/vcash/blob/master/platforms/windows/README.md

For building with Visual Studio 2015, the only difference with respect to those instructions is to use the following command to build boost:

b2 -j3 toolset=msvc-14.0 address-model=64 architecture=x86 link=static threading=multi runtime-link=static --with-system --stagedir=stage/x64

Building and installing wxWidgets

On linux

Download source code of wxWidgets: https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2

Uncompress this file and cd to corresponding directory:

cd wxWidgets-3.1.0

Make a build directory , configure and build:

cd build
mkdir gtk
cd gtk
../../configure --enable-unicode --enable-debug --disable-shared
make

Go for a cup of coffee :) .

Install wxWidgets:

sudo make install
wx-config --version

On Windows using Microsoft Visual Studio 2015

Download source code of wxWidgets: https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.zip

Uncompress this file to folder C:\wxWidgets-3.1.0

Open a Visual Studio x64 native tools command prompt (** choose the right prompt or compilation will fail **).

cd to directory C:\wxWidgets-3.1.0\build\msw:

cd C:\wxWidgets-3.1.0\build\msw

Enter the following command to build wxWidgets:

nmake /f makefile.vc BUILD=release TARGET_CPU=X64 RUNTIME_LIBS=static

and go for a cup of coffee :) .

Downloading wxVcashGUI

On linux

Download wxVcashGUI from https://github.com/openvcash/wxVcashGUI/archive/master.zip and uncompress this file inside your ~/vcash/src folder.

On Windows

Download wxVcashGUI from https://github.com/openvcash/wxVcashGUI/archive/master.zip and uncompress this file inside your vcash-master folder (C:\vcash-master).

Building libqrencode

libqrencode (https://github.com/fukuchi/libqrencode) library must be built previously in directory deps.

On Linux

cd to that directory:

cd ~/vcash/src/wxVcashGUI-master/deps

Clone libqrencode library:

git clone https://github.com/fukuchi/libqrencode

Build the library:

cd libqrencode
cmake CMakeLists.txt
make

On Windows

Download the library from https://github.com/fukuchi/libqrencode/archive/master.zip

Uncompress this file to folder C:\vcash-master\wxVcashGUI-master\deps and rename folder libqrencode-master to libqrencode.

cd to libqrencode directory:

cd C:\vcash-master\wxVcashGUI-master\deps\libqrencode

Build the library:

nmake /f makefile.vc

Building wxVcashGUI

On Linux

cd to wxVcashGUI directory:

cd ~/vcash/src/wxVcashGUI-master

Enter the following commands:

cmake CMakeLists.txt
make

On Windows using Microsoft Visual Studio 2015

cd to wxVcashGUI directory:

cd C:\vcash-master\wxVcashGUI-master

Enter the following command:

nmake /f makefile.vc BUILD=release TARGET_CPU=X64 RUNTIME_LIBS=static USE_THREADS=1

Enjoy your GUI for Vcash!

Adding support for custom URL vcash protocol

On Linux

Create the following text file:

gedit  ~/.local/share/applications/vcash.desktop

The contents of this file should be as follows, but replacing paths with those used in your computer:

[Desktop Entry]
Version=1.0
Type=Application
Exec=<path to vcash executable folder>/vcash --url=%u
Icon=<path to vcash icon>
Terminal=false
Categories=Crypto
MimeType=x-scheme-handler/vcash;
Name=Vcash
Comment=Vcash

Edit the following text file:

gedit ~/.local/share/applications/mimeapps.list

and add the following contents in section Default Applications (or create this section if it isn't yet in the file):

[Default Applications]
x-scheme-handler/vcash=vcash.desktop

Enter the following command:

sudo update-desktop-database

Test the protocol by clicking this vcash link: vcash://VaEkBynLcMdos1DgfTrtBuwNaFYoJWswR6?amount=25&zerotime=true and tip me ;-)

On Windows

Create with a text editor a file with extension .reg and the following contents, but replacing paths to vcash.exe with those used in your computer:

REGEDIT4

[HKEY_CLASSES_ROOT\Vcash]
@="URL:vcash"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\Vcash\DefaultIcon]
@="\"C:\\vcash-master\\wxVcashGUI\\vc_mswu_x64\\vcash.exe""

[HKEY_CLASSES_ROOT\Vcash\shell]

[HKEY_CLASSES_ROOT\Vcash\shell\open]

[HKEY_CLASSES_ROOT\Vcash\shell\open\command]
@="\"C:\\vcash-master\\wxVcashGUI\\vc_mswu_x64\\vcash.exe\" --url=\"%1\""

Save this file and double click on it to import its contents into the Windows Registry.

Test the protocol by clicking this vcash link: vcash://VaEkBynLcMdos1DgfTrtBuwNaFYoJWswR6?amount=25&zerotime=true and tip me ;-)

You can’t perform that action at this time.