Git Product home page Git Product logo

Comments (19)

robotgray avatar robotgray commented on July 25, 2024 1

Ok so when I run the command in the console - I get this output

{
  "psbt": "",
  "complete": false
}

After pasting the psbt back into openordex - I receive the error Please sign and finalize the PSBT before submitting it

from openordex.

orenyomtov avatar orenyomtov commented on July 25, 2024 1

@nybe If you build sparrow wallet from source - it will work
They fixed the bug here:
sparrowwallet/sparrow#836

But haven't released a new version since (latest version is 1.7.2)

from openordex.

orenyomtov avatar orenyomtov commented on July 25, 2024

Thanks for the issue.

You're right, Bitcoin Core actually doesn't support signing a PSBT with non-default sighash flags (like we need for our use-case of listing an ordinal for sale)

The workaround is to use the console window for signing that PSBT by going to Window->Console (Ctrl-I):
image

And in there, executing the command:

walletprocesspsbt "PSBT_GOES_HERE" true "SINGLE|ANYONECANPAY"

(and replacing PSBT_GOES_HERE with the PSBT copied from openordex)

P.S.
I believe this workaround is not necessary for the step of buying a listed ordinal

from openordex.

robotgray avatar robotgray commented on July 25, 2024

Ah nice! I missed the pipe between SINGLE | ANYONECANPAY

Also tried the same thing with sparrow, it didnt seem to like it when I pasted that psbt.

from openordex.

orenyomtov avatar orenyomtov commented on July 25, 2024

Yeah I filed a bug report about that for sparrow and they had it fixed
sparrowwallet/sparrow#836

Now when building from source it signs, but produces an invalid TX

I need to open a new issue there

from openordex.

nybe avatar nybe commented on July 25, 2024

total layman so bear with me if I haven't posted this here properly... tried loading the copied PSBT text into "open transaction" in sparrow wallet and nothing happens. I downloaded the PSBT and tried opening it as a file and i get:
Screenshot 2023-02-22 at 2 04 37 PM

from openordex.

nybe avatar nybe commented on July 25, 2024

thanks for the suggestion @orenyomtov, got it working

@nybe If you build sparrow wallet from source - it will work They fixed the bug here: sparrowwallet/sparrow#836

But haven't released a new version since (latest version is 1.7.2)

from openordex.

nybe avatar nybe commented on July 25, 2024

spoke too soon, trying to list another ordinal on your site and (java) Sparrow wallet is again not accepting the copy/pasted or PSBT file... "invalid file"

from openordex.

orenyomtov avatar orenyomtov commented on July 25, 2024

Which inscription? Does it work on other inscriptions? Can you share the PSBT?

from openordex.

nybe avatar nybe commented on July 25, 2024

sorry I may have jumped the gun, I just now realized that the receive transaction is not fully confirmed in Sparrow wallet...

will try again when confirmed and let you know how it goes

from openordex.

nybe avatar nybe commented on July 25, 2024

from openordex.

orenyomtov avatar orenyomtov commented on July 25, 2024

Is the wallet a taproot wallet? Is there an error? How exactly is it not working? Any logs in the debug log?

from openordex.

nybe avatar nybe commented on July 25, 2024

from openordex.

orenyomtov avatar orenyomtov commented on July 25, 2024

from openordex.

nybe avatar nybe commented on July 25, 2024

from openordex.

orenyomtov avatar orenyomtov commented on July 25, 2024

Thanks!
This last commit should have fixed it:
bcc5bdf

Refresh the page and try again

from openordex.

nybe avatar nybe commented on July 25, 2024

from openordex.

orenyomtov avatar orenyomtov commented on July 25, 2024

Thanks for helping with debugging this.

Can you please provide the signed PSBT/transaction so I can try to reproduce it?

from openordex.

nybe avatar nybe commented on July 25, 2024

from openordex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.