Bitcoin Forum
May 14, 2024, 05:36:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Making a blockchain verification program  (Read 877 times)
Was (OP)
Member
**
Offline Offline

Activity: 75
Merit: 12

We are Satoshi.


View Profile
December 16, 2015, 06:39:39 AM
 #1

How trivial is it to make a program that interacts with a local bitcoin node, through a GUI, that would listen for a transaction that proves ownership of a private key (in order to allow access to an account, or permissions to do certain things) by requiring a transaction broadcast from a specific public key/hash ?

Would an API like blockchain's make this easier?

Thanks!

We Are Satoshi.
1715664986
Hero Member
*
Offline Offline

Posts: 1715664986

View Profile Personal Message (Offline)

Ignore
1715664986
Reply with quote  #2

1715664986
Report to moderator
1715664986
Hero Member
*
Offline Offline

Posts: 1715664986

View Profile Personal Message (Offline)

Ignore
1715664986
Reply with quote  #2

1715664986
Report to moderator
1715664986
Hero Member
*
Offline Offline

Posts: 1715664986

View Profile Personal Message (Offline)

Ignore
1715664986
Reply with quote  #2

1715664986
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
micaman
Sr. Member
****
Offline Offline

Activity: 345
Merit: 500



View Profile WWW
December 19, 2015, 02:21:20 AM
 #2

You can use a websocket from an API to listen to new transactions and new blocks. Remember that the transactions you are listening to are still unconfirmed, and will have the first confirmation when it's hash shows up in a new block. In these transactions you can see both sender and receiving addresses.
You can also use also use RPC to interact with your bitcoind or bitcoin-qt, but in this case you will need to download the entire blockchain.

Check https://blockchain.info/api/api_websocket and https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29
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!