GithubHelp home page GithubHelp logo

This is only a Test!

Cloning

Be sure to clone the repository properly:
$ git clone --recursive https://github.com/beezynetwork/beezynetwork.git

Building


Dependencies

component / version minimum
(not recommended but may work)
recommended most recent of what we have ever tested
gcc (Linux) 5.4.0 7.5.0 8.3.0
llvm/clang (Linux) UNKNOWN 7.0.1 8.0.0
MSVC (Windows) 2015 (14.0 update 1) 2017 (15.9.0) 2022 (17.4.2)
XCode (macOS) 9.2 12.3 12.3
CMake 2.8.6 3.15.5 3.26.3
Boost 1.70 1.70 1.76
OpenSSL (win) - 1.1.1n 1.1.1n
Qt (only for GUI) 5.8.0 5.11.2 5.15.2

Note:
[server version] denotes steps required for building command-line tools (daemon, simplewallet, etc.).
[GUI version] denotes steps required for building beezy executable with GUI.


Linux

Recommended OS version: Ubuntu 18.04 LTS.

  1. Prerequisites

    [server version]

    sudo apt-get install -y build-essential g++ python-dev autotools-dev libicu-dev libbz2-dev cmake git screen checkinstall zlib1g-dev
    

    [GUI version]

    sudo apt-get install -y build-essential g++ python-dev autotools-dev libicu-dev libbz2-dev cmake git screen checkinstall zlib1g-dev mesa-common-dev libglu1-mesa-dev
    
  2. Download and build Boost

    curl -OL https://boostorg.jfrog.io/artifactory/main/release/1.70.0/source/boost_1_70_0.tar.bz2
    echo "430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778  boost_1_70_0.tar.bz2" | shasum -c && tar -xjf boost_1_70_0.tar.bz2
    cd boost_1_70_0
    ./bootstrap.sh --with-libraries=system,filesystem,thread,date_time,chrono,regex,serialization,atomic,program_options,locale,timer,log
    ./b2
    
  3. Install Qt
    (GUI version only, skip this step if you're building server version)

    [GUI version]

    curl -OL https://download.qt.io/new_archive/qt/5.11/5.11.2/qt-opensource-linux-x64-5.11.2.run
    chmod +x qt-opensource-linux-x64-5.11.2.run
    ./qt-opensource-linux-x64-5.11.2.run
    

    Then follow the instructions in Wizard. Don't forget to tick the WebEngine module checkbox!

  4. Install OpenSSL

    We recommend installing OpenSSL v1.1.1n locally unless you would like to use the same version system-wide. Adjust the local path /home/user/openssl in the commands below according to your needs.

    curl -OL https://www.openssl.org/source/openssl-1.1.1n.tar.gz
    echo "40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a  openssl-1.1.1n.tar.gz" | shasum -c && tar xaf openssl-1.1.1n.tar.gz 
    cd openssl-1.1.1n/
    ./config --prefix=/home/user/openssl --openssldir=/home/user/openssl shared zlib
    make
    make test
    make install
    
  5. Set environment variables properly
    For instance, by adding the following lines to ~/.bashrc

    [server version]

    export BOOST_ROOT=/home/user/boost_1_70_0  
    export OPENSSL_ROOT_DIR=/home/user/openssl
    

    [GUI version]

    export BOOST_ROOT=/home/user/boost_1_70_0
    export OPENSSL_ROOT_DIR=/home/user/openssl  
    export QT_PREFIX_PATH=/home/user/Qt5.11.2/5.11.2/gcc_64
    
  6. Build the binaries

    1. Build daemon and simplewallet:

      cd beezy/ && make -j1
      

      or

      cd beezy && mkdir build && cd build
      cmake ..
      make -j1 daemon simplewallet
      

      NOTICE: If you are building on a machine with a relatively high amount of RAM or with the proper setting of virtual memory, then you can use -j2 or -j option to speed up the building process. Use with caution.

      NOTICE 2: If you'd like to build binaries for the testnet, use cmake -D TESTNET=TRUE .. instead of cmake .. .

    2. Build GUI:

      cd beezy
      utils/build_script_linux.sh
      
  7. Look for the binaries in build folder


Windows

Recommended OS version: Windows 7 x64.

  1. Install required prerequisites (Boost, Qt, CMake, OpenSSL).
  2. Edit paths in utils/configure_local_paths.cmd.
  3. Run one of utils/configure_win64_msvsNNNN_gui.cmd according to your MSVC version.
  4. Go to the build folder and open generated beezy.sln in MSVC.
  5. Build.

In order to correctly deploy Qt GUI application, you also need to do the following:

  1. Copy beezy.exe to a folder (e.g. depoy).
  2. Run PATH_TO_QT\bin\windeployqt.exe deploy\beezy.exe.
  3. Copy folder \src\gui\qt-daemon\html to deploy\html.
  4. Now you can run beezy.exe

macOS

Recommended OS version: macOS Big Sur 11.4 x64.

  1. Install required prerequisites.
  2. Set environment variables as stated in utils/macosx_build_config.command.
  3. mkdir build
    cd build
    cmake ..
    make

To build GUI application:

  1. Create self-signing certificate via Keychain Access:
    a. Run Keychain Access.
    b. Choose Keychain Access > Certificate Assistant > Create a Certificate.
    c. Use “beezy” (without quotes) as certificate name.
    d. Choose “Code Signing” in “Certificate Type” field.
    e. Press “Create”, then “Done”.
    f. Make sure the certificate was added to keychain "System". If not—move it to "System".
    g. Double click the certificate you've just added, enter the trust section and under "When using this certificate" select "Always trust".
    h. Unfold the certificate in Keychain Access window and double click the underlying private key "beezy". Select "Access Control" tab, then select "Allow all applications to access this item". Click "Save Changes".
  2. Revise building script, comment out unwanted steps and run it: utils/build_script_mac_osx.sh
  3. The application should be here: /buid_mac_osx_64/release/src

beezynetwork's Projects

beecaching icon beecaching

Beecaching- The Beecaching project is inspired by the popular Geocaching app. Instead of using physical geocaches, QR codes (called geocodes) will be hidden and can be scanned by participants to view the contents of the discovered beecache.

beezy icon beezy

MbroCoin - Fast. Simple. Secure. The Global Crypto Payment

beezy-core icon beezy-core

Chinet is a secure, private, untraceable cryptocurrency.

beezynetwork icon beezynetwork

We work together like a swarm of bees! ... this project is only for testing!!!!!!!!!

chinet-explorer icon chinet-explorer

Chinet Explorer – block explorer and analytics platform for Chinet project.

docs icon docs

All technical papers, drafts, ideas, discussions related to this project.

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.