{"id":3896,"date":"2020-04-03T10:54:27","date_gmt":"2020-04-03T10:54:27","guid":{"rendered":"https:\/\/bitcoinsv.io\/?p=3896"},"modified":"2020-09-28T10:15:41","modified_gmt":"2020-09-28T10:15:41","slug":"miner-id-and-merchant-api-beta-release-2","status":"publish","type":"post","link":"https:\/\/bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/","title":{"rendered":"Miner ID\u4e0eMerchant API\u6d4b\u8bd5\u7248\u53d1\u5e03"},"content":{"rendered":"\n

\u80cc\u666f<\/h2>\n\n\n\n

\u968f\u7740BSV\u7f51\u7edc\u7ee7\u7eed\u671d\u7740\u4e2d\u672c\u806a\u6240\u8bbe\u8ba1\u7684\u7ed3\u6784\u6a21\u578b\u53d1\u5c55\uff0c\u4e3a\u9002\u5e94\u7ed3\u6784\u8f6c\u53d8\uff0c\u65b0\u7684\u5de5\u5177\u6b63\u5728\u51fa\u73b0\u3002\u4f5c\u4e3a\u5f00\u53d1\u66f4\u5b89\u5168\u7684\u5373\u65f6\u4ea4\u6613\u8303\u4f8b\u7684\u4e00\u90e8\u5206\uff0c\u6211\u4eec\u5bf9\u77ff\u5de5ID\uff08Miner ID\uff09\u548c\u5546\u6237\u7528API\uff08Merchant API\uff09\u8fdb\u884c\u4e86\u5e7f\u6cdb\u7684\u8ba8\u8bba\u3002<\/p>\n\n\n\n

\u8fd9\u4e9b\u9879\u76ee\u5df2\u7ecf\u901a\u8fc7\u4e86\u5185\u90e8\u6d4b\u8bd5\uff0c\u73b0\u5728\u53d1\u5e03\u516c\u5f00\u6d4b\u8bd5\u7248\u672c\uff0c\u5411\u5916\u5f81\u6c42\u610f\u89c1\uff0c\u5f81\u96c6\u610f\u89c1\u5c06\u4ee5RFC\uff08Request For Comments\uff09\u5f62\u5f0f\u53d1\u5e03\u3002<\/p>\n\n\n\n

\u670d\u52a1\u5185\u5bb9<\/h2>\n\n\n\n

\u5546\u6237\u7528API<\/h3>\n\n\n\n

\u5546\u6237\u7528API\u63d0\u4f9b\u4e86\u4e24\u9879\u5173\u952e\u7684\u670d\u52a1\uff0c\u4ee5\u4fbf\u5e94\u7528\u7a0b\u5e8f\u548c\u94b1\u5305\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u66f4\u6709\u6548\u5730\u4f7f\u7528\u6bd4\u7279\u5e01\u7f51\u7edc\uff1a<\/p>\n\n\n\n

  1. \u63a2\u5bfb\u8d39\u7387\uff1a\u8fd9\u9879\u670d\u52a1\u53ef\u4ee5\u4f7f\u4ea4\u6613\u521b\u5efa\u7684\u4e00\u65b9\u80fd\u591f\u63d0\u524d\u77e5\u9053\u4ec0\u4e48\u6837\u7684\u4ea4\u6613\u8d39\u7387\u6c34\u5e73\u624d\u80fd\u4f7f\u77ff\u5de5\u4eec\u63d0\u4f9b\u5fc5\u8981\u7684\u670d\u52a1\u3002\u8fd9\u5bf9\u4e8e\u5f62\u6210\u52a8\u6001\u6d6e\u52a8\u7684\u5b9e\u65f6\u8d39\u7387\u5e02\u573a\u7684\u5341\u5206\u5173\u952e\u3002<\/li>
  2. \u76f4\u63a5\u63d0\u4ea4\u4ea4\u6613\uff1a\u8fd9\u5141\u8bb8\u7528\u6237\u7ed5\u8fc7\u6bd4\u7279\u5e01\u70b9\u5bf9\u70b9\u7f51\u7edc\u7684\u5916\u5c42\uff0c\u5e76\u76f4\u63a5\u5411\u77ff\u5de5\u63d0\u4ea4\u4ea4\u6613\u4fe1\u606f\u3002\u8fd9\u80fd\u907f\u514d\u5728\u8282\u70b9\u91c7\u53d6\u4e0d\u540c\u7b56\u7565\u3001\u8fdb\u884c\u52a8\u6001\u7ade\u4e89\u65f6\u51fa\u73b0\u7684\u4ea4\u6613\u4f20\u64ad\u53d7\u963b\u95ee\u9898\u3002<\/li>
  3. \u57fa\u4e8e\u7528\u6237\u7684\u8d39\u7528\u7b56\u7565\uff1a\u8fd9\u53ef\u4ee5\u8ba9\u4e0d\u540c\u7528\u6237\u91c7\u7528\u4e0d\u540c\u7684\u8d39\u7387\u7ed3\u6784\u3002<\/li><\/ol>\n\n\n\n

    \u77ff\u5de5ID<\/h3>\n\n\n\n

    \u77ff\u5de5ID\u662f\u4e00\u4e2a\u77ff\u5de5\u8bc1\u660e\u673a\u5236\uff0c\u5b83\u8ba9\u77ff\u5de5\u53ef\u4ee5\u901a\u8fc7\u5de5\u4f5c\u91cf\u8bc1\u660e\u5b89\u5168\u5730\u62e5\u6709\u5176\u8eab\u4efd\u548c\u4fe1\u8a89\u3002\u9664\u4e86\u6211\u4eec\u7684\u7b2c\u4e00\u4e2a\u7248\u672c\u4e2d\u793a\u8303\u7684\u4f7f\u7528\u6848\u4f8b\u5916\uff0c\u5b83\u8fd8\u5177\u6709\u8bb8\u591a\u5e94\u7528\u524d\u666f\uff0c\u77ff\u5de5ID\u88ab\u8bbe\u8ba1\u4e3a\u53ef\u6269\u5c55\u6027\u7684\u3002<\/p>\n\n\n\n

    \u77ff\u5de5ID\u6700\u521d\u7684\u4f7f\u7528\u6848\u4f8b\u5305\u62ec\uff1a<\/p>\n\n\n\n

    1.\u9488\u5bf9\u5546\u6237\u7528API\u7684 REST\u7aef\u70b9\u7684\u670d\u52a1\u5e7f\u544a\u3002<\/p>\n\n\n\n

    2.\u63d0\u4f9b\u7528\u4e8e\u7b7e\u7f72\u5546\u6237\u7528API\u54cd\u5e94\u7684\u8eab\u4efd\u3002<\/p>\n\n\n\n

    RFC\u9636\u6bb5<\/h2>\n\n\n\n

    RFC\u6d41\u7a0b\u662f\u4e3a\u4e86\u5f53Merchant API\u548cMiner ID\u542f\u52a8\u5e76\u8fd0\u884c\u540e\uff0c\u80fd\u591f\u7acb\u5373\u8fdb\u5165\u6bd4\u7279\u5e01\u534f\u4f1a\u7684\u6280\u672f\u6807\u51c6\u59d4\u5458\u4f1a\uff08TSC\uff09\u6d41\u7a0b\u3002\u4e3a\u4e86\u52a0\u901f\u6d41\u7a0b\uff0c\u672c\u63d0\u8bae\u7684\u6807\u51c6\u73b0\u5df2\u516c\u5f00\u53d1\u5e03\uff0c\u4ee5\u4f9b\u516c\u4f17\u5ba1\u67e5\u3002<\/p>\n\n\n\n

    \u8fd9\u4e24\u79cdAPI\u6807\u51c6\u90fd\u5df2\u53d1\u5e03\u5728Github\u4e0a\uff0c\u6211\u4eec\u5c06\u901a\u8fc7Github\u7684Issue\u7cfb\u7edf\u83b7\u53d6\u5916\u90e8\u53cd\u9988\u3002<\/p>\n\n\n\n

    \u53c2\u8003\u5b9e\u73b0<\/h2>\n\n\n\n

    \u5546\u5bb6API\u548c\u77ff\u5de5ID\u7684\u53c2\u8003\u5b9e\u73b0\u53ef\u4ee5\u5728\u8fd9\u91cc\u627e\u5230\uff1a<\/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

      \u63a5\u5165\u70b9<\/h2>\n\n\n\n

      \u6269\u5bb9\u6d4b\u8bd5\u7f51\uff08STN\uff09<\/p>\n\n\n\n

      \u5bf9\u4e8e\u60f3\u8981\u6d4b\u8bd5Merchant API\u7684\u5e94\u7528\u5f00\u53d1\u8005\uff0c\u73b0\u5728\u5728\u4ee5\u4e0b\u4f4d\u7f6e\u53ef\u4ee5\u83b7\u53d6\u6d4b\u8bd5\u5b9e\u4f8b\uff1a<\/p>\n\n\n\n

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

      \u533a\u5757\u94fe\u6d4f\u89c8\u5668: https:\/\/stn.whatsonchain.com\/<\/a><\/p>\n\n\n\n

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

      \u4e3b\u7f51\uff08Mainnet\uff09<\/p>\n\n\n\n

      Mempool\u77ff\u6c60\u5df2\u7ecf\u53d1\u5e03\u4e86\u4e3b\u7f51\u4e0a\u7684Merchant API\u5b9e\u4f8b\u4f9b\u5f00\u53d1\u8005\u6d4b\u8bd5\u3002<\/p>\n\n\n\n

      \u5f00\u53d1\u6587\u6863: https:\/\/developers.dotwallet.com\/en\/dev\/api\/merchant<\/a><\/p>\n\n\n\n

      \u5b9e\u4f8b\u7aef\u70b9: https:\/\/www.ddpurse.com\/openapi\/mapi\/feeQuote<\/a><\/p>\n\n\n\n

      \u5982\u60f3\u52a0\u5165\u6b64\u63a5\u5165\u70b9\uff0c\u60a8\u9700\u8981\u4f7f\u7528\u4ee5\u4e0bHTTP\u62a5\u5934\uff1a<\/p>\n\n\n\n

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

      \u66f4\u591a\u4e3b\u7f51\u4e0a\u7684Merchant API\u5b9e\u4f8b\u5c06\u4e8e\u8fd1\u671f\u4e0a\u7ebf\u5e76\u8fd0\u884c\uff0c\u656c\u8bf7\u671f\u5f85\u3002<\/p>\n\n\n\n

      \u8054\u7edc\u65b9\u5f0f<\/h3>\n\n\n\n

      \u5173\u4e8e\u6807\u51c6\u548c\u53c2\u8003\u5b9e\u73b0\u7684\u6280\u672f\u652f\u6301\u548c\u8ba8\u8bba\uff0c\u8bf7\u52a0\u5165\u4ee5\u4e0b\u7535\u62a5\u7ec4\u4e0e\u6211\u4eec\u8054\u7cfb\uff1ahttps:\/\/t.me\/joinchat\/JB6ZzktqwaiJX_5lzQpQIA<\/a><\/p>\n\n\n\n

      \u8def\u7ebf\u56fe<\/h2>\n\n\n\n

      \u8ba1\u5212\u4e3a\u8fd9\u4e24\u79cd\u670d\u52a1\u63d0\u4f9b\u66f4\u591a\u529f\u80fd\u3002<\/p>\n\n\n\n

      Merchant API<\/h2>\n\n\n\n

      Merchant API\u7684\u7b2c\u4e8c\u548c\u7b2c\u4e09\u9636\u6bb5\u7684\u5de5\u4f5c\u5df2\u7ecf\u5f00\u59cb\uff0c\u5c06\u6dfb\u52a0\u4ee5\u4e0b\u529f\u80fd\uff1a<\/p>\n\n\n\n

      1. \u542f\u7528Merkle\u8bc1\u660e\u548c\u53cc\u82b1\u6d88\u8d39\u901a\u77e5\u7684\u56de\u8c03\u3002<\/li><\/ol>\n\n\n\n

        \u6211\u4eec\u6b63\u5728\u5f00\u53d1\u5e95\u5c42\u6d88\u606f\u7684\u4f20\u9012\u7cfb\u7edf\uff0c\u4ee5\u89e3\u51b3\u79bb\u7ebf\u72b6\u6001\u4e0b\u7684\u901a\u4fe1\u95ee\u9898\uff0c\u8be5\u95ee\u9898\u7684\u89e3\u51b3\u4f9d\u8d56\u4e8e\u8fd9\u4e2a\u529f\u80fd\u3002<\/p>\n\n\n\n

        1. \u805a\u5408\u670d\u52a1\uff0c\u53ef\u4ee5\u5145\u5f53\u5546\u5bb6\u548c\u591a\u4e2a\u77ff\u5de5\u4e4b\u95f4\u7684\u4e2d\u4ecb\uff0c\u5728\u9700\u8981\u65f6\u63d0\u4f9b\u8d39\u7528\u7684\u805a\u5408\u670d\u52a1\u548c\u4e13\u7528\u4ea4\u6613\u3002<\/li><\/ol>\n\n\n\n

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

          Miner ID\u7684\u7528\u9014\u4e0d\u4ec5\u4ec5\u662fcoinbase\u6587\u6863\u5185\u5bb9\u534f\u8bae\u7684\u6269\u5c55\uff0c\u5b9e\u9645ID\u8fd8\u53ef\u4ee5\u5e94\u7528\u5728\u5176\u4ed6\u573a\u666f\u4e0b\u3002\u4e00\u4e9b\u793a\u4f8b\u5305\u62ec\uff1a<\/p>\n\n\n\n

          1. \u516c\u5e03\u66f4\u660e\u786e\u7684\u8d39\u7387\u653f\u7b56\u548c\u9ed8\u8ba4\u8d39\u7387\u7ec6\u5219\uff1b<\/li>
          2. \u77ff\u5de5\u4e4b\u95f4\u8fdb\u884c\u6c9f\u901a\uff0c\u77ff\u5de5\u4e0e\u5916\u754c\u6c9f\u901a\uff0c\u4f7f\u7528Miner ID\u8bc1\u660e\u5176\u91c7\u77ff\u5386\u53f2\uff1b<\/li>
          3. \u4e8b\u5b9e\u6216\u58f0\u660e\u7684\u8bc1\u660e\uff1a\u901a\u8fc7\u4ece\u4f17\u591a\u77ff\u5de5ID\u6536\u96c6\u58f0\u660e\uff0c\u5e76\u6c47\u603b\u652f\u6301\u8be5\u58f0\u660e\u7684\u603b\u7b97\u529b\u6765\u8bc1\u660e\u5176\u6709\u6548\u6027\uff1b<\/li>
          4. \u7531\u4fe1\u8a89\u5ea6\u9ad8\u7684\u77ff\u5de5\u652f\u6301\u7684\u201c\u53cc\u82b1\u201d\u8b66\u793a\u901a\u77e5\uff1b<\/li>
          5. \u8bbf\u95ee\u77ff\u5de5\u4e13\u6709\u670d\u52a1\u7684\u8ba4\u8bc1\u673a\u5236\uff0c\u4f8b\u5982\u3002\u6d41\u5f0f\u533a\u5757\u6a21\u677f\u534f\u8bae\u3002<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"

            \u80cc\u666f \u968f\u7740BSV\u7f51\u7edc\u7ee7\u7eed\u671d\u7740\u4e2d\u672c\u806a\u6240\u8bbe\u8ba1\u7684\u7ed3\u6784\u6a21\u578b\u53d1\u5c55\uff0c\u4e3a\u9002\u5e94\u7ed3\u6784\u8f6c\u53d8\uff0c\u65b0\u7684\u5de5\u5177\u6b63\u5728\u51fa\u73b0\u3002\u4f5c\u4e3a\u5f00\u53d1\u66f4\u5b89\u5168\u7684\u5373\u65f6\u4ea4\u6613\u8303\u4f8b\u7684\u4e00\u90e8\u5206\uff0c\u6211\u4eec\u5bf9\u77ff\u5de5ID\uff08Miner ID\uff09\u548c\u5546\u6237\u7528API\uff08Merchant API\uff09\u8fdb\u884c\u4e86\u5e7f\u6cdb\u7684\u8ba8\u8bba\u3002 \u8fd9\u4e9b\u9879\u76ee\u5df2\u7ecf\u901a\u8fc7\u4e86\u5185\u90e8\u6d4b\u8bd5\uff0c\u73b0\u5728\u53d1\u5e03\u516c\u5f00\u6d4b\u8bd5\u7248\u672c\uff0c\u5411\u5916\u5f81\u6c42\u610f\u89c1\uff0c\u5f81\u96c6\u610f\u89c1\u5c06\u4ee5RFC\uff08Request For Comments\uff09\u5f62\u5f0f\u53d1\u5e03\u3002 \u670d\u52a1\u5185\u5bb9 \u5546\u6237\u7528API \u5546\u6237\u7528API\u63d0\u4f9b\u4e86\u4e24\u9879\u5173\u952e\u7684\u670d\u52a1\uff0c\u4ee5\u4fbf\u5e94\u7528\u7a0b\u5e8f\u548c\u94b1\u5305\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u66f4\u6709\u6548\u5730\u4f7f\u7528\u6bd4\u7279\u5e01\u7f51\u7edc\uff1a \u63a2\u5bfb\u8d39\u7387\uff1a\u8fd9\u9879\u670d\u52a1\u53ef\u4ee5\u4f7f\u4ea4\u6613\u521b\u5efa\u7684\u4e00\u65b9\u80fd\u591f\u63d0\u524d\u77e5\u9053\u4ec0\u4e48\u6837\u7684\u4ea4\u6613\u8d39\u7387\u6c34\u5e73\u624d\u80fd\u4f7f\u77ff\u5de5\u4eec\u63d0\u4f9b\u5fc5\u8981\u7684\u670d\u52a1\u3002\u8fd9\u5bf9\u4e8e\u5f62\u6210\u52a8\u6001\u6d6e\u52a8\u7684\u5b9e\u65f6\u8d39\u7387\u5e02\u573a\u7684\u5341\u5206\u5173\u952e\u3002 \u76f4\u63a5\u63d0\u4ea4\u4ea4\u6613\uff1a\u8fd9\u5141\u8bb8\u7528\u6237\u7ed5\u8fc7\u6bd4\u7279\u5e01\u70b9\u5bf9\u70b9\u7f51\u7edc\u7684\u5916\u5c42\uff0c\u5e76\u76f4\u63a5\u5411\u77ff\u5de5\u63d0\u4ea4\u4ea4\u6613\u4fe1\u606f\u3002\u8fd9\u80fd\u907f\u514d\u5728\u8282\u70b9\u91c7\u53d6\u4e0d\u540c\u7b56\u7565\u3001\u8fdb\u884c\u52a8\u6001\u7ade\u4e89\u65f6\u51fa\u73b0\u7684\u4ea4\u6613\u4f20\u64ad\u53d7\u963b\u95ee\u9898\u3002 \u57fa\u4e8e\u7528\u6237\u7684\u8d39\u7528\u7b56\u7565\uff1a\u8fd9\u53ef\u4ee5\u8ba9\u4e0d\u540c\u7528\u6237\u91c7\u7528\u4e0d\u540c\u7684\u8d39\u7387\u7ed3\u6784\u3002 \u77ff\u5de5ID \u77ff\u5de5ID\u662f\u4e00\u4e2a\u77ff\u5de5\u8bc1\u660e\u673a\u5236\uff0c\u5b83\u8ba9\u77ff\u5de5\u53ef\u4ee5\u901a\u8fc7\u5de5\u4f5c\u91cf\u8bc1\u660e\u5b89\u5168\u5730\u62e5\u6709\u5176\u8eab\u4efd\u548c\u4fe1\u8a89\u3002\u9664\u4e86\u6211\u4eec\u7684\u7b2c\u4e00\u4e2a\u7248\u672c\u4e2d\u793a\u8303\u7684\u4f7f\u7528\u6848\u4f8b\u5916\uff0c\u5b83\u8fd8\u5177\u6709\u8bb8\u591a\u5e94\u7528\u524d\u666f\uff0c\u77ff\u5de5ID\u88ab\u8bbe\u8ba1\u4e3a\u53ef\u6269\u5c55\u6027\u7684\u3002 \u77ff\u5de5ID\u6700\u521d\u7684\u4f7f\u7528\u6848\u4f8b\u5305\u62ec\uff1a 1.\u9488\u5bf9\u5546\u6237\u7528API\u7684 REST\u7aef\u70b9\u7684\u670d\u52a1\u5e7f\u544a\u3002 2.\u63d0\u4f9b\u7528\u4e8e\u7b7e\u7f72\u5546\u6237\u7528API\u54cd\u5e94\u7684\u8eab\u4efd\u3002 RFC\u9636\u6bb5 RFC\u6d41\u7a0b\u662f\u4e3a\u4e86\u5f53Merchant API\u548cMiner ID\u542f\u52a8\u5e76\u8fd0\u884c\u540e\uff0c\u80fd\u591f\u7acb\u5373\u8fdb\u5165\u6bd4\u7279\u5e01\u534f\u4f1a\u7684\u6280\u672f\u6807\u51c6\u59d4\u5458\u4f1a\uff08TSC\uff09\u6d41\u7a0b\u3002\u4e3a\u4e86\u52a0\u901f\u6d41\u7a0b\uff0c\u672c\u63d0\u8bae\u7684\u6807\u51c6\u73b0\u5df2\u516c\u5f00\u53d1\u5e03\uff0c\u4ee5\u4f9b\u516c\u4f17\u5ba1\u67e5\u3002 \u8fd9\u4e24\u79cdAPI\u6807\u51c6\u90fd\u5df2\u53d1\u5e03\u5728Github\u4e0a\uff0c\u6211\u4eec\u5c06\u901a\u8fc7Github\u7684Issue\u7cfb\u7edf\u83b7\u53d6\u5916\u90e8\u53cd\u9988\u3002 \u53c2\u8003\u5b9e\u73b0 \u5546\u5bb6API\u548c\u77ff\u5de5ID\u7684\u53c2\u8003\u5b9e\u73b0\u53ef\u4ee5\u5728\u8fd9\u91cc\u627e\u5230\uff1a https:\/\/github.com\/bitcoin-sv\/merchantapi-reference https:\/\/github.com\/bitcoin-sv\/minerid-reference \u63a5\u5165\u70b9 \u6269\u5bb9\u6d4b\u8bd5\u7f51\uff08STN\uff09 \u5bf9\u4e8e\u60f3\u8981\u6d4b\u8bd5Merchant API\u7684\u5e94\u7528\u5f00\u53d1\u8005\uff0c\u73b0\u5728\u5728\u4ee5\u4e0b\u4f4d\u7f6e\u53ef\u4ee5\u83b7\u53d6\u6d4b\u8bd5\u5b9e\u4f8b\uff1a MAPI: https:\/\/galt.bitcoinscaling.io:9004\/mapi\/feeQuote \u533a\u5757\u94fe\u6d4f\u89c8\u5668: https:\/\/stn.whatsonchain.com\/ Faucet: : https:\/\/faucet.bitcoinscaling.io\/ \u4e3b\u7f51\uff08Mainnet\uff09 Mempool\u77ff\u6c60\u5df2\u7ecf\u53d1\u5e03\u4e86\u4e3b\u7f51\u4e0a\u7684Merchant API\u5b9e\u4f8b\u4f9b\u5f00\u53d1\u8005\u6d4b\u8bd5\u3002 \u5f00\u53d1\u6587\u6863: https:\/\/developers.dotwallet.com\/en\/dev\/api\/merchant \u5b9e\u4f8b\u7aef\u70b9: https:\/\/www.ddpurse.com\/openapi\/mapi\/feeQuote \u5982\u60f3\u52a0\u5165\u6b64\u63a5\u5165\u70b9\uff0c\u60a8\u9700\u8981\u4f7f\u7528\u4ee5\u4e0bHTTP\u62a5\u5934\uff1a token: 561b756d12572020ea9a104c3441b71790acbbce95a6ddbf7e0630971af9424b \u66f4\u591a\u4e3b\u7f51\u4e0a\u7684Merchant API\u5b9e\u4f8b\u5c06\u4e8e\u8fd1\u671f\u4e0a\u7ebf\u5e76\u8fd0\u884c\uff0c\u656c\u8bf7\u671f\u5f85\u3002 \u8054\u7edc\u65b9\u5f0f \u5173\u4e8e\u6807\u51c6\u548c\u53c2\u8003\u5b9e\u73b0\u7684\u6280\u672f\u652f\u6301\u548c\u8ba8\u8bba\uff0c\u8bf7\u52a0\u5165\u4ee5\u4e0b\u7535\u62a5\u7ec4\u4e0e\u6211\u4eec\u8054\u7cfb\uff1ahttps:\/\/t.me\/joinchat\/JB6ZzktqwaiJX_5lzQpQIA \u8def\u7ebf\u56fe \u8ba1\u5212\u4e3a\u8fd9\u4e24\u79cd\u670d\u52a1\u63d0\u4f9b\u66f4\u591a\u529f\u80fd\u3002 […]<\/p>\n","protected":false},"author":6,"featured_media":3905,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[81],"tags":[],"lang":"zh","translations":{"zh":3896,"en":3891},"yoast_head":"\nMiner ID\u4e0eMerchant API\u6d4b\u8bd5\u7248\u53d1\u5e03 - 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\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Miner ID\u4e0eMerchant API\u6d4b\u8bd5\u7248\u53d1\u5e03 - Bitcoin SV\" \/>\n<meta property=\"og:description\" content=\"\u80cc\u666f \u968f\u7740BSV\u7f51\u7edc\u7ee7\u7eed\u671d\u7740\u4e2d\u672c\u806a\u6240\u8bbe\u8ba1\u7684\u7ed3\u6784\u6a21\u578b\u53d1\u5c55\uff0c\u4e3a\u9002\u5e94\u7ed3\u6784\u8f6c\u53d8\uff0c\u65b0\u7684\u5de5\u5177\u6b63\u5728\u51fa\u73b0\u3002\u4f5c\u4e3a\u5f00\u53d1\u66f4\u5b89\u5168\u7684\u5373\u65f6\u4ea4\u6613\u8303\u4f8b\u7684\u4e00\u90e8\u5206\uff0c\u6211\u4eec\u5bf9\u77ff\u5de5ID\uff08Miner ID\uff09\u548c\u5546\u6237\u7528API\uff08Merchant API\uff09\u8fdb\u884c\u4e86\u5e7f\u6cdb\u7684\u8ba8\u8bba\u3002 \u8fd9\u4e9b\u9879\u76ee\u5df2\u7ecf\u901a\u8fc7\u4e86\u5185\u90e8\u6d4b\u8bd5\uff0c\u73b0\u5728\u53d1\u5e03\u516c\u5f00\u6d4b\u8bd5\u7248\u672c\uff0c\u5411\u5916\u5f81\u6c42\u610f\u89c1\uff0c\u5f81\u96c6\u610f\u89c1\u5c06\u4ee5RFC\uff08Request For Comments\uff09\u5f62\u5f0f\u53d1\u5e03\u3002 \u670d\u52a1\u5185\u5bb9 \u5546\u6237\u7528API \u5546\u6237\u7528API\u63d0\u4f9b\u4e86\u4e24\u9879\u5173\u952e\u7684\u670d\u52a1\uff0c\u4ee5\u4fbf\u5e94\u7528\u7a0b\u5e8f\u548c\u94b1\u5305\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u66f4\u6709\u6548\u5730\u4f7f\u7528\u6bd4\u7279\u5e01\u7f51\u7edc\uff1a \u63a2\u5bfb\u8d39\u7387\uff1a\u8fd9\u9879\u670d\u52a1\u53ef\u4ee5\u4f7f\u4ea4\u6613\u521b\u5efa\u7684\u4e00\u65b9\u80fd\u591f\u63d0\u524d\u77e5\u9053\u4ec0\u4e48\u6837\u7684\u4ea4\u6613\u8d39\u7387\u6c34\u5e73\u624d\u80fd\u4f7f\u77ff\u5de5\u4eec\u63d0\u4f9b\u5fc5\u8981\u7684\u670d\u52a1\u3002\u8fd9\u5bf9\u4e8e\u5f62\u6210\u52a8\u6001\u6d6e\u52a8\u7684\u5b9e\u65f6\u8d39\u7387\u5e02\u573a\u7684\u5341\u5206\u5173\u952e\u3002 \u76f4\u63a5\u63d0\u4ea4\u4ea4\u6613\uff1a\u8fd9\u5141\u8bb8\u7528\u6237\u7ed5\u8fc7\u6bd4\u7279\u5e01\u70b9\u5bf9\u70b9\u7f51\u7edc\u7684\u5916\u5c42\uff0c\u5e76\u76f4\u63a5\u5411\u77ff\u5de5\u63d0\u4ea4\u4ea4\u6613\u4fe1\u606f\u3002\u8fd9\u80fd\u907f\u514d\u5728\u8282\u70b9\u91c7\u53d6\u4e0d\u540c\u7b56\u7565\u3001\u8fdb\u884c\u52a8\u6001\u7ade\u4e89\u65f6\u51fa\u73b0\u7684\u4ea4\u6613\u4f20\u64ad\u53d7\u963b\u95ee\u9898\u3002 \u57fa\u4e8e\u7528\u6237\u7684\u8d39\u7528\u7b56\u7565\uff1a\u8fd9\u53ef\u4ee5\u8ba9\u4e0d\u540c\u7528\u6237\u91c7\u7528\u4e0d\u540c\u7684\u8d39\u7387\u7ed3\u6784\u3002 \u77ff\u5de5ID \u77ff\u5de5ID\u662f\u4e00\u4e2a\u77ff\u5de5\u8bc1\u660e\u673a\u5236\uff0c\u5b83\u8ba9\u77ff\u5de5\u53ef\u4ee5\u901a\u8fc7\u5de5\u4f5c\u91cf\u8bc1\u660e\u5b89\u5168\u5730\u62e5\u6709\u5176\u8eab\u4efd\u548c\u4fe1\u8a89\u3002\u9664\u4e86\u6211\u4eec\u7684\u7b2c\u4e00\u4e2a\u7248\u672c\u4e2d\u793a\u8303\u7684\u4f7f\u7528\u6848\u4f8b\u5916\uff0c\u5b83\u8fd8\u5177\u6709\u8bb8\u591a\u5e94\u7528\u524d\u666f\uff0c\u77ff\u5de5ID\u88ab\u8bbe\u8ba1\u4e3a\u53ef\u6269\u5c55\u6027\u7684\u3002 \u77ff\u5de5ID\u6700\u521d\u7684\u4f7f\u7528\u6848\u4f8b\u5305\u62ec\uff1a 1.\u9488\u5bf9\u5546\u6237\u7528API\u7684 REST\u7aef\u70b9\u7684\u670d\u52a1\u5e7f\u544a\u3002 2.\u63d0\u4f9b\u7528\u4e8e\u7b7e\u7f72\u5546\u6237\u7528API\u54cd\u5e94\u7684\u8eab\u4efd\u3002 RFC\u9636\u6bb5 RFC\u6d41\u7a0b\u662f\u4e3a\u4e86\u5f53Merchant API\u548cMiner ID\u542f\u52a8\u5e76\u8fd0\u884c\u540e\uff0c\u80fd\u591f\u7acb\u5373\u8fdb\u5165\u6bd4\u7279\u5e01\u534f\u4f1a\u7684\u6280\u672f\u6807\u51c6\u59d4\u5458\u4f1a\uff08TSC\uff09\u6d41\u7a0b\u3002\u4e3a\u4e86\u52a0\u901f\u6d41\u7a0b\uff0c\u672c\u63d0\u8bae\u7684\u6807\u51c6\u73b0\u5df2\u516c\u5f00\u53d1\u5e03\uff0c\u4ee5\u4f9b\u516c\u4f17\u5ba1\u67e5\u3002 \u8fd9\u4e24\u79cdAPI\u6807\u51c6\u90fd\u5df2\u53d1\u5e03\u5728Github\u4e0a\uff0c\u6211\u4eec\u5c06\u901a\u8fc7Github\u7684Issue\u7cfb\u7edf\u83b7\u53d6\u5916\u90e8\u53cd\u9988\u3002 \u53c2\u8003\u5b9e\u73b0 \u5546\u5bb6API\u548c\u77ff\u5de5ID\u7684\u53c2\u8003\u5b9e\u73b0\u53ef\u4ee5\u5728\u8fd9\u91cc\u627e\u5230\uff1a https:\/\/github.com\/bitcoin-sv\/merchantapi-reference https:\/\/github.com\/bitcoin-sv\/minerid-reference \u63a5\u5165\u70b9 \u6269\u5bb9\u6d4b\u8bd5\u7f51\uff08STN\uff09 \u5bf9\u4e8e\u60f3\u8981\u6d4b\u8bd5Merchant API\u7684\u5e94\u7528\u5f00\u53d1\u8005\uff0c\u73b0\u5728\u5728\u4ee5\u4e0b\u4f4d\u7f6e\u53ef\u4ee5\u83b7\u53d6\u6d4b\u8bd5\u5b9e\u4f8b\uff1a MAPI: https:\/\/galt.bitcoinscaling.io:9004\/mapi\/feeQuote \u533a\u5757\u94fe\u6d4f\u89c8\u5668: https:\/\/stn.whatsonchain.com\/ Faucet: : https:\/\/faucet.bitcoinscaling.io\/ \u4e3b\u7f51\uff08Mainnet\uff09 Mempool\u77ff\u6c60\u5df2\u7ecf\u53d1\u5e03\u4e86\u4e3b\u7f51\u4e0a\u7684Merchant API\u5b9e\u4f8b\u4f9b\u5f00\u53d1\u8005\u6d4b\u8bd5\u3002 \u5f00\u53d1\u6587\u6863: https:\/\/developers.dotwallet.com\/en\/dev\/api\/merchant \u5b9e\u4f8b\u7aef\u70b9: https:\/\/www.ddpurse.com\/openapi\/mapi\/feeQuote \u5982\u60f3\u52a0\u5165\u6b64\u63a5\u5165\u70b9\uff0c\u60a8\u9700\u8981\u4f7f\u7528\u4ee5\u4e0bHTTP\u62a5\u5934\uff1a token: 561b756d12572020ea9a104c3441b71790acbbce95a6ddbf7e0630971af9424b \u66f4\u591a\u4e3b\u7f51\u4e0a\u7684Merchant API\u5b9e\u4f8b\u5c06\u4e8e\u8fd1\u671f\u4e0a\u7ebf\u5e76\u8fd0\u884c\uff0c\u656c\u8bf7\u671f\u5f85\u3002 \u8054\u7edc\u65b9\u5f0f \u5173\u4e8e\u6807\u51c6\u548c\u53c2\u8003\u5b9e\u73b0\u7684\u6280\u672f\u652f\u6301\u548c\u8ba8\u8bba\uff0c\u8bf7\u52a0\u5165\u4ee5\u4e0b\u7535\u62a5\u7ec4\u4e0e\u6211\u4eec\u8054\u7cfb\uff1ahttps:\/\/t.me\/joinchat\/JB6ZzktqwaiJX_5lzQpQIA \u8def\u7ebf\u56fe \u8ba1\u5212\u4e3a\u8fd9\u4e24\u79cd\u670d\u52a1\u63d0\u4f9b\u66f4\u591a\u529f\u80fd\u3002 […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/stag.bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/\" \/>\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:15:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2020\/09\/bitcoin-sv-bsv-mines-world-record-128mb-blocks.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1234\" \/>\n\t<meta property=\"og:image:height\" content=\"616\" \/>\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\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/stag.bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/#webpage\",\"url\":\"https:\/\/stag.bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/\",\"name\":\"Miner ID\\u4e0eMerchant API\\u6d4b\\u8bd5\\u7248\\u53d1\\u5e03 - Bitcoin SV\",\"isPartOf\":{\"@id\":\"https:\/\/bitcoinsv.io\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/#primaryimage\"},\"datePublished\":\"2020-04-03T10:54:27+00:00\",\"dateModified\":\"2020-09-28T10:15:41+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/stag.bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/stag.bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/#webpage\"},\"author\":{\"@id\":\"https:\/\/bitcoinsv.io\/#\/schema\/person\/47ed77fe7d3d5176c9aa0b2364eb6ac0\"},\"headline\":\"Miner ID\\u4e0eMerchant API\\u6d4b\\u8bd5\\u7248\\u53d1\\u5e03\",\"datePublished\":\"2020-04-03T10:54:27+00:00\",\"dateModified\":\"2020-09-28T10:15:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/bitcoinsv.io\/#organization\"},\"image\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/zh\/2020\/04\/03\/miner-id-and-merchant-api-beta-release-2\/#primaryimage\"},\"articleSection\":\"BitcoinSV-zh\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/bitcoinsv.io\/#\/schema\/person\/47ed77fe7d3d5176c9aa0b2364eb6ac0\",\"name\":\"Aleksander Gora\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/bitcoinsv.io\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/809a25fb1df50443de480e69d6def36f?s=96&d=mm&r=g\",\"caption\":\"Aleksander Gora\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts\/3896"}],"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\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/comments?post=3896"}],"version-history":[{"count":2,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts\/3896\/revisions"}],"predecessor-version":[{"id":4355,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts\/3896\/revisions\/4355"}],"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=3896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/categories?post=3896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/tags?post=3896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}