This repository contains the reference implementation of Alephium, a sharded blockchain that makes programmable money scalable and secure. For more information, please visit the wiki.
The protocol's innovations extend battle-tested ideas from Bitcoin and Ethereum:
single-step cross-shard transactions
, offering the same user experience as single chainPoW based sharding
, does not rely on beacon chainStateful UTXO model
combines the advantages of both eUTXO model and account model (see code, wiki to come)
owned by users
directly instead of contractsaccount model
. DApps can be easily built on top of it with better securitymultiple participants
in a single smart contract transaction. Multiple calls can be packed into a single transaction too.fine-grained execution model
reduces risk-free arbitrageThe following dependencies must be installed in order to run the JAR deliverable:
You can obtain our latest single JAR distribution from the GitHub releases and start the application using the following command:
java -jar alephium-<VERSION>.jar
In order to build the project from source the following dependencies must be installed on your system:
Use the following command to build a single runnable JAR :
make assembly
The resulting assembly file will appear in /app/target/scala-2.13/
directory.
Use the following command to build a zip distribution including launch scripts:
make package
The resulting package file will appear in the app/target/scala-2.13/universal
directory.
Use the following command to build a docker image:
make docker
You can define user specific settings in the file $ALEPHIUM_HOME/user.conf
, where by default $ALEPHIUM_HOME
points to ~/.alephium
.
There are two kinds of tests:
make test
command.make itest
command.Have a look at our contribution guide described in CONTRIBUTING.md
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.