Skip to content

Commit

Permalink
update sign docs for --v2 usage
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelvanderwaal committed Dec 30, 2021
1 parent 4f546db commit 9a811b9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,14 @@ <h3 id="sign-all"><a class="header" href="#sign-all">Sign All</a></h3>
<h4 id="usage-7"><a class="header" href="#usage-7">Usage</a></h4>
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;CANDY_MACHINE_ID&gt;
</code></pre>
<p><strong>For candy machine v2, you can add the <code>--v2</code> option when using it with candy machine id.</strong>
Candy machine v2 has a separate creator id from the candy machine account id. </p>
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;CANDY_MACHINE_ID&gt; --v2
</code></pre>
<p>or you can use the candy machine creator id which will be the first creator in the creators array.</p>
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;FIRST_CREATOR&gt;
</code></pre>
<p>With a mint acconts JSON list:</p>
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --mint-accounts-file &lt;PATH_TO_MINT_ACCOUNTS_FILE&gt;
</code></pre>
<p>For the latter usage, the mint accounts file should be a JSON file with a list of mint accounts to be signed:</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions docs/sign.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,14 @@ <h3 id="sign-all"><a class="header" href="#sign-all">Sign All</a></h3>
<h4 id="usage-1"><a class="header" href="#usage-1">Usage</a></h4>
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;CANDY_MACHINE_ID&gt;
</code></pre>
<p><strong>For candy machine v2, you can add the <code>--v2</code> option when using it with candy machine id.</strong>
Candy machine v2 has a separate creator id from the candy machine account id. </p>
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;CANDY_MACHINE_ID&gt; --v2
</code></pre>
<p>or you can use the candy machine creator id which will be the first creator in the creators array.</p>
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;FIRST_CREATOR&gt;
</code></pre>
<p>With a mint acconts JSON list:</p>
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --mint-accounts-file &lt;PATH_TO_MINT_ACCOUNTS_FILE&gt;
</code></pre>
<p>For the latter usage, the mint accounts file should be a JSON file with a list of mint accounts to be signed:</p>
Expand Down

0 comments on commit 9a811b9

Please sign in to comment.