Skip to content

Commit 9a811b9

Browse files
update sign docs for --v2 usage
1 parent 4f546db commit 9a811b9

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

docs/print.html

+8
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,14 @@ <h3 id="sign-all"><a class="header" href="#sign-all">Sign All</a></h3>
383383
<h4 id="usage-7"><a class="header" href="#usage-7">Usage</a></h4>
384384
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;CANDY_MACHINE_ID&gt;
385385
</code></pre>
386+
<p><strong>For candy machine v2, you can add the <code>--v2</code> option when using it with candy machine id.</strong>
387+
Candy machine v2 has a separate creator id from the candy machine account id. </p>
388+
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;CANDY_MACHINE_ID&gt; --v2
389+
</code></pre>
390+
<p>or you can use the candy machine creator id which will be the first creator in the creators array.</p>
391+
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;FIRST_CREATOR&gt;
392+
</code></pre>
393+
<p>With a mint acconts JSON list:</p>
386394
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --mint-accounts-file &lt;PATH_TO_MINT_ACCOUNTS_FILE&gt;
387395
</code></pre>
388396
<p>For the latter usage, the mint accounts file should be a JSON file with a list of mint accounts to be signed:</p>

docs/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/sign.html

+8
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,14 @@ <h3 id="sign-all"><a class="header" href="#sign-all">Sign All</a></h3>
156156
<h4 id="usage-1"><a class="header" href="#usage-1">Usage</a></h4>
157157
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;CANDY_MACHINE_ID&gt;
158158
</code></pre>
159+
<p><strong>For candy machine v2, you can add the <code>--v2</code> option when using it with candy machine id.</strong>
160+
Candy machine v2 has a separate creator id from the candy machine account id. </p>
161+
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;CANDY_MACHINE_ID&gt; --v2
162+
</code></pre>
163+
<p>or you can use the candy machine creator id which will be the first creator in the creators array.</p>
164+
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --candy-machine-id &lt;FIRST_CREATOR&gt;
165+
</code></pre>
166+
<p>With a mint acconts JSON list:</p>
159167
<pre><code class="language-bash">metaboss sign all --keypair &lt;PATH_TO_KEYPAIR&gt; --mint-accounts-file &lt;PATH_TO_MINT_ACCOUNTS_FILE&gt;
160168
</code></pre>
161169
<p>For the latter usage, the mint accounts file should be a JSON file with a list of mint accounts to be signed:</p>

0 commit comments

Comments
 (0)