Ergo
This repository contains the reference implementation of the Ergo Platform protocol, which is an alternative to the Bitcoin protocol.
Ergo Platform website: https://ergoplatform.org/
Differences from Bitcoin
- Memory-hard Proof-of-Work function Equihash
- New modes of operation: light-fullnode, light-SPV, hybrid modes
- Alternative transactional language, which is more powerful that Bitcoin Script but also safe against heavy validation attacks
- Alternative fee model with mandatory storage-rent component
Specifications
It will be a White Paper with a brief description, and also a Yellow Paper with detailed specification. At the moment, there is only Yellow Paper drafts, and currently the reference implementation code should be considered as a specification.
Installation
Docker Quick Start
Ergo has officially supported Docker package. To run Ergo as a console application with logs in console:
sudo docker run --rm -p 9001:9001 -p 9051:9051 -v ergo-testnet:/root/ergo/data ergoplatform/ergo
This will connect to Ergo testnet with default config and open ports 9001 and 9051 on host system. All data will be stored in your named Docker volume ergo-testnet
.
To run certain Ergo version as a service with custom config:
sudo docker run -d -p 9001:9001 -p 9051:9051
-v ergo:/root/ergo/data
-v /path/on/host/system/to/myergo.conf:/root/ergo/myergo.conf
ergoplatform/ergo:v0.2.1 /root/ergo/myergo.conf
This will connect to Ergo mainnet or testnet respecting your configuration passed in myergo.conf
. Every default config value would be overwritten with corresponding value in myergo.conf
. This also would store your data in named Docker volume ergo
(if you change default data location in your config file, do not forget mount ergo
volume to changed location) and open ports 9001 and 9051 on host system.