Welcome to the official Rust implementation of the Purple Protocol!
Purple is a highly scalable, general-purpose decentralized ledger protocol. Its state of the art algorithms and architectural design potentially allow it to handle thousands of transactions per second which would allow the mainstream use of decentralized ledger technology.
The Purple Protocol is agnostic to the type of applications that can run on it which can be anything from a simple issued asset with no properties to full fledged decentralized insurance schemes and KYC. In fact, it is agnostic even to the programming language used to develop said applications.
The Purple Assembly format, also known as
PASM allows compilers for languages such as C#, Java or Rust to build code native to the Purple Protocol target platform. Any language that targets the LLVM compiler infrastructure is potentially supported.
In order to achieve a high transaction throughput, a new consensus mechanism has been devised from scratch by starting from the latest distributed systems and cryptocurrency research. The result is an extension of the Nakamoto Consensus Scheme present in Bitcoin and other cryptocurrencies.
All of this is still highly experimental and awaiting to be stress-tested on a large network. Many things can and possibly will still change.
If you want a clear description of the progress so far you can look at the milestones section of the repository.
USE AT YOUR OWN RISK!
Building the project requires cmake, clang/llvm and the CUDA toolkit. Note that building the core requires Rust
>= 1.41.0. After all dependencies are installed, run:
A Purple node can also be run from a docker container:
docker build -t purple .
After building the docker image, to run the node with all logging enabled:
docker run -it purple