Repo for BLOC wallet
Switch branches/tags
Clone or download

README.md


BLOC
BLOC

A secure, private, decentralized, egalitarian, fungible, fast cryptocurrency.

License: GPL v3

Key FeaturesHow To UseDownloadRelatedLicense

capture d ecran 2018-05-21 a 20 31 32

Key Features

  • Decentralized
  • True egalitarian Proof of Work
  • Secure
  • Private
  • Untraceable
  • Transparent
  • Fast transactions speeds
  • Fungible
  • Double spending protection

The BLOC.money is the new digital cash powered by an open-source blockchain with anonymous transactions including exclusive mining tools which provide a true egalitarian money distribution. Everybody can earn passive income while sleeping or just anywhere, anytime by simply using a mobile phone.

Our Proof Of Work algorithm is designed to make low end and high end hardware mining roughly equally efficient and restrict ASIC mining.

How to Use

To clone and build the BLOC core, you'll need Git installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/furiousteam/bloc-wallet.git

# Go into the repository
$ cd bloc-wallet

# Update submodules
git submodule update --init --recursive
git submodule foreach git pull origin master

macOS instructions

After installing Xcode, make sure the Command Line Tools are installed as well:

xcode-select --install

BLOC also needs CMake 2.8.6 or later as well as Boost 1.55 (make sure Homebrew is also installed):

brew install cmake
brew install boost

Build the app:

rm -Rf build && mkdir build && cd build
cmake -DSTATIC=1 \
-DBOOST_ROOT=/usr/local/Cellar/boost/1.66.0 \
-DBOOST_LIBRARYDIR=/usr/local/Cellar/boost/1.66.0/lib \
-DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.1 .. && make

Windows instructions

If you want exact steps that were tested to compile the BLOC wallet, read this or else continue reading.

Make sure to install the following dependencies:

To build the app, inside the project folder:

mkdir build
cd build
cmake -DPORTABLE=1 -Wno-dev ^
-DCMAKE_PREFIX_PATH="C:\Qt\Qt5.10.0\5.10.0\msvc2015_64" ^
-DBOOST_ROOT="C:\local\boost_1_64_0_64" ^
-DBOOST_INCLUDEDIR="C:\local\boost_1_64_0_64\lib64-msvc-14.1" ^
-DBOOST_LIBRARYDIR="C:\local\boost_1_64_0_64\libs" ^
-G "Visual Studio 15 Win64" ..

Open Solution file in Build folder and Build Release. Change Debug to Release from the dropdown below the Team-Tools menu.

Open project in Visual Studio, Right Click on Rocksdb -> Properties->C/C++->Code Generation->Runtime Library to /MT — APPLY & SAVE.

Build External or RocksDB and then Build ALL_BUILD.

If you are building on an older processor without AVX support, add the following options to cmake:

-DPORTABLE=1 -DWITH_AVX2=0

*nix instructions

BLOC needs CMake 2.8.6 or later as well as Boost 1.55 and Qt:

sudo apt install cmake
sudo apt install qt-sdk
sudo apt install qt5-default
sudo apt install libboost-all-dev
rm -Rf build && mkdir build && cd build
cmake -DSTATIC=1 \
-DBOOST_ROOT=/usr/include/boost \
-DBOOST_LIBRARYDIR=/usr/lib/x86_64-linux-gnu \
-DCMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/cmake .. && make

To create a portable build (AppImage), use linuxdeployqt:

cp src/blocwallet.desktop build/
cp src/images/bloc.png build/
cd build
linuxdeployqt.AppImage blocwallet.desktop -appimage -verbose=2 -no-translations

Download

You can download latest stable version of the BLOC software for Windows, macOS and Linux.

Related

License

GPL v3