Browse Source

Added New Guides to Guides.html (Sidebar & Body)

Also removed some indents/spacing to make things read better.
updates-sept
DarrenM 7 years ago
parent
commit
e14c1940e3
  1. 2
      guides-markdown/scripting.md
  2. 13
      guides.html
  3. 2
      guides/scripting.html

2
guides-markdown/scripting.md

@ -1,4 +1,4 @@
# Scripting
# Intro to Scripting
```post-author
Christopher Jeffery

13
guides.html

@ -260,7 +260,8 @@
<h6 class="montserrat text-uppercase bottom-line">Guides</h6>
<ul class="icons-list">
<li><a href="guides/generate-address.html">Generate A Bitcoin Address</a></li>
<li><a href="guides/scripting.html">Scripting 101</a></li>
<li><a href="scripting.html">Intro to Scripting</a></li>
<li><a href="op_return.html">Create an OP_RETURN</a></li>
<!--<li><a data-toggle="" href="">Quick Sync (Torrent) </a></li>-->
</ul>
</div>
@ -353,7 +354,7 @@
</div>
</article>
<!-- SCRIPTING 101 GUIDE -->
<!-- OP_RETURN -->
<article class="post format-image">
<div class="row">
<div class="col-sm-1"></div>
@ -365,12 +366,12 @@
</div> -->
<div class="col-sm-10">
<div class="post-content" style="color:#000;">
<h2 class="post-title"><a href="guides/generate-address.html"><!--<i class="fa fa-linux"></i>-->Scripting 101</a></h2>
<h2 class="post-title"><a href="guides/op_return.html"><!--<i class="fa fa-linux"></i>-->Create an OP_RETURN</a></h2>
<ul class="post-meta">
<li>By JJ</li>
<li>By Javed Khan</li>
</ul>
<p>Learn the basics of scripting. Scripts are array-like objects with some helper functions.</p>
<a href="guides/generate-address.html" class="btn btn-lg btn-link btn-base">Start ›</a>
<p>This example creates a transaction with output containing a null data script with our data.</p>
<a href="guides/op_return.html" class="btn btn-lg btn-link btn-base">Start ›</a>
</div>
</div>
</div>

2
guides/scripting.html

@ -302,7 +302,7 @@
<div class="col-sm-12 panel panel-default">
<div class="post-content" style="color:#000;">
<!-- START OF GUIDE -->
<h2 class="post-title panel-title">Scripting</h2><ul class="post-meta"><li class="author">By Christopher Jeffery</li></ul><p>Scripts are array-like objects with some helper functions.</p>
<h2 class="post-title panel-title">Intro to Scripting</h2><ul class="post-meta"><li class="author">By Christopher Jeffery</li></ul><p>Scripts are array-like objects with some helper functions.</p>
<pre class="line-numbers language-javascript"><code class="line-numbers language-javascript"><span class="token keyword">var</span> bcoin <span class="token operator">=</span> <span class="token function">require</span><span class="token punctuation">(</span><span class="token string">'bcoin'</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token keyword">var</span> assert <span class="token operator">=</span> <span class="token function">require</span><span class="token punctuation">(</span><span class="token string">'assert'</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token keyword">var</span> BN <span class="token operator">=</span> bcoin<span class="token punctuation">.</span>bn<span class="token punctuation">;</span>

Loading…
Cancel
Save