Questions tagged [java]

Java is a programming language.

Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform.

133 questions
13
votes
2 answers

Java library for Bitcoin Client Application

are there Java libraries for Bitcoin available to develop client applications?
Thor
  • 1,027
  • 1
  • 9
  • 10
7
votes
9 answers

How to communicate between Java and bitcoind?

I am having problems communicating between Java and bitcoind - every JSON RPC library I try has some issues. Can anyone provide a working implementation of even the most basic JSON RPC communication between Java and bitcoind ?
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
7
votes
3 answers

Can I send message inside the transactions script?

I would like to send transactions with messages as described in the wiki. In Transaction with slightly changed script is never relayed, someone answered that non-standard transactions are not relaid by the client. I was wondering if this will affect…
Omar Alriyami
  • 81
  • 1
  • 3
7
votes
1 answer

How to sign raw transaction given a private key and SHA hash (in java)

I have followed the instructions here to build my own bitcoin transaction. Redeeming a raw transaction step by step example required Currently my code can create a transaction and compute the SHA hash but I am struggling to sign it using ECDSA. I…
alex676
  • 73
  • 1
  • 3
6
votes
1 answer

Test Network Genesis Block

I am using BitcoinJ for my java application which fetches the test network's genesis block. I referred to the basics mentioned at JavaWorld and BitcoinJ's Google Code wiki. I am able to get it running but there seems to be an error while waiting for…
Raghav Bali
  • 111
  • 2
6
votes
1 answer

How do I generate offline transactions in Java?

I'd like to develop a Java binding to the Stratum Overlay Network (a server for thin clients). This requires signing on offline transactions. Can I directly use bitcoinj's API to do this? Can I copy-paste some java from from it? In shorts, how would…
ripper234
  • 26,452
  • 30
  • 111
  • 246
5
votes
1 answer

How to run Bitcoinj on Heroku?

Does anyone know where I might find a tutorial on how to deploy a bitcoinj server (essentially a replica of a bitcoind server with an rpc API) on Heroku?
ZenBalance
  • 373
  • 3
  • 11
5
votes
2 answers

How do I create an offline transaction in java to broadcast via blockchain.info?

Blockchain.info has a PushTX API. How do I create & sign a raw transaction in Java for use in this API? Should I use bitcoinj? Are there any code samples?
ripper234
  • 26,452
  • 30
  • 111
  • 246
5
votes
1 answer

How to build Merkle root from merkle branches?

Is there any help/tutorial on how to build the Merkle root from stratum data? The Slushpool's stratum protocol has an example of a mining job but it does not contain any Merkle branches and I don't know if I am generating the Merkle root…
Nikos
  • 51
  • 2
5
votes
1 answer

Load a transaction with bitcoinj

I am developing simple Bitcoin application using the bitcoinj library: The user enters the hash of a transaction and my application should return detailed information about that transaction. How can I load that transaction? Is there a function like…
5
votes
1 answer

Generating an address from a private key in Java?

I'd like to write a function in Java that takes a private key and generates the address to use in a QR code. I'd like to make this , but I'm not very good with the hashing algorithms. I've checked with https://www.bitaddress.org and what is…
user1009013
  • 183
  • 1
  • 6
4
votes
1 answer

Building Signed Bitcoin Transaction in Java

I have been attempting to build my own raw transaction generator in Java which I can then broadcast on the testnet network. The problem is when I attempt to broadcast the transaction it says there is an error in the redemption script, which I do not…
4
votes
1 answer

Bitcoin ZeroMQ and Scala application

I'm trying to connect to Bitcoin's ZeroMQ queue, having no success and don't even know where my problem is. Here is what I did so far on my Ubuntu 14.04: Installed Bitcoin via sudo apt-get install bitcoin-qt installed ZeroMQ via wget…
src091
  • 253
  • 1
  • 9
4
votes
2 answers

Library for trading on major exchanges

Is there a library which exposes order-book and trading functionality of major exchanges like BTC-e, Bitfinex, Cryptsy etc. ? I know these site have their own API but I wanted to re-use the code, if some sort of library is already available. I am…
NRJ
  • 153
  • 5
4
votes
3 answers

Check Bitcoin address balance from blockchain

I am a merchant that accepts bitcoins, and I'm building my own desktop client for receiving them in Java. When I receive a transaction, I would like to be able to see in my client how much bitcoin is stored in the address that I am receiving from. I…
user2980492
  • 179
  • 4
1
2 3
8 9