If available in Hex, the package can be installed
by adding ex_chain
to your list of dependencies in mix.exs
:
def deps do
[
{:ex_chain, "~> 0.1.0"}
]
end
ExChain is a initial implementation of a distributed ledger and is based on the bitcoin ledger. The current state is ultra simple, but is open for improvenment. The current consensus algorithm is the proof of work.
- Chain (List)
- Account
- Block
- Transaction
- TxIn / TxOut