21

GitHub - zcoinofficial/zcoin: The Zerocoin Cryptocurrency

 4 years ago
source link: https://github.com/zcoinofficial/zcoin
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Zcoin v0.13.7.10

Build Status

What is Zcoin?

Zcoin is a privacy focused cryptocurrency that utilizes zero knowledge proofs which allows users to destroy coins and then redeem them later for brand new ones with no transaction history. It was the first project to implement the Zerocoin protocol and is now transitioning to the Sigma protocol which has no trusted setup and small proof sizes. Zcoin also utilises Dandelion++ to obscure the originating IP of transactions without relying on any external services such as TOR/i2P.

Zcoin developed and utilizes Merkle Tree Proofs (MTP) as its Proof-of-Work algorithm which aims to be memory hard with fast verification.

Running with Docker

If you are already familiar with Docker, then running Zcoin with Docker might be the the easier method for you. To run Zcoin using this method, first install Docker. After this you may continue with the following instructions.

Please note that we currently don't support the GUI when running with Docker. Therefore, you can only use RPC (via HTTP or the zcoin-cli utility) to interact with Zcoin via this method.

Pull our latest official Docker image:

docker pull zcoinofficial/zcoind

Start Zcoin daemon:

docker run --detach --name zcoind zcoinofficial/zcoind

View current block count (this might take a while since the daemon needs to find other nodes and download blocks first):

docker exec zcoind zcoin-cli getblockcount

View connected nodes:

docker exec zcoind zcoin-cli getpeerinfo

Stop daemon:

docker stop zcoind

Backup wallet:

docker cp zcoind:/home/zcoind/.zcoin/wallet.dat .

Start daemon again:

docker start zcoind

Linux Build Instructions and Notes

Dependencies

  1. Update packages

    sudo apt-get update
    
  2. Install required packages

    sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-all-dev
    
  3. Install Berkeley DB 4.8

    sudo apt-get install software-properties-common
    sudo add-apt-repository ppa:bitcoin/bitcoin
    sudo apt-get update
    sudo apt-get install libdb4.8-dev libdb4.8++-dev
    
  4. Install QT 5

    sudo apt-get install libminiupnpc-dev libzmq3-dev
    sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev
    

Build

  1. Clone the source:

    git clone https://github.com/zcoinofficial/zcoin
    
  2. Build Zcoin-core:

    Configure and build the headless Zcoin binaries as well as the GUI (if Qt is found).

    You can disable the GUI build by passing --without-gui to configure.

    ./autogen.sh
    ./configure
    make
    
  3. It is recommended to build and run the unit tests:

    make check
    

macOS Build Instructions and Notes

See (doc/build-macos.md) for instructions on building on macOS.

Windows (64/32 bit) Build Instructions and Notes

See (doc/build-windows.md) for instructions on building on Windows 64/32 bit.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK