atomicals-js
atomicals-js copied to clipboard
How to get bitcoin back from a reveal failed address?
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.
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..