Code Monkey home page Code Monkey logo

worktipscoin's Introduction

This is the reference code for Worktips cryptocurrency. Read the Changelogs.txt for more info about the current fork.

Worktips is based on the TurtleCoin v0.5.0 code base.

Worktips

Worktips is an ASIC resistant cryptocurrency designed for mining and perfect for rewarding

  • Algorithm: CryptoNightLite V1
  • Max. supply: 184,467,440,735.0
  • CryptoNote name: worktips
  • Decimal points: 8
  • Block time: 90
  • Ticker: WTIP
  • Emission speed factor: 20
  • LWMA-2 difficulty algo
  • P2P port: 17239
  • RPC port: 18238

How to compile

Compile on Linux Ubuntu 16

1. Install dependencies

  • run an update

sudo apt-get update

  • get all dependencies

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

2. Get the coin

git clone https://github.com/worktips/worktipscoin.git worktips

3. CHMOD

  • navigate to:

cd worktips/external/rocksdb/build_tools

  • execute the following commands:

chmod +x build_detect_platform version.sh

4. Build executables

  • Navigate back to repo folder

cd

cd worktips

  • prepare the build

mkdir build && cd $_

cmake ..

  • Export flags

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

  • Make/Build

make

Your executables will be located in build/src folder.

Compile on Linux Ubuntu 14

1. Install dependencies

  • run an update

sudo apt-get update

  • get all dependencies

sudo apt-get install -y build-essential python-dev git cmake libboost1.55-all-dev libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev libgflags2 gcc-4.8 g++-4.8

2. Install RocksDB database (long compilation)

git clone https://github.com/facebook/rocksdb.git

cd rocksdb

make all

3. Get the coin

cd

git clone https://github.com/worktips/worktipscoin.git worktips

4. CHMOD

  • navigate to:

cd worktips/external/rocksdb/build_tools

  • execute the following commands:

chmod +x build_detect_platform

chmod +x version.sh

5. Build executables (long compilation)

  • Navigate back to repo folder

cd

cd worktips

  • prepare the build

mkdir build && cd $_

cmake ..

  • Export flags

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

  • Make/Build

make

Compile on Windows 7/8/10

1. Environment

  • Visual Studio 2017 Community Edition with desktop development with C++ and the VC++ v140 toolchain features selected
  • Boost 1.59.0, with the installer for MSVC 14

2. Build

  • From the start menu, open 'x64 Native Tools Command Prompt for vs2017'

cd <worktips_directory>

mkdir build

cd build

  • Set the PATH for Cmake:

set PATH="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin";%PATH%

  • Run Cmake:

cmake -G "Visual Studio 14 Win64" .. -DBOOST_ROOT=C:/local/boost_1_59_0

  • Build:

MSBuild Worktips.sln /p:Configuration=Release /m

Your binaries will be located in ..\build\src\Release folder.

Compile on macOS High Sierra

1. Install dependencies

  • Download and install Xcode from App Store

  • Open Xcode and download additional contents

  • Download CMAKE for OSX: https://cmake.org/files/v3.10/cmake-3.10.3-Darwin-x86_64.dmg

  • Copy the CMAKE app to Application folder as usual

  • Open CMAKE GUI once, and close it afterwards

  • Run this command in terminal for CMD tools:

on newer devices:

sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install

on devices older than 4 years:

sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install=/path/to/bin

  • run the following commands:

cd

chmod u+x macOS.sh

./macOS.sh

  • install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  • install xCode CMD tools and install Xcode from app store

xcode-select --install

  • accept Xcode license

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

sudo xcodebuild -license accept

  • install rocksdb

brew install rocksdb

  • install boost

brew install boost

2. Build/compile

  • get the source

git clone https://github.com/worktips/worktipscoin.git worktips

  • navigate to:

cd worktips/external/rocksdb/build_tools

  • execute the following commands:

chmod +x build_detect_platform

chmod +x version.sh

  • navigate back to repo folder:

cd & cd worktips

  • prepare the build

mkdir build && cd $

sudo cmake -DBOOST_ROOT=/usr/local/include/boost ..

  • build

sudo make

Credits

Cryptonote Developers, Bytecoin Developers, Monero Developers, Forknote Project, TurtleCoin Developers

worktipscoin's People

Contributors

samvicky26 avatar vordas avatar

Stargazers

 avatar

Watchers

 avatar

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.