Bitcoin Forum
May 26, 2024, 02:46:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-Postgres bridge  (Read 891 times)
tinybike (OP)
Jr. Member
*
Offline Offline

Activity: 39
Merit: 13

Last of the freelance physicists


View Profile WWW
August 24, 2014, 07:54:22 AM
 #1

Not sure if I'm reinventing the wheel here, but I wrote a bridge between Bitcoin and Postgres:

https://github.com/tensorjack/coinbridge

It has a convenience payment method that uses "move" if possible, and "sendfrom" otherwise.  Possibly useful for websites that have a lot of users crammed into the same wallet.  Also has a transaction confirmation listener (for walletnotify) which auto-updates Postgres.

Just thought I'd post it here in case it's useful to someone.

Augur: a decentralized platform for prediction markets
http://www.augur.net
RagnarDanneskjold
Full Member
***
Offline Offline

Activity: 144
Merit: 100



View Profile
August 24, 2014, 08:44:33 AM
 #2

this is cool. nice work; will use it

git  |  | ID
'Bitcoin is the progress toward a society of privacy. The savage’s whole existence is public, ruled by the laws of his tribe. Bitcoin is the process of setting man free from men'
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!