It would be better user experience if the chunking and unchunking of large PSBT data was handled automatically via software instead of manually. Since proof-wallet requires the PSBT_IN_NON_WITNESS_UTXO field for each input, PSBTs can get very large. The Uniform Resources standard from Blockchain Commons should be suitable for this purpose.
Create a feature branch and add foundation-ur-py as a submodule of proof-wallet
Add a new proof-wallet CLI function that can scan a set of QR codes and save the data in a file
Update the sign-psbt function to accept an optional --psbt-filepath argument, decode the binary psbt with URDecoder and encode the base64 psbt using UREncoder befroe writing the QR code files
It would be better user experience if the chunking and unchunking of large PSBT data was handled automatically via software instead of manually. Since proof-wallet requires the
PSBT_IN_NON_WITNESS_UTXO
field for each input, PSBTs can get very large. The Uniform Resources standard from Blockchain Commons should be suitable for this purpose.Steps...
sign-psbt
function to accept an optional--psbt-filepath
argument, decode the binary psbt with URDecoder and encode the base64 psbt using UREncoder befroe writing the QR code files