{"id":3891,"date":"2020-04-03T10:54:27","date_gmt":"2020-04-03T10:54:27","guid":{"rendered":"https:\/\/bitcoinsv.io\/?p=3891"},"modified":"2020-09-28T10:14:38","modified_gmt":"2020-09-28T10:14:38","slug":"miner-id-and-merchant-api-beta-release","status":"publish","type":"post","link":"https:\/\/bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/","title":{"rendered":"Miner ID and Merchant API beta release"},"content":{"rendered":"\n

Background<\/strong><\/p>\n\n\n\n

As the Bitcoin SV network continues its evolution toward the structural model described by Satoshi Nakamoto, new tools are emerging to support that change.\u00a0 As a part of the drive toward a safer instant transaction paradigm, the Miner ID and Merchant API projects have been discussed extensively.
<\/p>\n\n\n\n

These projects have been in private beta testing and are now being released as a public beta and entering a public review process in the form of an RFC release.<\/p>\n\n\n\n

Services<\/h2>\n\n\n\n

Merchant API<\/h3>\n\n\n\n

Merchant API provides two critical services to enable application and wallet developers to use the Bitcoin network more efficiently:<\/p>\n\n\n\n

  1. Fee discovery<\/strong>: This service enables parties creating transactions to know in advance what fee levels are required to guarantee the necessary service level from miners.  This is a critical service to enable a dynamic and floating real time fee market to emerge.<\/li>
  2. Direct transaction submission<\/strong>: This allows users to bypass the outer layers of the Bitcoin peer-to-peer network and submit transactions directly to miners. This avoids many of the propagation issues that arise in an environment where node policies are dynamically and competitively shifting.<\/li>
  3. User based fee policies<\/strong> to enable different fee structures for different use cases.<\/li><\/ol>\n\n\n\n

    Miner ID<\/h3>\n\n\n\n

    Miner ID is a mechanism for miners to securely take ownership of their identity and reputation backed by their own proof of work.\u00a0 It has many applications beyond the initial use cases presented in our first version and is designed to be extensible.
    <\/p>\n\n\n\n

    Initial use cases for Miner ID include:<\/p>\n\n\n\n

    1. Service advertising for Merchant API REST endpoints.<\/li>
    2. Provision of identities for signing Merchant API responses.<\/li><\/ol>\n\n\n\n

      RFC phase<\/h2>\n\n\n\n

      It is intended that standards for both Merchant API and Miner ID will be passed through the Bitcoin Association\u2019 Technical Standards Committee (TSC) process, as soon as that is up and running.\u00a0 For expediency though, the proposed standards are being released now for public review.
      <\/p>\n\n\n\n

      Both API standards are on Github and we request that feedback be directed through the Github issue system.<\/p>\n\n\n\n

      Specifications<\/h2>\n\n\n\n

      The draft specifications are in BRFC format<\/a> and can be found here:<\/p>\n\n\n\n

      1. https:\/\/github.com\/bitcoin-sv-specs\/brfc-merchantapi<\/a><\/li>
      2. https:\/\/github.com\/bitcoin-sv-specs\/brfc-minerid<\/a><\/li>
      3. https:\/\/github.com\/bitcoin-sv-specs\/brfc-misc<\/a><\/li><\/ol>\n\n\n\n

        The `misc` repository is for common specifications that have use cases outside of Merchant API and Miner ID.\u00a0 For example the fee spec standard will be proposed for adoption as a general standard for describing fees and will likely be proposed to be used in BIP270.
        <\/p>\n\n\n\n

        To offer feedback, please use the Github issue system for the respective standard repositories.<\/p>\n\n\n\n

        Reference implementations<\/h2>\n\n\n\n

        Reference implementations can be found here:<\/p>\n\n\n\n

        1. https:\/\/github.com\/bitcoin-sv\/merchantapi-reference<\/a><\/li>
        2. https:\/\/github.com\/bitcoin-sv\/minerid-reference<\/a><\/li><\/ol>\n\n\n\n

          Endpoints<\/h2>\n\n\n\n

          Scaling test network<\/h3>\n\n\n\n

          For application developers that would like to test against the Merchant API a test instance is currently available.<\/p>\n\n\n\n

          MAPI: https:\/\/galt.bitcoinscaling.io:9004\/mapi\/feeQuote<\/a><\/p>\n\n\n\n

          Block explorer: https:\/\/stn.whatsonchain.com\/<\/a><\/p>\n\n\n\n

          Faucet: : https:\/\/faucet.bitcoinscaling.io\/<\/a><\/p>\n\n\n\n

          Mainnet<\/h3>\n\n\n\n

          Mempool<\/a> have made available a mainnet instance of Merchant API for developer testing.<\/p>\n\n\n\n

          Documentation: https:\/\/developers.dotwallet.com\/en\/dev\/api\/merchant<\/a><\/p>\n\n\n\n

          Example endpoint: https:\/\/www.ddpurse.com\/openapi\/mapi\/feeQuote<\/a><\/p>\n\n\n\n


          In order to use this endpoint you will need to add the HTTP header:<\/p>\n\n\n\n

          token: 561b756d12572020ea9a104c3441b71790acbbce95a6ddbf7e0630971af9424b<\/code>
          <\/p>\n\n\n\n

          More Merchant API instances on mainnet are expected to be up and running soon.<\/p>\n\n\n\n

          Contacts<\/h2>\n\n\n\n

          For support and general discussion of both standards and reference implementations please join the following telegram group: https:\/\/t.me\/joinchat\/JB6ZzktqwaiJX_5lzQpQIA<\/a><\/p>\n\n\n\n

          Roadmaps<\/h2>\n\n\n\n

          Further features are planned for both services.<\/p>\n\n\n\n

          Merchant API<\/h3>\n\n\n\n

          Work has already begun on phases 2 and 3 of Merchant API with a view to adding the following features:<\/p>\n\n\n\n

          1. Enabling callbacks for Merkle proofs and double spend notifications.\n
              \n
            1. An underlying messaging system is under development to solve the problem of offline communications which is a dependency for this feature.<\/li>\n<\/ol>\n<\/li>
            2. Aggregator service that can act as an intermediary between merchant and many miners to provide fee aggregations services and dedicated distribution of transactions where required.<\/li><\/ol>\n\n\n\n

              Miner ID<\/h3>\n\n\n\n

              Use cases for Miner ID are implemented both as extensions to the protocol defining content of the coinbase document, along with uses of the actual ID in other contexts. Some examples include:<\/p>\n\n\n\n

              1. Publication of further policies and default fee specifications<\/li>
              2. Miner communication where miners can communicate with each other or with the public with proof of their mining history<\/li>
              3. Certification of statements of truth by collecting statements from numerous Miner IDs and aggregating total hash power backing the statement<\/li>
              4. Double spend notifications backed by miner reputation<\/li>
              5. Authentication mechanism for access to miner exclusive services e.g. Streaming block template protocol.<\/li><\/ol>\n\n\n\n

                <\/p>\n","protected":false},"excerpt":{"rendered":"

                Background As the Bitcoin SV network continues its evolution toward the structural model described by Satoshi Nakamoto, new tools are emerging to support that change.\u00a0 As a part of the drive toward a safer instant transaction paradigm, the Miner ID and Merchant API projects have been discussed extensively. These projects have been in private beta […]<\/p>\n","protected":false},"author":4,"featured_media":3905,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[71],"tags":[],"lang":"en","translations":{"zh":3896,"en":3891},"yoast_head":"\nMiner ID and Merchant API beta release - Bitcoin SV<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Miner ID and Merchant API beta release - Bitcoin SV\" \/>\n<meta property=\"og:description\" content=\"Background As the Bitcoin SV network continues its evolution toward the structural model described by Satoshi Nakamoto, new tools are emerging to support that change.\u00a0 As a part of the drive toward a safer instant transaction paradigm, the Miner ID and Merchant API projects have been discussed extensively. These projects have been in private beta […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/\" \/>\n<meta property=\"og:site_name\" content=\"Bitcoin SV\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-03T10:54:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-28T10:14:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2020\/09\/MinerID_MerchantAPI_Public_Beta_ENG.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"840\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BitcoinSVNode\" \/>\n<meta name=\"twitter:site\" content=\"@BitcoinSVNode\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/bitcoinsv.io\/#organization\",\"name\":\"Bitcoin SV\",\"url\":\"https:\/\/bitcoinsv.io\/\",\"sameAs\":[\"https:\/\/twitter.com\/BitcoinSVNode\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/bitcoinsv.io\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2020\/10\/bsv-logo-wh-medium.png\",\"width\":800,\"height\":144,\"caption\":\"Bitcoin SV\"},\"image\":{\"@id\":\"https:\/\/bitcoinsv.io\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bitcoinsv.io\/#website\",\"url\":\"https:\/\/bitcoinsv.io\/\",\"name\":\"Bitcoin SV\",\"description\":\"Just another WordPress site\",\"publisher\":{\"@id\":\"https:\/\/bitcoinsv.io\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/bitcoinsv.io\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/#webpage\",\"url\":\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/\",\"name\":\"Miner ID and Merchant API beta release - Bitcoin SV\",\"isPartOf\":{\"@id\":\"https:\/\/bitcoinsv.io\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/#primaryimage\"},\"datePublished\":\"2020-04-03T10:54:27+00:00\",\"dateModified\":\"2020-09-28T10:14:38+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/#webpage\"},\"author\":{\"@id\":\"https:\/\/bitcoinsv.io\/#\/schema\/person\/d1b90c2f0b7b27b52e59ef856a57ab4e\"},\"headline\":\"Miner ID and Merchant API beta release\",\"datePublished\":\"2020-04-03T10:54:27+00:00\",\"dateModified\":\"2020-09-28T10:14:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/bitcoinsv.io\/#organization\"},\"image\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/2020\/04\/03\/miner-id-and-merchant-api-beta-release\/#primaryimage\"},\"articleSection\":\"Release Notes\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/bitcoinsv.io\/#\/schema\/person\/d1b90c2f0b7b27b52e59ef856a57ab4e\",\"name\":\"Steve Shadders\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/bitcoinsv.io\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d08dfcc7367f9cdd71cedbd77082b84f?s=96&d=mm&r=g\",\"caption\":\"Steve Shadders\"},\"description\":\"Steve has been involved in Bitcoin infrastructure since early 2011. In his role, he contributes his ecosystem-wide perspective, to support building the mining and UX infrastructure, needed to enable Satoshi\\u2019s Vision.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts\/3891"}],"collection":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/comments?post=3891"}],"version-history":[{"count":2,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts\/3891\/revisions"}],"predecessor-version":[{"id":4351,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts\/3891\/revisions\/4351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/media\/3905"}],"wp:attachment":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/media?parent=3891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/categories?post=3891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/tags?post=3891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}