I am trying to transfer ether programatically with EthereumJ from my wallet to anothers. I have seen A similar question here but the answer did not define and initialize all the variables, nor did the link to code. Can someone post a full example of how to do this? I am not new to java nor bitcoin, but ether has proven to be very complicated to me.
[Ethereum] How to transfer from one ether wallet to another
etherethereumj
Best Answer
This is completely off the top of my head and I don't have a working project with EthereumJ on my dev machine yet. But the general idea is as follows. I just added some extra comments to help explain.
There's also this https://github.com/ethereum/ethereumj/blob/develop/ethereumj-core/src/main/java/org/ethereum/samples/SendTransaction.java