Skip to content

Commit

Permalink
add reinscription page to inscriptions doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mj10021 committed Jan 4, 2024
1 parent 09e1e19 commit 7e52906
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/src/inscriptions/reinscription.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Reinscription
=============

Inscribed sats can be reinscribed with a new inscription. This process is essentially the same as inscription, with an additional argument passed for safety.

### Specification

- To perform a reinscription, the `--reinscribe` argument needs to be added to the `ord wallet inscribe` command.

- If `--reinscribe` is passed and the action is not a true reinscription, an error should be thrown.

- If `--reinscribe` is not passes, and the inscription is being performed on sats that have already been inscribed, an error should be thrown.

- The `reinscribe` arg sets a matching boolean flag inside the `Batch` struct, defined in `wallet/inscribe/batch.rs`.


### Example

An example of a reinscription is as follows:

`ord wallet inscribe --fee-rate 8 --reinscribe --file --satpoint c2706892f6124d3cdc10e3d8a6f5a6fbd122cb3449c78e404ef13b6bd6c91965:0:0`

This is only valid id the provided sat is already inscribed.

0 comments on commit 7e52906

Please sign in to comment.