From 26a85d87ef4c307d9c23c5210cf3e476dcf3031a Mon Sep 17 00:00:00 2001 From: Eloc <42568538+elocremarc@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:57:22 -0700 Subject: [PATCH] Update guide with parent-child and json API (#2429) --- docs/src/guides/explorer.md | 4 ++++ docs/src/guides/inscriptions.md | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/docs/src/guides/explorer.md b/docs/src/guides/explorer.md index 94799a71e7..02ad36b299 100644 --- a/docs/src/guides/explorer.md +++ b/docs/src/guides/explorer.md @@ -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 ...` diff --git a/docs/src/guides/inscriptions.md b/docs/src/guides/inscriptions.md index 4e2f0176e4..6ba2187b24 100644 --- a/docs/src/guides/inscriptions.md +++ b/docs/src/guides/inscriptions.md @@ -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 `` from the output of `ord wallet inscriptions` + +``` +ord wallet inscribe --fee-rate FEE_RATE --parent CHILD_FILE" +``` + And when you visit [the ordinals explorer](https://ordinals.com/) at `ordinals.com/inscription/INSCRIPTION_ID`.