Skip to content

Conversation

@DanGould
Copy link
Collaborator

@DanGould DanGould commented Dec 4, 2022

Change interface to accept a bip21 PjUri as defined in bip78. Only use address from the bip21 Uri, still pass amount in as a separate argument to send_sats.

I think the design choices to consider are mostly around passing how we'd like to pass the bip21 from send_sats. Where is the web interface that uses this?

The other question is whether or not to finalize and broadcast the original_psbt in the case of an unresponsive pj endpoint.

This was my first time handling errors in rust with anyhow. Wow, much ease!

May I please have some testnet sats tb1pn4g2sjt0qw9t43lj28quhnajs064n8frzalqjqueuvcas4h6hxlsau59qd ? I can't find a faucet to pay a bitmask taproot address. so futuristic.

You can get a bip21 receiver for this payjoin sender at https://testnet.demo.btcpayserver.org/login to test on testnet

Change interface to accept a bip21 PjUri as defined in bip78.
Only use address from the bip21 Uri, still pass amount in as a separate
argument to send_sats.
Copy link
Member

@cryptoquick cryptoquick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, nice! Just one change requested. I'm also going to see if I can write an automated test for this.

base64 = { package = "base64-compat", version = "1.0" }
bech32 = "0.9"
bip39 = "1.0"
bip78 = { git = "https://github.com/dangould/rust-payjoin", rev = "8d9b7d6", features = ["sender" ] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this to be published in order to publish our crate.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

certainly

@DanGould
Copy link
Collaborator Author

Were you able to smoke test a payjoin on testnet?

@DanGould DanGould closed this Dec 29, 2022
@DanGould DanGould deleted the payjoin branch December 29, 2022 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants