WELCOME TO MANHATTANGOLDCOIN WALLET

The open source wallet for ManhattanGoldCoin, built to grow with the network.

Guide to Setup ManhattanGoldCoin Core (Ubuntu/Debian)

  1. Download and extract the source code:
    tar -xzf mgccoin.tar.gz
    cd mgccoin/
  2. Install build dependencies:
    sudo apt-get update
    sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3
  3. Install required libraries:
    sudo apt-get install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev
  4. Install optional dependencies:
    sudo apt-get install libminiupnpc-dev libzmq3-dev
  5. Install Qt5 (for GUI wallet):
    sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev
  6. Make build scripts executable:
    chmod +x autogen.sh share/genbuild.sh contrib/install_db4.sh
  7. Install Berkeley DB 4.8:
    ./contrib/install_db4.sh `pwd`
  8. Set up build environment:
    export BDB_PREFIX="$(pwd)/db4"
    ./autogen.sh
  9. Configure the build:
    ./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --disable-tests
  10. Compile ManhattanGoldCoin:
    make -j$(nproc)
  11. Install (optional):
    sudo make install
  12. Run the wallet:
    manhattangoldcoind (daemon)
    manhattangoldcoin-qt (GUI)
Note: The dos2unix commands are NOT needed for clean Linux source code. Only use dos2unix if you encounter "bad interpreter" errors, which indicates Windows line endings in the files.