atomicals-js icon indicating copy to clipboard operation
atomicals-js copied to clipboard

How to get bitcoin back from a reveal failed address?

Open yvvw opened this issue 1 year ago • 3 comments

I used the atomicals-js CLI to mint a container item, but the RPC server went down, causing the command run fail. I have already topped up the funding address and the funding address sent the commit transaction successfully, but the reveal address has not sent the reveal transaction, so the bitcoin remains in the reveal address. How can I retrieve the bitcoin in this situation? Thank you.

image

I can write some simple js script like this, but I don't know the specific details. The following code is something I found from a source. It looks like reveal address requires a script tree but i don't know how to construct..

image

yvvw avatar Dec 01 '23 19:12 yvvw