Contents
Creating a DeMi Order
Just a Single Output is Required
Lovelace must be enough to cover the price of the Handle plus network fees/minUTxO
- Handle prices can be found at handle.me FAQ or in the datum of the UTxO that has the `$kora@handle_prices` Handle
- Network fees and minUTxO are approximately 6 ADA
It must be output to the current orders script address
- This can be retrieved from our API - https://api.handle.me/scripts?type=demi_orders&latest=trueIt must contain inline datum in the following format:
- This should have CBOR notation format similar to:pub type OrderDatum { owner: Data, // payment key hash that placed the order - used to cancel the order requested_handle: ByteArray, // Bytes of the plain Handle name with no asset label destination: Destination, // The destination address of the minted Handle (see below) } pub type Destination { address: Address, }121_0([_ 121_0([_ h'bytes of address payment key hash', ]), h'bytes of requested handle', 121_0([_ 121_0([_ 121_0([_ h'bytes of address payment key hash', ]), 121_0([_ 121_0([_ 121_0([_ h'bytes of address stake key hash', ]), ]), ]), ]), ]), ])