Skip to content

theabrad/elixir_blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain

Simple Blockchain written in Elixir. The chain is placed on a GenServer.

Run

iex -S mix

# Create a new Blockchain
iex> {:ok, pid} = Blockchain.Server.start_link 
# Insert  a new block with data
iex> Blockchain.Server.add(pid, "MESSAGE")
# Check the Blockchain
iex> Blockchain.Server.view(pid) 

Run Tests

mix test --trace

About

Simple Blockchain Implementation in Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages