-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add reinscription page to inscriptions doc
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |