Difference between revisions of "Merchant API"

m
 
Line 1: Line 1:
 
The [[mAPI]] (formally known as Merchant API) is a new development in Bitcoin, [https://bitcoinsv.io/2020/04/03/miner-id-and-merchant-api-beta-release/ released] in April 2020.
 
The [[mAPI]] (formally known as Merchant API) is a new development in Bitcoin, [https://bitcoinsv.io/2020/04/03/miner-id-and-merchant-api-beta-release/ released] in April 2020.
  
The API enables merchants accepting Bitcoin transactions to get all of the assurance they need to be able to accept transactions on a 'zero confirmation' basis (see [[Confirmation]]).  Merchants are able to find out in advance (even before broadcasting a transaction) what transaction fee is required by miners to mine it.
+
The API enables merchants accepting Bitcoin transactions to get all of the assurance they need to be able to accept transactions on a 'zero confirmation' basis (see [[Confirmation]]).  Merchants are able to find out in advance (even before broadcasting a transaction) what transaction fee is required by Miners to mine it.
  
 
===Background===
 
===Background===
Line 9: Line 9:
 
{{quote|"If you can broadcast a transaction to miners and then get a response from them a second later, to say that they've accepted the transaction, then the 'zero conf' problem largely goes away".}}
 
{{quote|"If you can broadcast a transaction to miners and then get a response from them a second later, to say that they've accepted the transaction, then the 'zero conf' problem largely goes away".}}
  
It also allows miners to put user based fee policies in place.  See [https://www.yours.org/content/the-dawn-of-the-age-of-competitive-mining-1cc8d831dc34 The dawn of the age of competitive mining] (Steve Shadders, yours.org, October 2019)
+
It also allows Miners to put user-based fee policies in place.  See [https://www.yours.org/content/the-dawn-of-the-age-of-competitive-mining-1cc8d831dc34 The dawn of the age of competitive mining] (Steve Shadders, yours.org, October 2019)
  
===BRFC Specification===
+
===BRFC (Bitcoin Request for Comment) Specification===
 
The BRFC specification can be found [https://github.com/bitcoin-sv-specs/brfc-merchantapi here].
 
The BRFC specification can be found [https://github.com/bitcoin-sv-specs/brfc-merchantapi here].
  
 
===Reference Implementation===
 
===Reference Implementation===
 
The reference implementation can be found [https://github.com/bitcoin-sv/merchantapi-reference here].
 
The reference implementation can be found [https://github.com/bitcoin-sv/merchantapi-reference here].

Latest revision as of 01:45, 4 November 2020

The mAPI (formally known as Merchant API) is a new development in Bitcoin, released in April 2020.

The API enables merchants accepting Bitcoin transactions to get all of the assurance they need to be able to accept transactions on a 'zero confirmation' basis (see Confirmation). Merchants are able to find out in advance (even before broadcasting a transaction) what transaction fee is required by Miners to mine it.

Background

As explained by Steve Shadders in Steve Shadders Discusses the Bitcoin SV (BSV) Tech Pillars - Bitstocks Podcast Ep. 7 at 36m 12s:

"If you can broadcast a transaction to miners and then get a response from them a second later, to say that they've accepted the transaction, then the 'zero conf' problem largely goes away".

It also allows Miners to put user-based fee policies in place. See The dawn of the age of competitive mining (Steve Shadders, yours.org, October 2019)

BRFC (Bitcoin Request for Comment) Specification

The BRFC specification can be found here.

Reference Implementation

The reference implementation can be found here.