Skip to content

Bitcoin Pay-to-contract protocol implementation with signaling transactions.

Notifications You must be signed in to change notification settings

starcharles/p2c-signaling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Bitcoin Pay-to-contract protocol implementation with signaling transactions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published