Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelvanderwaal committed Dec 27, 2023
1 parent bafc99e commit 44c6c43
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 70 deletions.
1 change: 0 additions & 1 deletion docs-src/src/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ It will use this for the mint account instead of creating a new one.
metaboss create fungible -d <decimals> -m <metadata_file> --mint-path <path_to_keypair>
```

```bash

### Metadata

Expand Down
21 changes: 7 additions & 14 deletions docs/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,20 +198,13 @@ <h4 id="vanity-mints"><a class="header" href="#vanity-mints">Vanity Mints</a></h
It will use this for the mint account instead of creating a new one.</p>
<pre><code class="language-bash">metaboss create fungible -d &lt;decimals&gt; -m &lt;metadata_file&gt; --mint-path &lt;path_to_keypair&gt;
</code></pre>
<pre><code class="language-bash">
### Metadata

Decorate an existing SPL token mint with metadata.

#### Usage

Specify the token decimals and path to a metadata file that contains the `name`, `symbol` and `uri` fields in a JSON format.

E.g. (Note the snake_case field name):

// crab.json
```json
{
<h3 id="metadata"><a class="header" href="#metadata">Metadata</a></h3>
<p>Decorate an existing SPL token mint with metadata.</p>
<h4 id="usage-1"><a class="header" href="#usage-1">Usage</a></h4>
<p>Specify the token decimals and path to a metadata file that contains the <code>name</code>, <code>symbol</code> and <code>uri</code> fields in a JSON format.</p>
<p>E.g. (Note the snake_case field name):</p>
<p>// crab.json</p>
<pre><code class="language-json">{
&quot;name&quot;: &quot;Crabbie&quot;,
&quot;symbol&quot;: &quot;CRAB&quot;,
&quot;uri&quot;: &quot;https://arweave.net/KZDlKw8aCG4kfZtj9Qmh8tmYpH4Q287P_jmUtkl2s-k&quot;
Expand Down
Loading

0 comments on commit 44c6c43

Please sign in to comment.