Skip to content

Commit

Permalink
Update guide with parent-child and json API (ordinals#2429)
Browse files Browse the repository at this point in the history
  • Loading branch information
elocremarc authored Sep 19, 2023
1 parent c6deb46 commit e98af0a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/guides/explorer.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ To specify a port add the `--http-port` flag:

`ord server --http-port 8080`

To enable the JSON-API endpoints add the `--enable-json-api` or `-e` flag:

`ord --enable-json-api server`

To test how your inscriptions will look you can run:

`ord preview <FILE1> <FILE2> ...`
Expand Down
11 changes: 11 additions & 0 deletions docs/src/guides/inscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,17 @@ printed when you run:
ord wallet inscriptions
```

Parent Child Inscriptions
---------------------

A child inscription is an inscription that is a child of another inscription. See [provenance](../inscriptions/provenance.md) for more information.

get the parent inscription id `<PARENT_INSCRIPTION_ID>` from the output of `ord wallet inscriptions`

```
ord wallet inscribe --fee-rate FEE_RATE --parent <PARENT_INSCRIPTION_ID> CHILD_FILE"
```

And when you visit [the ordinals explorer](https://ordinals.com/) at
`ordinals.com/inscription/INSCRIPTION_ID`.

Expand Down

0 comments on commit e98af0a

Please sign in to comment.