Giter Site home page Giter Site logo

harold-coin / haroldcoin Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 3.0 4.14 MB

Haroldcoin

License: MIT License

Makefile 1.54% Shell 0.89% M4 2.77% Python 4.00% Roff 0.59% QMake 0.42% C++ 72.98% C 15.01% HTML 0.82% CSS 0.70% Objective-C++ 0.12% Assembly 0.12% Java 0.03%

haroldcoin's Introduction

Features

  • haroldcoin Coin - Masternode
  • New PHI1612 PoW/MN algorithm thanks for 216k155
  • MN Reward

The haroldcoin coin is a decentralized peer-to-peer banking financial platform, created under an open source license, featuring a built-in cryptocurrency, end-to-end encrypted messaging and decentralized marketplace. The decentralized network aims to provide anonymity and privacy for everyone through a simple user-friendly interface by taking care of all the advanced cryptography in the background.

Coin Specifications

Specification Value
Block Size 4MB
Block Time 600s
PoW Reward 200 HRLD
Masternode Requirement 50,000 HRLD
Port 25676
RPC Port 25674
Masternode Port 25676
Reward Method Teeter Totter Based Targeting System

Build haroldcoin Wallet

Building for 64-bit Windows

The first step is to install the mingw-w64 cross-compilation tool chain. Due to different Ubuntu packages for each distribution and problems with the Xenial packages the steps for each are different.

Common steps to install mingw32 cross compiler tool chain:

sudo apt install g++-mingw-w64-x86-64

Ubuntu Xenial 16.04 and Windows Subsystem for Linux

sudo apt install software-properties-common
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu zesty universe"
sudo apt update
sudo apt upgrade
sudo update-alternatives --config x86_64-w64-mingw32-g++ # Set the default mingw32 g++ compiler option to posix.

Once the tool chain is installed the build steps are common:

Note that for WSL the haroldcoin Core source path MUST be somewhere in the default mount file system, for example /usr/src/haroldcoin, AND not under /mnt/d/. If this is not the case the dependency autoconf scripts will fail. This means you cannot use a directory that located directly on the host Windows file system to perform the build.

The next three steps are an example of how to acquire the source in an appropriate way.

cd /usr/src
sudo git clone https://github.com/Harold-Coin/haroldcoin-main-23-may.git
sudo chmod -R a+r+w haroldcoin

Once the source code is ready the build steps are below.

PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
cd depends
make HOST=x86_64-w64-mingw32 -j4
cd ..
./autogen.sh # not required when building from tarball
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site 
./configure --prefix=`pwd`/depends/x86_64-w64-mingw32 --disable-tests
make HOST=x86_64-w64-mingw32 -j4

Build on Ubuntu

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

# If you want to build the Qt GUI:
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler

git clone https://github.com/Harold-Coin/haroldcoin-main.git --recursive

cd haroldcoin

# Note autogen will prompt to install some more dependencies if needed
./autogen.sh
./configure 
make

Build on OSX

The commands in this guide should be executed in a Terminal application. The built-in one is located in /Applications/Utilities/Terminal.app.

Preparation

Install the OS X command line tools:

xcode-select --install

When the popup appears, click Install.

Then install Homebrew.

Dependencies

brew install cmake automake berkeley-db4 libtool boost --c++11 --without-single --without-static miniupnpc openssl pkg-config protobuf qt5 libevent imagemagick --with-librsvg

NOTE: Building with Qt4 is still supported, however, could result in a broken UI. Building with Qt5 is recommended.

Build haroldcoin Core

  1. Clone the haroldcoin source code and cd into haroldcoin

     git clone --recursive https://github.com/Harold-Coin/haroldcoin-main-23-may.git
     cd haroldcoin
    
  2. Build haroldcoin Core:

    Configure and build the headless haroldcoin binaries as well as the GUI (if Qt is found).

    You can disable the GUI build by passing --without-gui to configure.

    ./autogen.sh
    ./configure
    make
    
  3. It is recommended to build and run the unit tests:

    make check
    

Run

Then you can either run the command-line daemon using src/haroldcoind and src/haroldcoin-cli, or you can run the Qt GUI using src/qt/haroldcoin-qt

For in-depth description of Sparknet and how to use haroldcoin for interacting with contracts, please see sparknet-guide.

License

haroldcoincore is GPLv3 licensed.

Development Process

The master branch is regularly built and tested, but is not guaranteed to be completely stable. Tags are created regularly to indicate new official, stable release versions of haroldcoin.

The contribution workflow is described in CONTRIBUTING.md.

Testing

Testing and code review is the bottleneck for development; we get more pull requests than we can review and test on short notice. Please be patient and help out by testing other people's pull requests, and remember this is a security-critical project where any mistake might cost people lots of money.

Automated Testing

Developers are strongly encouraged to write unit tests for new code, and to submit new unit tests for old code. Unit tests can be compiled and run (assuming they weren't disabled in configure) with: make check. Further details on running and extending unit tests can be found in /src/test/README.md.

There are also regression and integration tests of the RPC interface, written in Python, that are run automatically on the build server. These tests can be run (if the test dependencies are installed) with: qa/pull-tester/rpc-tests.py

Manual Quality Assurance (QA) Testing

Changes should be tested by somebody other than the developer who wrote the code. This is especially important for large or high-risk changes. It is useful to add a test plan to the pull request description if testing the changes is not straightforward.

haroldcoin's People

Contributors

realsetvin avatar harold-coin avatar

Stargazers

Chief Editor / onelinerhub.com avatar  avatar  avatar  avatar

Watchers

 avatar

haroldcoin's Issues

Error building wallet from source (ubuntu)

Thank you for attempting to create instructions on how to build from source! It really helps inexperienced people like me! Small issue, I believe your instructions are out of date / broken

For one
You write
git clone https://github.com/Harold-Coin/haroldcoin-main.git --recursive
However if you examine the names you will notice that haroldcoin-main is incorrect its haroldcoin-main-23-may
This also means the "cd haroldcoin" is false because actually its "cd haroldcoin-main-23-may"

For a new person (such as myself) this can be confusing or even result in someone not being able to follow your instructions if they dont know any better.

For two
https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin

This repository seems dead so not able to execute command to install it.

Right now I am looking for solutions - I hope you can revise the build instructions for ubuntu when you get a chance.

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.