Skip to content

amitkpandey/worktipscoin

 
 

Repository files navigation

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

About

Worktips is a crypto perfect for rewarding

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 90.6%
  • C 8.8%
  • CMake 0.4%
  • Other 0.1%
  • Shell 0.1%
  • Python 0.0%