Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 830 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 830 Bytes

Original Paper: Homomorphic Payment Addresses and the Pay-to-Contract Protocol

Pay-to-Contract transaction with signaling output tx.

Client

  • get merchant's pubkey and order-format(JSON format)
  • build transaction for buying order and send bitcoin
  • upload json to IPFS

Server

  • watch blockchain to search signaling tx.
  • get IPFS location from signal
  • lookup order contract from ipfs

development tips

TODO

  • make as a library
  • publish as npm package
  • option to use blockCypher API/ bitcore light client
  • remove OP_RETURN with IPFS tag