-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
User story:
User signs with their wallet a transaction that sends the inscription id and a payment amount to fund the direct inscription costs produced by the /inscribe
endpoint with parent/child enabled. The sending of the parent and the paying of the inscription fees happens in a single transaction to optimize the costs.
Requirements:
- create new method that takes inscription ids, bitcoin payment amount and receive addresses for inscriptions and btc amount
- connect to the browser wallet: xverse, leather, etc.
- verify the inscription id is inside
- verify that the user has the requested amount of btc
- build a transaction that sends the BTC amount as the first output and the inscription as the second
- sign with wallet
- broadcast tx
- method has to be flexible such that we can send multiple inscription ids at once.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request