forked from ordinals/ord
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document split command (ordinals#4062)
- Loading branch information
Showing
2 changed files
with
27 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
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,26 @@ | ||
Splitting | ||
========= | ||
|
||
Complex transactions can be created using the `ord wallet split` command. | ||
|
||
The `split` command takes a YAML configuration file, which specifies any number | ||
of outputs to be created, their bitcoin value, and their value of any number of | ||
runes. It does not currently allow assigning inscriptions to outputs. | ||
|
||
The `split` command can be used to split cardinal, bitcoin-only outputs for | ||
transacting, distribute runes to large numbers of recipients in a single | ||
transaction. | ||
|
||
To send a split transaction using the configuration in `splits.yaml`, run the | ||
following command: | ||
|
||
```bash | ||
ord wallet split --fee-rate 21 --splits split.yaml | ||
``` | ||
|
||
Example `splits.yaml` | ||
--------------------` | ||
|
||
```yaml | ||
{{#include ../../../splits.yaml}} | ||
``` |