Skip to content

Commit 584cfb4

Browse files
committed
deploy: 95b2764
1 parent b1bc545 commit 584cfb4

File tree

10 files changed

+147
-7
lines changed

10 files changed

+147
-7
lines changed

07/index.html

+17
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,15 @@
659659
</span>
660660
</a>
661661

662+
</li>
663+
664+
<li class="md-nav__item">
665+
<a href="#mint-info-setting" class="md-nav__link">
666+
<span class="md-ellipsis">
667+
Mint info setting
668+
</span>
669+
</a>
670+
662671
</li>
663672

664673
</ul>
@@ -986,6 +995,14 @@ <h2 id="example">Example<a class="headerlink" href="#example" title="Permanent l
986995
</code></pre></div>
987996

988997
<p>Where <code>Y</code> belongs to the provided <code>Proof</code> to check in the request, <code>state</code> indicates its state, and <code>witness</code> is the witness data that was potentially provided in a previous spend operation (can be empty).</p>
998+
<h2 id="mint-info-setting">Mint info setting<a class="headerlink" href="#mint-info-setting" title="Permanent link">&para;</a></h2>
999+
<p>The <a href="../06/">NUT-06</a> <code>MintMethodSetting</code> indicates support for this feature:</p>
1000+
<div class="codehilite"><pre><span></span><code><span class="p">{</span>
1001+
<span class="w"> </span><span class="nt">&quot;7&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
1002+
<span class="w"> </span><span class="nt">&quot;supported&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span>
1003+
<span class="w"> </span><span class="p">}</span>
1004+
<span class="p">}</span>
1005+
</code></pre></div>
9891006

9901007

9911008

08/index.html

+17
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,15 @@
683683
</span>
684684
</a>
685685

686+
</li>
687+
688+
<li class="md-nav__item">
689+
<a href="#mint-info-setting" class="md-nav__link">
690+
<span class="md-ellipsis">
691+
Mint info setting
692+
</span>
693+
</a>
694+
686695
</li>
687696

688697
</ul>
@@ -1014,6 +1023,14 @@ <h2 id="example_2">Example<a class="headerlink" href="#example_2" title="Permane
10141023
</code></pre></div>
10151024

10161025
<p>The field <code>change</code> is an array of <code>BlindSignatures</code> that account for the overpaid fees. Notice that the amount has been changed by the mint. <code>Alice</code> must take these and generate <code>Proofs</code> by unblinding them as described in <a href="../00/">NUT-00</a> and as she does in <a href="../04/">NUT-04</a> when minting new tokens. After generating the <code>Proofs</code>, <code>Alice</code> stores them in her database.</p>
1026+
<h2 id="mint-info-setting">Mint info setting<a class="headerlink" href="#mint-info-setting" title="Permanent link">&para;</a></h2>
1027+
<p>The <a href="../06/">NUT-06</a> <code>MintMethodSetting</code> indicates support for this feature:</p>
1028+
<div class="codehilite"><pre><span></span><code><span class="p">{</span>
1029+
<span class="w"> </span><span class="nt">&quot;8&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
1030+
<span class="w"> </span><span class="nt">&quot;supported&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span>
1031+
<span class="w"> </span><span class="p">}</span>
1032+
<span class="p">}</span>
1033+
</code></pre></div>
10171034

10181035

10191036

09/index.html

+47
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,17 @@
616616

617617

618618

619+
<label class="md-nav__link md-nav__link--active" for="__toc">
620+
621+
622+
<span class="md-ellipsis">
623+
NUT-09
624+
</span>
625+
626+
627+
<span class="md-nav__icon md-icon"></span>
628+
</label>
629+
619630
<a href="./" class="md-nav__link md-nav__link--active">
620631

621632

@@ -626,6 +637,34 @@
626637

627638
</a>
628639

640+
641+
642+
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
643+
644+
645+
646+
647+
648+
649+
<label class="md-nav__title" for="__toc">
650+
<span class="md-nav__icon md-icon"></span>
651+
Table of contents
652+
</label>
653+
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
654+
655+
<li class="md-nav__item">
656+
<a href="#mint-info-setting" class="md-nav__link">
657+
<span class="md-ellipsis">
658+
Mint info setting
659+
</span>
660+
</a>
661+
662+
</li>
663+
664+
</ul>
665+
666+
</nav>
667+
629668
</li>
630669

631670

@@ -857,6 +896,14 @@ <h1 id="nut-09-restore-signatures">NUT-09: Restore signatures<a class="headerlin
857896
</code></pre></div>
858897

859898
<p>The returned arrays <code>outputs</code> and <code>signatures</code> are of the same length and for every entry <code>outputs[i]</code>, there is a corresponding entry <code>signatures[i]</code>.</p>
899+
<h2 id="mint-info-setting">Mint info setting<a class="headerlink" href="#mint-info-setting" title="Permanent link">&para;</a></h2>
900+
<p>The [NUT-06][06] <code>MintMethodSetting</code> indicates support for this feature:</p>
901+
<div class="codehilite"><pre><span></span><code><span class="p">{</span>
902+
<span class="w"> </span><span class="nt">&quot;9&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
903+
<span class="w"> </span><span class="nt">&quot;supported&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span>
904+
<span class="w"> </span><span class="p">}</span>
905+
<span class="p">}</span>
906+
</code></pre></div>
860907

861908

862909

10/index.html

+17
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,15 @@
698698
</span>
699699
</a>
700700

701+
</li>
702+
703+
<li class="md-nav__item">
704+
<a href="#mint-info-setting" class="md-nav__link">
705+
<span class="md-ellipsis">
706+
Mint info setting
707+
</span>
708+
</a>
709+
701710
</li>
702711

703712
</ul>
@@ -932,6 +941,14 @@ <h2 id="examples">Examples<a class="headerlink" href="#examples" title="Permanen
932941
<li><a href="../11/">NUT-11</a>: Pay-to-Public-Key (P2PK)</li>
933942
<li>[NUT-14][14]: Hashed Timelock Contracts (HTLCs)</li>
934943
</ul>
944+
<h2 id="mint-info-setting">Mint info setting<a class="headerlink" href="#mint-info-setting" title="Permanent link">&para;</a></h2>
945+
<p>The <a href="../06/">NUT-06</a> <code>MintMethodSetting</code> indicates support for this feature:</p>
946+
<div class="codehilite"><pre><span></span><code><span class="p">{</span>
947+
<span class="w"> </span><span class="nt">&quot;10&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
948+
<span class="w"> </span><span class="nt">&quot;supported&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span>
949+
<span class="w"> </span><span class="p">}</span>
950+
<span class="p">}</span>
951+
</code></pre></div>
935952

936953

937954

11/index.html

+17
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,15 @@
833833
</span>
834834
</a>
835835

836+
</li>
837+
838+
<li class="md-nav__item">
839+
<a href="#mint-info-setting" class="md-nav__link">
840+
<span class="md-ellipsis">
841+
Mint info setting
842+
</span>
843+
</a>
844+
836845
</li>
837846

838847
</ul>
@@ -1129,6 +1138,14 @@ <h2 id="use-cases">Use cases<a class="headerlink" href="#use-cases" title="Perma
11291138
<li>Ecash that is owned by multiple people via the multisignature abilities</li>
11301139
<li>Atomic swaps when used in combination with the locktime feature</li>
11311140
</ul>
1141+
<h2 id="mint-info-setting">Mint info setting<a class="headerlink" href="#mint-info-setting" title="Permanent link">&para;</a></h2>
1142+
<p>The <a href="../06/">NUT-06</a> <code>MintMethodSetting</code> indicates support for this feature:</p>
1143+
<div class="codehilite"><pre><span></span><code><span class="p">{</span>
1144+
<span class="w"> </span><span class="nt">&quot;11&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
1145+
<span class="w"> </span><span class="nt">&quot;supported&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span>
1146+
<span class="w"> </span><span class="p">}</span>
1147+
<span class="p">}</span>
1148+
</code></pre></div>
11321149

11331150

11341151

12/index.html

+8
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,14 @@ <h2 id="carol-another-user-verifies-dleq-proof">Carol (another user) verifies DL
933933
</code></pre></div>
934934

935935
<p>If a DLEQ proof is included in a received token, wallets <strong>MUST</strong> verify the proof.</p>
936+
<h2 id="mint-info-setting">Mint info setting<a class="headerlink" href="#mint-info-setting" title="Permanent link">&para;</a></h2>
937+
<p>The <a href="../06/">NUT-06</a> <code>MintMethodSetting</code> indicates support for this feature:</p>
938+
<div class="codehilite"><pre><span></span><code><span class="p">{</span>
939+
<span class="w"> </span><span class="nt">&quot;12&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
940+
<span class="w"> </span><span class="nt">&quot;supported&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span>
941+
<span class="w"> </span><span class="p">}</span>
942+
<span class="p">}</span>
943+
</code></pre></div>
936944

937945

938946

14/index.html

+17
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,15 @@
779779
</ul>
780780
</nav>
781781

782+
</li>
783+
784+
<li class="md-nav__item">
785+
<a href="#mint-info-setting" class="md-nav__link">
786+
<span class="md-ellipsis">
787+
Mint info setting
788+
</span>
789+
</a>
790+
782791
</li>
783792

784793
</ul>
@@ -929,6 +938,14 @@ <h5 id="witness-format">Witness format<a class="headerlink" href="#witness-forma
929938
</code></pre></div>
930939

931940
<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>
941+
<h2 id="mint-info-setting">Mint info setting<a class="headerlink" href="#mint-info-setting" title="Permanent link">&para;</a></h2>
942+
<p>The <a href="../06/">NUT-06</a> <code>MintMethodSetting</code> indicates support for this feature:</p>
943+
<div class="codehilite"><pre><span></span><code><span class="p">{</span>
944+
<span class="w"> </span><span class="nt">&quot;14&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
945+
<span class="w"> </span><span class="nt">&quot;supported&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span>
946+
<span class="w"> </span><span class="p">}</span>
947+
<span class="p">}</span>
948+
</code></pre></div>
932949

933950

934951

15/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -797,9 +797,9 @@
797797
</li>
798798

799799
<li class="md-nav__item">
800-
<a href="#settings" class="md-nav__link">
800+
<a href="#mint-info-setting" class="md-nav__link">
801801
<span class="md-ellipsis">
802-
Settings
802+
Mint info setting
803803
</span>
804804
</a>
805805

@@ -915,7 +915,7 @@ <h2 id="melt-quote">Melt quote<a class="headerlink" href="#melt-quote" title="Pe
915915
</code></pre></div>
916916

917917
<p>Here, <code>request</code> is the bolt11 Lightning invoice to be paid, <code>unit</code> is the unit the wallet would like to pay with, and <code>amount</code> is the amount for the requested payment. The wallet then pays the returned melt quote the same way as in <a href="../05/">NUT-05</a>.</p>
918-
<h2 id="settings">Settings<a class="headerlink" href="#settings" title="Permanent link">&para;</a></h2>
918+
<h2 id="mint-info-setting">Mint info setting<a class="headerlink" href="#mint-info-setting" title="Permanent link">&para;</a></h2>
919919
<p>The settings returned in the info endpoint (<a href="../06/">NUT-06</a>) indicate that a mint supports this NUT. The mint MUST indicate each <code>method</code> and <code>unit</code> that supports <code>mpp</code>. It can indicate this in an array of objects for multiple <code>method</code> and <code>unit</code> pairs and the boolean flag <code>mpp</code> set to <code>true</code>.</p>
920920
<p><code>MultipathPaymentSetting</code> is of the form:</p>
921921
<div class="codehilite"><pre><span></span><code><span class="p">{</span>

17/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -912,9 +912,9 @@
912912
</li>
913913

914914
<li class="md-nav__item">
915-
<a href="#signaling-support-via-nut-06" class="md-nav__link">
915+
<a href="#mint-info-setting" class="md-nav__link">
916916
<span class="md-ellipsis">
917-
Signaling Support via NUT-06
917+
Mint info setting
918918
</span>
919919
</a>
920920

@@ -1133,7 +1133,7 @@ <h3 id="example-proofstate-subscription">Example: <code>ProofState</code> subscr
11331133
<span class="p">}</span>
11341134
</code></pre></div>
11351135

1136-
<h2 id="signaling-support-via-nut-06">Signaling Support via NUT-06<a class="headerlink" href="#signaling-support-via-nut-06" title="Permanent link">&para;</a></h2>
1136+
<h2 id="mint-info-setting">Mint info setting<a class="headerlink" href="#mint-info-setting" title="Permanent link">&para;</a></h2>
11371137
<p>Mints signal websocket support via <a href="../06/">NUT-06</a> using the following setting:</p>
11381138
<div class="codehilite"><pre><span></span><code><span class="nt">&quot;nuts&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
11391139
<span class="w"> </span><span class="nt">&quot;17&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>

search/search_index.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)