<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="3964" data-post-id="3964">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="aesedepece" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/aesedepece/120/1388_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  aesedepece
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi everyone,</p>
<p>Good news for you: there’s already at least one successfully funded open source Elixir project in the blockchain space.</p>
<p>We are <a href="https://stampery.com/" rel="noopener nofollow ugc">Stampery</a>, a startup leveraging the power of the bitcoin and ethereum blockchains to create immutable proof of existence, integrity and ownership of any kind of data set.</p>
<p>In fact, we have been part of the last batch of the aforementioned Boost accelerator. I am pretty sure <a class="mention" href="/u/iamcharleshan" rel="nofollow">@IamCharlesHan</a> knows my colleges Luis, Daniele and of course Tomasso and his celebrated cooking skills.</p>
<p>Stampery was funded with $600K from Draper &amp; Associates, Blockchain Capital and Di-Ann Eisnor in 2015 Q3, shortly after <a href="http://techcrunch.com/2015/09/22/stampery-leverages-the-blockchain-to-certify-all-your-documents/" rel="noopener nofollow ugc">presenting at TechCrunch Disrupt SF</a>.</p>
<p>We used Elixir to build our distributed blockchain data anchoring architecture, best known as <a href="https://stampery.com/tech" rel="noopener nofollow ugc">BTA</a>. It allows us to embed as many data as we want in a single bitcoin or ethereum TX.</p>
<p>We are open sourcing our whole stack these days. We started by publishing our binary merkle tree Elixir implementation, which as <a class="mention" href="/u/uranther" rel="nofollow">@uranther</a> mentioned is crucial for any blockchain project you may want to start out:</p>
<ul>
<li><a href="https://github.com/stampery/elixir-merkle" rel="noopener nofollow ugc">elixir-merkle source code at GitHub</a></li>
<li><a href="https://hex.pm/packages/merkle" rel="nofollow">merkle package at Hex.pm</a></li>
</ul>
<p>We will continue releasing the source code for more components of our stack in the next weeks, including the bitcoin and ethereum raw transaction composer modules.</p>
<p>Of course I will be more than happy to contribute to this exchain initiative. I’m aesedepece at Github.</p>
<p>Let’s see what we can come up with!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="3964" data-batch-url="/posts/batch_likers">
                        7
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-3964" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="3964"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-most-liked cat-most-liked" title="One of the top 3 liked posts in this thread!"></div>
  </section>
</div>
    <div class="postbit" id="4028" data-post-id="4028">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="uranther" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/uranther/120/2627_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  uranther
                      <span class="op-star" title="Thread Starter">
                        <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                      </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Looking at the architectural diagram of Hyperledger, I tried to figure which modules would be suited to Elixir (highlighted yellow in the image) and which to Rust or the like (highlighted red). It seems Elixir could handle a large portion of these services, while leaving computation- and memory-intensive chaincode services to a faster computing language. That fast language <em>could</em> be Haskell or even Futhark. I wonder how <a href="https://github.com/buckie/juno" rel="noopener nofollow ugc">juno</a> compares to <a href="https://ethcore.io/parity.html" rel="noopener nofollow ugc">Ethcore Parity</a> in chaincode/smart contract speed.</p>
<p></p><div class="lightbox-wrapper"><a class="lightbox" href="https://forum.elixirforum.com/uploads/default/original/2X/6/658d48e8057cfa24c56c13a124475f6a4a96aa73.png" data-download-href="https://forum.elixirforum.com/uploads/default/658d48e8057cfa24c56c13a124475f6a4a96aa73" title="hyperledger-architecture-highlighted.png" rel="nofollow"><img src="https://forum.elixirforum.com/uploads/default/original/2X/6/658d48e8057cfa24c56c13a124475f6a4a96aa73.png" width="620" height="389"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">hyperledger-architecture-highlighted.png</span><span class="informations">620×389 72.1 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div><p></p>
<p>Maybe the ledger storage could be handled with Riak or a NewSQL database like VoltDB or CockroachDB? The event stream could be exposed through a WebSocket. Any other thoughts?</p>
<p>So a possible way forward is to build out Elixir services which replace those in Hyperledger. The idea being that we can write correct distributed systems code with fewer SLOC and which is easier to understand and reason about.</p>
<hr>
<p><a class="mention" href="/u/aesedepece" rel="nofollow">@aesedepece</a> That’s awesome you are using Elixir for this exact purpose! I look forward to seeing more open source libraries released from Stampery. I am especially interested in these five types of proofs you provide:</p>
<ul>
<li>Proof of Ownership</li>
<li>Proof of Existence</li>
<li>Proof of Integrity</li>
<li>Proof of Agreement</li>
<li>Proof of Receipt</li>
</ul>
<p>I have some other feedback about the website and copy, but it doesn’t really fit in this thread <img src="https://forum.elixirforum.com/images/emoji/apple/wink.png?v=15" title=":wink:" class="emoji" alt=":wink:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="4028" data-batch-url="/posts/batch_likers">
                        6
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-4028" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="4028"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-most-liked cat-most-liked" title="One of the top 3 liked posts in this thread!"></div>
  </section>
</div>
    <div class="postbit" id="4276" data-post-id="4276">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="rps17" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rps17/120/1400_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  rps17
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi uranter,</p>
<p>that’s a good idea. I’m learning Elixir/Phoenix and have great interest in cryptocurrencies, applications of blockchain.<br>
I’ve found this article and think it is interesting</p><aside class="onebox allowlistedgeneric" data-onebox-src="https://yos.io/2016/05/19/merkle-trees-in-elixir/">
  <header class="source">
      <img src="https://yos.io/public/favicon.ico" class="site-icon" alt="" width="256" height="256">

      <a href="https://yos.io/2016/05/19/merkle-trees-in-elixir/" target="_blank" rel="noopener nofollow ugc">Yos Riady · Software Craftsman</a>
  </header>

  <article class="onebox-body">
    

<h3><a href="https://yos.io/2016/05/19/merkle-trees-in-elixir/" target="_blank" rel="noopener nofollow ugc">Home</a></h3>

  <p>Personal blog of Yos Riady. Yos is a Software Engineer based in Singapore.</p>


  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="4276" data-batch-url="/posts/batch_likers">
                        5
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-4276" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="4276"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="4958" data-post-id="4958">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="uranther" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/uranther/120/2627_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  uranther
                      <span class="op-star" title="Thread Starter">
                        <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                      </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>This is a great explanation! Thank you for sharing. For reference, the author’s Merkle tree Elixir module is <a href="https://github.com/yosriady/merkle_tree" rel="noopener nofollow ugc">here on GitHub</a>. It looks far more complete than Stampery’s because it includes documentation and typespecs checked by dialyzer.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="4958" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-4958" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="4958"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="4959" data-post-id="4959">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="arpunk" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/arpunk/120/1439_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  arpunk
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>There is also a pure Erlang implementation: <a href="https://github.com/ferd/merklet" class="inline-onebox" rel="noopener nofollow ugc">GitHub - ferd/merklet: Merkle Trees for data replication in Erlang · GitHub</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="4959" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-4959" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="4959"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="4961" data-post-id="4961">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="rps17" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rps17/120/1400_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  rps17
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>thanks! I will check it. I was reading a paper  “Tangaroa: a Byzantine Fault Tolerant Raft” and have the following question: is it possible to use Tangaroa or simply the Raft to create a cryptocurrency? do you have any idea? thanks</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="4961" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-4961" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="4961"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #16"></div>
  </section>
</div>
    <div class="postbit" id="4962" data-post-id="4962">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="rps17" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rps17/120/1400_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  rps17
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>thanks!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="4962" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-4962" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="4962"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #17"></div>
  </section>
</div>
    <div class="postbit" id="4963" data-post-id="4963">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="uranther" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/uranther/120/2627_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  uranther
                      <span class="op-star" title="Thread Starter">
                        <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                      </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/rps17" rel="nofollow">@rps17</a> I think the consensus algorithm should be pluggable. And in some blockchain deployments it’s really not that important to have Byzantine fault tolerance because they are dealing with (more) trusted actors.</p>
<p><a class="mention" href="/u/arpunk" rel="nofollow">@arpunk</a> Thanks for the link! I was wondering if there was a Merkle tree module from Riak; I was peeking the <a href="https://github.com/basho/riak_core/blob/develop/src/hashtree.erl" rel="noopener nofollow ugc">source</a>/<a href="https://github.com/basho/riak_core/blob/develop/src/hashtree_tree.erl" rel="noopener nofollow ugc">code</a> today, and it seems to be a specialized implementation for Riak’s architecture. The module you linked is another reference point for us and maybe we can adapt some of its functions, like diffs, into the Elixir module.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="4963" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-4963" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="4963"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #18"></div>
  </section>
</div>
    <div class="postbit" id="4964" data-post-id="4964">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="arpunk" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/arpunk/120/1439_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  arpunk
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/uranther" rel="nofollow">@uranther</a> merklet seems to be a reimplementation of the one riak has. I haven’t diffed the code but it says so in the README.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="4964" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-4964" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="4964"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #19"></div>
  </section>
</div>
    <div class="postbit" id="4965" data-post-id="4965">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="uranther" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/uranther/120/2627_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  uranther
                      <span class="op-star" title="Thread Starter">
                        <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                      </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The author says it is from an old Riak implementation and it looks to me to be general purpose. I haven’t compared the code directly either, but this standalone module looks far more useful than plucking the master branch module from Riak.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="4965" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-blockchain-distributed-ledger-technology/451/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-4965" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="4965"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #20"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/451/load_more?page=3">Load more posts</a>
</div></template></turbo-stream>