Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 708941645 for ; Sun, 14 Oct 2018 19:52:38 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id D6B55FD for ; Sun, 14 Oct 2018 19:52:37 +0000 (UTC) Received: by mail-ed1-f51.google.com with SMTP id l14-v6so6934159edq.0 for ; Sun, 14 Oct 2018 12:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=EKOZEnoYoDHOAfASc1oZV4ougL3+P+DuTxa3cSrcTZc=; b=gXhTAxG1kbtrf+kK9O9Sg707ITjCFe2HDUnORNzUmm/+0lE80bQy7H4cePl8ZbYCGc VIbdnSGQRPIiMXf/yTCpt3YHdjn/008svvD6erdE2YOZVaHlN/J1avm33tMUpcNej56o fOX9BXzJi3NX9SwocgS0Mb/wPC9CRTSEZDXQJ2qt4z6Bt65E4e/hT82gLtKW0MbEE+vZ Ruzp044cKhjtz+YkGTAei9McBLM6eHGYxbjv0yoUI+yBe6HLcMYT3or8W+E2PD/Bsz2W jTA0DQSHRkUUlgS93/DizJYC0G+K9YNW8qCFrP8RrI50p5LF9djkhQiAdNjLEg48pWsy f2OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EKOZEnoYoDHOAfASc1oZV4ougL3+P+DuTxa3cSrcTZc=; b=XCzo/Ozt+Vf+Jn+OT4FF+36SHcWD+8FidaQg9QR98PZduK0zBs+GL7pwt3yJ0UK3NO Sd2H9ivb1rlAffB6j5GDX8jiUWfLBJhmwzYZZ0qHqs7w0odFplcE4TSfuee19IjBIpCf pHRyMro2ZhkgJjb9vrm0ob/hdFDSF3MZ3rPOSuf//+z9rTE4F9I62hAuwG4NRAvhjG2J 4dfXsAGCN+qrV78gsCsRPzSvcs6iz8TqQqnIn/Sb22uGkLDVSND+jENW+764zWiTqWrH ZwqHQ+kGzHp9ZVsqYCJ3Dg+vYUZqETow18P4vZniHPlGavisIrxsriLTGPYqj6JuWyp1 Xqbw== X-Gm-Message-State: ABuFfohBpCUc/Ho2eZsObOJOoxIGM4ZbV/YmtJcivdonfS/oJrfATleC lCVrQKh+f6vQQrAO0ofHQhvh8mEN2Kf4pss+bSzaJBQ4 X-Google-Smtp-Source: ACcGV602BWhD+YqUlpBtXpAHY3hUQ8FHuaSY+Pj2QBifojlgl1kqtokK7LngygVs55fyaMKZYsVp8g5JWUPPL4ciKOM= X-Received: by 2002:a17:906:70c3:: with SMTP id g3-v6mr16070338ejk.194.1539546756242; Sun, 14 Oct 2018 12:52:36 -0700 (PDT) MIME-Version: 1.0 From: Srintuar Date: Sun, 14 Oct 2018 15:52:25 -0400 Message-ID: To: bitcoin-dev@lists.linuxfoundation.org Content-Type: multipart/alternative; boundary="0000000000008563ed057835a992" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Sun, 14 Oct 2018 20:13:48 +0000 Subject: [bitcoin-dev] BIP for segwit compatibility URIs X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2018 19:52:38 -0000 --0000000000008563ed057835a992 Content-Type: text/plain; charset="UTF-8" An extremely simple BIP write-up for a backward compatible URI scheme to help with segwit adoption by online stores and merchants. ==== This BIP is a modification of an earlier [[bip-0021.mediawiki|BIP 0021]] by Nils Schneider and Matt Corallo ==Abstract== This BIP proposes a URI scheme which allows for backward compatibility with native segwit (bech32) wallets and legcy wallets (base58) ==Motivation== The purpose of this URI scheme is to enable all users to easily make payments from any wallet, without allowing backward compatibility to be a barrier to segwit adoption. This BIP allows a merchant to preferentially receive payments to a bech32 address, while gracefully allowing older clients to make base58 encoded payments. ==Specification== === Query Keys === *addr: an alternative bitcoin destination which is preferred over the "bitcoinaddress" field of the url == Appendix == === Simpler syntax === bitcoin:
[?amount=][?label=