User Tools

Site Tools


http-micropayments

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
http-micropayments [2015/10/24 17:23] donpdonphttp-micropayments [2015/10/24 17:26] donpdonp
Line 1: Line 1:
-## Micropayments+## Cryptocoin HTTP Micropayments
  
 HTTP Header HTTP Header
Line 14: Line 14:
   * POST /    * POST / 
     * content-type: application/micropayment; sends signed TX     * content-type: application/micropayment; sends signed TX
-    * content-type: application/json; sends {tx: 'tx', etc}+    * content-type: application/json; sends {tx: 'tx', refund: 'addr', etc.} 
 + 
 +Fastest: client signs TX, hands to server (no bitcoin network involved). Server can selectively run various checks, including submitting to the bitcoin network and waiting, or trusting valid signature and recent balance. 
 + 
 +Cons: 
 +  * payment info in http headers is likely to be lost when content is re-uploaded (eg, uploaded to IPFS).  
 +    * Better to embed in HTML doc 
 +    * other mime types? png/jpeg/mp4
  
-Fastest: client signs TX, hands to server (no bitcoin network involved). Server can selectively run various checks, including submitting to the bitcoin network and waiting, or trusting valid signature and current known balance. 
http-micropayments.txt · Last modified: 2024/01/31 04:08 by 127.0.0.1