Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: razorfishsl on July 18, 2013, 01:30:50 AM



Title: tools for writing to the bitcoin chain
Post by: razorfishsl on July 18, 2013, 01:30:50 AM
Hi,

I'm looking for any info related to "tools for writing to the bitcoin chain" in-particular something that can be used to assemble scripts.


Title: Re: tools for writing to the bitcoin chain
Post by: andylondon on July 20, 2013, 02:48:18 PM
You can use sendrawtransaction via JSON RPC to 'write into the blockchain'

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list

Andy.


Title: Re: tools for writing to the bitcoin chain
Post by: piotr_n on July 20, 2013, 07:25:47 PM
Hi,

I'm looking for any info related to "tools for writing to the bitcoin chain" in-particular something that can be used to assemble scripts.

assembling scripts is a wide term - writing to the bitcoin chain is even wider :)
what do you want to give at input, and what result would you expect?
assembling scripts is easy - signing them is the most complex part, but this you can do in bitcoind with signrawtransaction, if it knows your keys.


Title: Re: tools for writing to the bitcoin chain
Post by: genjix on July 21, 2013, 01:10:28 AM
Hey,

I'm really interested in this and have been building some things already:

https://bitcointalk.org/index.php?topic=50721.0

I believe that if we give good nice modular tools to admins that they can chain together in bash scripts, then that's helping diversify Bitcoin development.

At the moment I'm just stuck on designing the interface (what arguments, commands and switches look like. what does what), and am soliciting feedback if anyone has any ideas. I already have some cool possibilities.

On the backend, I have a load balancer with several workers (full Bitcoin nodes) that you can make blockchain queries against for scalability and redundancy, and subscribe to new confirmed blocks and validated unconfirmed transactions. It's all asynchronous.

https://github.com/genjix/obelisk

I want to make a lite non-persistent wallet, some building blocks, Linux admin tools, secure backend for website balances.

For managing keys, I have a toolset for Linux where you can do stuff like
offline transactions for safely managing Bitcoins in cold storage with a
trained admin.

Here's an example of the fullnode (300 LOC) in C++, Python (bindings) and C (wrapper).

http://libbitcoin.dyne.org/doc/examples/fullnode.html#examples-fullnode
https://gitorious.org/libbitcoin-bindings/libbitcoin-bindings/blobs/master/tests/fullnode.py
https://github.com/genjix/libbitcoin-c-wrapper/blob/master/examples/fullnode.c

My email is on my website:

http://libbitcoin.dyne.org/


Title: Re: tools for writing to the bitcoin chain
Post by: razorfishsl on July 21, 2013, 11:12:04 PM
Hi,
Yep I had actually taken a look at the java project code for working with the block chain,
I had wondered if there were any slightly more sophisticated tools, before I started to throw something together...

There are a few interesting 'side channel' things I have been thinking about....