Bitcoin Forum
September 27, 2018, 09:57:26 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin-Postgres bridge  (Read 814 times)
tinybike
Jr. Member
*
Offline Offline

Activity: 39
Merit: 10

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
1538085446
Hero Member
*
Offline Offline

Posts: 1538085446

View Profile Personal Message (Offline)

Ignore
1538085446
Reply with quote  #2

1538085446
Report to moderator
1538085446
Hero Member
*
Offline Offline

Posts: 1538085446

View Profile Personal Message (Offline)

Ignore
1538085446
Reply with quote  #2

1538085446
Report to moderator
1538085446
Hero Member
*
Offline Offline

Posts: 1538085446

View Profile Personal Message (Offline)

Ignore
1538085446
Reply with quote  #2

1538085446
Report to moderator
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!