Skip to content

Commit

Permalink
deploy: d69242f
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Oct 29, 2024
1 parent 7c7992c commit a065b2f
Show file tree
Hide file tree
Showing 32 changed files with 66 additions and 62 deletions.
2 changes: 1 addition & 1 deletion 00/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 01/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 02/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 03/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 04/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 05/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 06/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
9 changes: 5 additions & 4 deletions 07/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down Expand Up @@ -915,7 +915,7 @@

<h1 id="nut-07-token-state-check">NUT-07: Token state check<a class="headerlink" href="#nut-07-token-state-check" title="Permanent link">&para;</a></h1>
<p><code>optional</code></p>
<p><code>used in: NUT-17</code></p>
<p><code>used in: NUT-17, NUT-11, NUT-14</code></p>
<hr />
<p>With the token state check, wallets can ask the mint whether a specific proof is already spent and whether it is in-flight in a transaction. Wallets can also request the witness data that was used to spend a proof.</p>
<h3 id="token-states">Token states<a class="headerlink" href="#token-states" title="Permanent link">&para;</a></h3>
Expand Down Expand Up @@ -945,7 +945,7 @@ <h2 id="example">Example<a class="headerlink" href="#example" title="Permanent l

<p>Where the elements of the array in <code>Ys</code> are the hexadecimal representation of the compressed point <code>Y = hash_to_curve(secret)</code> of the <code>Proof</code> to check (see <a href="../00/">NUT-00</a>).</p>
<p><strong>Response</strong> of <code>Bob</code>:</p>
<p><code>Bob</code> will respond with a <code>PostCheckStateResponse</code></p>
<p><code>Bob</code> responds with a <code>PostCheckStateResponse</code>:</p>
<div class="codehilite"><pre><span></span><code><span class="p">{</span>
<span class="w"> </span><span class="nt">&quot;states&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span>
<span class="w"> </span><span class="p">{</span>
Expand All @@ -958,10 +958,11 @@ <h2 id="example">Example<a class="headerlink" href="#example" title="Permanent l
<span class="p">}</span>
</code></pre></div>

<p>The elements of the <code>states</code> array MUST be returned in the same order as the corresponding <code>Ys</code> checked in the request.</p>
<ul>
<li><code>Y</code> corresponds to the <code>Proof</code> checked in the request.</li>
<li><code>state</code> is an enum string field with possible values <code>"UNSPENT"</code>, <code>"PENDING"</code>, <code>"SPENT"</code></li>
<li><code>witness</code> is the serialized witness data that was used to spend the <code>Proof</code> if the token required it such as in the case of P2PK (see <a href="../11/">NUT-11</a>).</li>
<li><code>witness</code> is the serialized witness data that was used to spend the <code>Proof</code> if the token has a <a href="../10/">NUT-10</a> spending condition that requires a witness such as in the case of P2PK (<a href="../11/">NUT-11</a>) or HTLCs (<a href="../14/">NUT-14</a>).</li>
</ul>
<p>With curl:</p>
<p><strong>Request</strong> of <code>Alice</code>:</p>
Expand Down
2 changes: 1 addition & 1 deletion 08/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 09/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
3 changes: 2 additions & 1 deletion 10/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down Expand Up @@ -930,6 +930,7 @@ <h2 id="examples">Examples<a class="headerlink" href="#examples" title="Permanen
<p>Example use cases of this secret format are</p>
<ul>
<li><a href="../11/">NUT-11</a>: Pay-to-Public-Key (P2PK)</li>
<li>[NUT-14][14]: Hashed Timelock Contracts (HTLCs)</li>
</ul>


Expand Down
4 changes: 2 additions & 2 deletions 11/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down Expand Up @@ -1087,7 +1087,7 @@ <h5 id="witness-format">Witness format<a class="headerlink" href="#witness-forma
<span class="p">}</span>
</code></pre></div>

<p>The <code>signatures</code> are an array of signatures in hex.</p>
<p>The <code>signatures</code> are an array of signatures in hex. The witness for a spent proof can be obtained with a <code>Proof</code> state check (see <a href="../07/">NUT-07</a>).</p>
<h3 id="multisig">Multisig<a class="headerlink" href="#multisig" title="Permanent link">&para;</a></h3>
<p>If the tag <code>n_sigs</code> is a positive integer, the mint will also consider signatures from public keys specified in the <code>pubkeys</code> tag additional to the public key in <code>Secret.data</code>. If the number of valid signatures is greater or equal to the number specified in <code>n_sigs</code>, the transaction is valid.</p>
<p>Expressed as an "n-of-m" scheme, <code>n = n_sigs</code> is the number of required signatures and <code>m = 1 ("data" field) + len(pubkeys tag)</code> is the number of public keys that could sign.</p>
Expand Down
2 changes: 1 addition & 1 deletion 12/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 13/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
4 changes: 3 additions & 1 deletion 14/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down Expand Up @@ -928,6 +928,8 @@ <h5 id="witness-format">Witness format<a class="headerlink" href="#witness-forma
<span class="p">}</span>
</code></pre></div>

<p>The witness for a spent proof can be obtained with a <code>Proof</code> state check (see <a href="../07/">NUT-07</a>).</p>




Expand Down
2 changes: 1 addition & 1 deletion 15/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 16/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 17/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 18/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


<link rel="icon" href="/nuts/assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion error_codes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.41">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.42">



Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,114 +2,114 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://cashubtc.github.io/nuts/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/00/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/01/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/02/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/03/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/04/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/05/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/06/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/07/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/08/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/09/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/10/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/11/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/12/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/13/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/14/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/15/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/16/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/17/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/18/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/error_codes/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/tests/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/tests/00-tests/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/tests/01-tests/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/tests/02-tests/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/tests/11-test/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/tests/12-tests/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
<url>
<loc>https://cashubtc.github.io/nuts/tests/13-tests/</loc>
<lastmod>2024-10-18</lastmod>
<lastmod>2024-10-29</lastmod>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.
Loading

0 comments on commit a065b2f

Please sign in to comment.