<div dir="auto">Note that a number of wallet companies are now supporting the UR encoded version of PSBTs, allowing for better QR & Airgap solutions, and also leverage CBOR which is an IETF standard.</div><div dir="auto"><br></div><div dir="auto">We have a community of Airgap wallet developers at <div><a href="https://github.com/BlockchainCommons/Airgapped-Wallet-Community">https://github.com/BlockchainCommons/Airgapped-Wallet-Community</a></div><div dir="auto"><br></div><div dir="auto">…and libraries at <div><a href="https://github.com/BlockchainCommons/crypto-commons#urs">https://github.com/BlockchainCommons/crypto-commons#urs</a></div><div dir="auto"><br></div><div dir="auto">We’d love for you to register UR as well, maybe as bitcoin/psbt+ur</div><div dir="auto"><br></div><div dir="auto">Can you bring this up in our community for further discussion? <div><a href="https://github.com/BlockchainCommons/Airgapped-Wallet-Community/discussions">https://github.com/BlockchainCommons/Airgapped-Wallet-Community/discussions</a></div><div dir="auto"><br></div><div dir="auto">Thanks!</div></div></div></div><div dir="auto"><br></div><div dir="auto">— Christopher Allen [via iPhone] </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 31, 2021 at 11:41 AM Peter D. Gray via bitcoin-dev <<a href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hi list!<br>
<br>
I am proposing to register the following MIME (RFC 2046) media types with the IANA:<br>
<br>
<br>
bitcoin/psbt<br>
<br>
    - aka. a BIP-174 file, in binary<br>
    - does not make any claims about signed/unsigned status; lets leave that to the file<br>
<br>
bitcoin/txn<br>
<br>
    - aka. wire-ready fully-signed transaction in binary<br>
<br>
bitcoin/uri<br>
<br>
    - aka [BIP-21](<a href="https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki" rel="noreferrer" target="_blank">https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki</a>)<br>
    - could be just a bare bech32 or base58 payment address<br>
    - but can also encode amount, comments in URL args<br>
    - potentially interesting as a response to 402 - Payment required<br>
<br>
<br>
Other thoughts<br>
<br>
- some mime-types are proposed in BIP-71 but those are unrelated to above, and never<br>
  seem to have been registered<br>
<br>
- for those who like to encode their binary as base64 or hex, that can be indicated<br>
  as "encoding=hex" or "encoding=base64" in the optional parameters, just like<br>
  "text/plain; encoding=utf-8" does. However, the default must be binary.<br>
<br>
- although the above are useful for web servers, they are also useful elsewhere and I<br>
  intend to use them in NFC (NDEF records) where a shorter length is critical.<br>
<br>
- I have no idea how easily IANA will accept these proposals.<br>
<br>
- current approved mime types: <a href="https://www.iana.org/assignments/media-types/media-types.xhtml" rel="noreferrer" target="_blank">https://www.iana.org/assignments/media-types/media-types.xhtml</a><br>
<br>
Thoughts?<br>
<br>
---<br>
@DocHEX  ||  Coinkite  ||  PGP: A3A31BAD 5A2A5B10<br>
<br>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href="mailto:bitcoin-dev@lists.linuxfoundation.org" target="_blank">bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" rel="noreferrer" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a><br>
</blockquote></div></div>