Skip to content

eGame Cash egamecash [EGM] is an ASIC resistant CryptoNightLite V1 algorithm based cryptocurrency. Fast transactions & privacy make this coin perfect for rewarding your workers, co-workers and colleagues for a job well done.

License

Notifications You must be signed in to change notification settings

egamecash/egamecash-node-daemon

Repository files navigation

This is the reference code for egamecash cryptocurrency.

egamecash Cryptocurrency

egamecash [EGM] is an ASIC resistant CryptoNightLite V1 algorithm based cryptocurrency. Fast transactions & privacy make this coin perfect for rewarding your workers, co-workers and colleagues for a job well done.

Name: eGame Cash Ticket: EGM PoW Hashing Algorithm: CryptoNight-Lite V1 (ASIC Resistant) Max Supply: 53,000,000 Difficulty Target: 240 Seconds Minimun transaction fee: 0.00001 P2P Port: 35000 RPC Port: 35001

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/egamecash/egamecash-node-daemon.git egamecash-daemon

3. CHMOD

  • navigate to:

cd egamecash-daemon/external/rocksdb/build_tools

  • execute the following commands:

chmod +x build_detect_platform

chmod +x version.sh

4. Build executables

  • Navigate back to repo folder

cd

cd egamecash-daemon

  • 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/egamecash/egamecash-node-daemon.git egamecash-daemon

4. CHMOD

  • navigate to:

cd egamecash-daemon/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 egamecash-daemon

  • 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 <egamecash-daemon>

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 egamecash.sln /p:Configuration=Release /m

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

Compile on macOS High Sierra

1. 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

  • Open CMAKE GUI first time, and close it afterwards

  • Run this command in terminal for CMD tools:

  • on newer devices

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

  • older than 4 years

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

  • install Homebrew if you haven’t already

/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

cd

  • get the source code

git clone https://github.com/egamecash/egamecash-node-daemon.git egamecash-daemon

  • CHMOD

cd egamecash-daemon/external/rocksdb/build_tools

sudo chmod +x build_detectplatform

sudo chmod +x version.sh

  • navigate back to source folder and run

mkdir build && cd $

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

sudo make

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

Credits

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

About

eGame Cash egamecash [EGM] is an ASIC resistant CryptoNightLite V1 algorithm based cryptocurrency. Fast transactions & privacy make this coin perfect for rewarding your workers, co-workers and colleagues for a job well done.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published