Batch Inscribing

Multiple inscriptions can be created inscriptions at the same time using the pointer field. This is especially helpful for collections, or other cases when multiple inscriptions should share the same parent, since the parent can passed into a reveal transaction that creates multiple children.

To create a batch inscription using a batchfile in batch.yaml, run the following command:

RatsPro wallet inscribe --fee-rate 21 --batch batch.yaml

Example batch.yaml

# example batch file

# there are two modes:
# - `separate-outputs`: place all inscriptions in separate postage-sized outputs
# - `shared-output`: place inscriptions in a single output separated by postage
mode: separate-outputs

# parent inscription:
parent: 6ac5cacb768794f4fd7a78bf00f2074891fce68bd65c4ff36e77177237aacacai0

# postage for each inscription:
postage: 12345

# inscriptions to inscribe
#
# each inscription has the following fields:
#
# `inscription`: path to inscription contents
# `metadata`: inscription metadata (optional)
# `metaprotocol`: inscription metaprotocol (optional)
inscriptions:
  - file: mango.avif
    metadata:
      title: Delicious Mangos
      description: >
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam semper,
        ligula ornare laoreet tincidunt, odio nisi euismod tortor, vel blandit
        metus est et odio. Nullam venenatis, urna et molestie vestibulum, orci
        mi efficitur risus, eu malesuada diam lorem sed velit. Nam fermentum
        dolor et luctus euismod.
    destination: bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4

  - file: token.json
    metaprotocol: brc-20

  - file: tulip.png
    metadata:
      author: Satoshi Nakamoto
    destination: bc1pdqrcrxa8vx6gy75mfdfj84puhxffh4fq46h3gkp6jxdd0vjcsdyspfxcv6

Last updated