Skip to content

Simple blockchain implemented in Elchemy (Elm to Elixir)

Notifications You must be signed in to change notification settings

wende/elchemy_blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain implemented with Elchemy

Output of creating 10 Block-sized chain:

Found: {42, "WAJSGDCE5O62IJMNQ4L2BJIJF3N5EWSGRMRFRNRE6LKE3VZZDJLQ===="}
Found: {591229, "WENDJDY7AMXBSP3RXON4W7ISINDIQGEUK6XGDM7MXTITWP6KMRAQ===="}
Spent 5 seconds finding
Found: {409390, "WENDCPM3S3WAIBNZNH64SOP6JVYQTVOMIANZLF74WVD5PLLEID4Q===="}
Spent 2 seconds finding
Found: {962499, "WENDBWF4F2NWVFNTFWJZ6LJTPKIW2UA7P4ZSUKUHU4P5OQ66SFDQ===="}
Spent 7 seconds finding
Found: {770283, "WEND2NAKT6NMFBNUTQOCRDPLJFCUAGGI2ZQNKD3EC2VQUPPP352A===="}
Spent 5 seconds finding
Found: {499302, "WENDRKHF753PLXMS66ICFU7DGMVERJ3NCTBHNIU5OEIKB5RKPIFQ===="}
Spent 3 seconds finding
Found: {5451731, "WENDP5GCIH5QRDWOBNZK6C6QDKR3HXLBTKCSG4RFQUSNBAFXVYCA===="}
Spent 36 seconds finding
Found: {2150908, "WENDMGMUWFK4NEKR6PWHWRH5AM6RS5EMX4623JQO7NXHZWHKLXOQ===="}
Spent 15 seconds finding
Found: {834790, "WEND5JXKYXSNYIZ3ITFZLG4XI4ZO4IVQ7YYIVTHXRGVAAWVUPFJA===="}
Spent 6 seconds finding
Found: {1616353, "WENDNV6J4V4YJSJHI7AY4IVR2MPSGYH4D4D7PFFZTVQ4M2WMSYXA===="}
Spent 12 seconds finding
Found: {1489843, "WENDJGMYT6TLFB3U54BUITOBTAGJDYOC4QZYPZREGLDZ7IHTRZIQ===="}
Spent 11 seconds finding
[%{data: "Block #10", difficulty: 4,
   hash: "WENDJGMYT6TLFB3U54BUITOBTAGJDYOC4QZYPZREGLDZ7IHTRZIQ====", index: 10,
   nonce: 1489843,
   previousHash: "WENDNV6J4V4YJSJHI7AY4IVR2MPSGYH4D4D7PFFZTVQ4M2WMSYXA====",
   timestamp: 1504784155},
 %{data: "Block #9", difficulty: 4,
   hash: "WENDNV6J4V4YJSJHI7AY4IVR2MPSGYH4D4D7PFFZTVQ4M2WMSYXA====", index: 9,
   nonce: 1616353,
   previousHash: "WEND5JXKYXSNYIZ3ITFZLG4XI4ZO4IVQ7YYIVTHXRGVAAWVUPFJA====",
   timestamp: 1504784143},
 %{data: "Block #8", difficulty: 4,
   hash: "WEND5JXKYXSNYIZ3ITFZLG4XI4ZO4IVQ7YYIVTHXRGVAAWVUPFJA====", index: 8,
   nonce: 834790,
   previousHash: "WENDMGMUWFK4NEKR6PWHWRH5AM6RS5EMX4623JQO7NXHZWHKLXOQ====",
   timestamp: 1504784137},
 %{data: "Block #7", difficulty: 4,
   hash: "WENDMGMUWFK4NEKR6PWHWRH5AM6RS5EMX4623JQO7NXHZWHKLXOQ====", index: 7,
   nonce: 2150908,
   previousHash: "WENDP5GCIH5QRDWOBNZK6C6QDKR3HXLBTKCSG4RFQUSNBAFXVYCA====",
   timestamp: 1504784122},
 %{data: "Block #6", difficulty: 4,
   hash: "WENDP5GCIH5QRDWOBNZK6C6QDKR3HXLBTKCSG4RFQUSNBAFXVYCA====", index: 6,
   nonce: 5451731,
   previousHash: "WENDRKHF753PLXMS66ICFU7DGMVERJ3NCTBHNIU5OEIKB5RKPIFQ====",
   timestamp: 1504784086},
 %{data: "Block #5", difficulty: 4,
   hash: "WENDRKHF753PLXMS66ICFU7DGMVERJ3NCTBHNIU5OEIKB5RKPIFQ====", index: 5,
   nonce: 499302,
   previousHash: "WEND2NAKT6NMFBNUTQOCRDPLJFCUAGGI2ZQNKD3EC2VQUPPP352A====",
   timestamp: 1504784083},
 %{data: "Block #4", difficulty: 4,
   hash: "WEND2NAKT6NMFBNUTQOCRDPLJFCUAGGI2ZQNKD3EC2VQUPPP352A====", index: 4,
   nonce: 770283,
   previousHash: "WENDBWF4F2NWVFNTFWJZ6LJTPKIW2UA7P4ZSUKUHU4P5OQ66SFDQ====",
   timestamp: 1504784078},
 %{data: "Block #3", difficulty: 4,
   hash: "WENDBWF4F2NWVFNTFWJZ6LJTPKIW2UA7P4ZSUKUHU4P5OQ66SFDQ====", index: 3,
   nonce: 962499,
   previousHash: "WENDCPM3S3WAIBNZNH64SOP6JVYQTVOMIANZLF74WVD5PLLEID4Q====",
   timestamp: 1504784071},
 %{data: "Block #2", difficulty: 4,
   hash: "WENDCPM3S3WAIBNZNH64SOP6JVYQTVOMIANZLF74WVD5PLLEID4Q====", index: 2,
   nonce: 409390,
   previousHash: "WENDJDY7AMXBSP3RXON4W7ISINDIQGEUK6XGDM7MXTITWP6KMRAQ====",
   timestamp: 1504784069},
 %{data: "Block #1", difficulty: 4,
   hash: "WENDJDY7AMXBSP3RXON4W7ISINDIQGEUK6XGDM7MXTITWP6KMRAQ====", index: 1,
   nonce: 591229,
   previousHash: "WAJSGDCE5O62IJMNQ4L2BJIJF3N5EWSGRMRFRNRE6LKE3VZZDJLQ====",
   timestamp: 1504784064},
 %{data: "Genesis Block", difficulty: 1,
   hash: "WAJSGDCE5O62IJMNQ4L2BJIJF3N5EWSGRMRFRNRE6LKE3VZZDJLQ====", index: 0,
   nonce: 42, previousHash: "0", timestamp: 1504784064}]

About

Simple blockchain implemented in Elchemy (Elm to Elixir)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published