
ECOin - Copyright (c) - 2014/2026 - GPLv3 - epsylon@riseup.net (https://ecoin.03c8.net)

===================================================
# BUILDS - P2P Crypto-Currency (ECOin) #
===================================================

See doc/build-linux.txt for more info about required libs to build it at GNU/Linux systems.

All of the commands should be executed in a shell:

===================================================

=================
+ Build Makefile:
=================

    cd ecoin/
    /usr/lib/x86_64-linux-gnu/qt5/bin/qmake USE_UPNP=- USE_IPV6=- -o Makefile ecoin-qt.pro

===============
+ Build Wallet:
===============

    qmake USE_UPNP=- USE_IPV6=-
    make

    ./ecoin-qt
        
===================================================

===============
+ Build Daemon:
===============

    cd src/
    make -f makefile.linux USE_UPNP=- USE_IPV6=-
    strip ecoind

    ./ecoind
    
===================================================
        
===============
+ Build Miner:
===============

See doc/MINING.txt for detailed instructions on running /ecoin-miner/ on different platforms.

    cd miner/
    bash build.sh
	
    ./cpuminer
    
===================================================

=================================
+ Quick Sync (bootstrap.dat):
=================================

  Download bootstrap.dat for faster initial sync:

    - File: wget https://ecoin.03c8.net/ecoin/bootstrap.dat -P /home/$USER/.ecoin/
    
    - Tools:
    
        cd tools
        bash load_bootstrap.sh

  The file will be automatically imported and renamed to bootstrap.dat.old on first start.

===================================================

==========================
+ Configuration (example):
==========================

  Download a working ecoin.conf:

    wget https://ecoin.03c8.net/ecoin/ecoin.conf -P /home/$USER/.ecoin/
    chmod 600 /home/$USER/.ecoin/ecoin.conf

  + GNU/Linux:

     - File: /home/$USER/.ecoin/ecoin.conf # chmod 600 ecoin.conf

        rpcuser=ecoinrpc
        rpcpassword=<YourEcoinRPC_PassWord2026>
        rpcallowip=127.0.0.1
        listen=1
        server=1
        daemon=1
        staking=1
        addnode=46.163.118.220

    ./ecoind -conf=/home/$USER/.ecoin/ecoin.conf    
    
     - Tools: 
     
        cd tools
        bash set_config.sh
     
==========================
+ Debugging (logs):
==========================

  + GNU/Linux:

     tail -f /home/$USER/.ecoin/debug.log

====================
+ Ports (Listening):
====================

  + Default P2P Port: 7408

  + Default RPC Port (mainnet): 7474

===================================================

==========================
+ More info (commands):
==========================

For a list of command-line options:

  ./ecoind --help

To start the ECOin daemon:

  ./ecoind -daemon

For ECOin-QT Wallet

  ./ecoin-qt
 
For debugging:

  tail -f /home/$USER/.ecoin/debug.log

======================================

