Author

Topic: API Creation to interact with Bitcoin node (Read 372 times)

Was
member
Activity: 75
Merit: 14
We are Satoshi.
December 10, 2015, 05:42:19 AM
#1
Hello All,

I am interested in creating an API to interact with a bitcoin node to send and retrieve OP_RETURN transactions for the purpose of putting data into the blockchain as well as pulling the data from the blockchain

The process I had in mind went something like this: Insert text string, make string into variable(n),  convert variable to hex(x), make hex as a variable within API, push variable to Bitcoin within OP_RETURN script.

and on the other end for interpretation: Pull txid from blockchain containing output script "OP_RETURN" with the data. convert (x) back to (n).. (HEX TO STRING) and display the original text string.

I assume the calls would be data.push and data.pull respectively.

If I want to interact with a Bitcoin node, would the most convenient(easy) language to program the API in be Node.js?

also, How do I go about creating and issuing API Keys? 

I guess more questions to come, thanks for your help on this cool project Smiley Does anyone think this would be difficult?
Jump to: