Java is a programming language.

learn more… | top users | synonyms

0
votes
0answers
26 views

How to mine using bitcoinJ?

I'm using bitcoinJ to create a custom wallet that works in Java, but I don't have any idea to mining using bitcoinJ. Anyone have any idea? Thansk for advice!!
1
vote
0answers
47 views

How to sign a transaction using BitcoinJ

I am having problem signing the transaction using BitcoinJ library without the Wallet instance, I only have the Transaction class instance and the ECKey in order to sign the transaction. Is there a ...
0
votes
1answer
26 views

Xemian Xchange Api for Java, returning a default of 100 market orders

For sometime I am using this java API http://xeiam.com/xchange/ for building bitcoin trading robots. Today I got a bit stuck and I wanted to see if somebody had the same issue before. I call the ...
2
votes
2answers
79 views

Accept payments on someone else's behalf without being able to spend them

TL;DR I wish to store some sort of key in my application for each vendor account that allows for my application to generate a receiving address for clients to make payments to. I am writing some ...
0
votes
2answers
216 views

Java code for Bitcoin Mining?

I am a student and doing research on Bitcoin. I wanted to know how mining is done but I wanted it see the some basic java code. Can some one provide me with resources? I would appreciate if some one ...
3
votes
1answer
154 views

Generating private keys in Java

I'm looking for a way to generate private keys in Java. I'd like to make this a standalone program, so I'd rather not use a library like bitcoinj. From my research I've only seen people recommend ...
0
votes
0answers
261 views

blockchain.info websocket: Error code = 1006, Unexpected end of stream

I am using javax.websockets to have a webSocket connection with Blockchain.info, except that it closes down after random intervals, and I can see the close reason as: 'Unexpected end of stream', ...
0
votes
0answers
246 views

java.lang.NoClassDefFoundError: Could not initialize class com.google.bitcoin.core.Block when dealing with Bitcoin address

I have a private key bigInt of type bigInteger and I would like to generate the address corresponding to this private key. I implemented the following function public String get_address () { Address ...
0
votes
1answer
91 views

NoClassDefFoundError when using Java Coinbase API

I've simply downloaded an API .jar file of a Coinbase. I've created a project dynamic web project. I added successfully into a reference library that API. Here is my simple program: import ...
0
votes
1answer
269 views

java.lang.NoClassDefFoundError: org/spongycastle/util/encoders/Hex in Java when dealing with Bitcoin addresses

I have a private key bigInt of type bigInteger and I would like to generate the address corresponding to this private key. I implemented the following function public String get_address () { Address ...
1
vote
1answer
50 views

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 ...
0
votes
1answer
44 views

Can I create a public address for Bitcoin without the private address appearing on the screen?

Is there JavaScript which will do this? I would generate a 256 bit password using 99 dice throws, enter it into JavaScript on an offline computer (like using bitaddress.org) and get an address to ...
1
vote
0answers
74 views

bitcoinj, unknown confidence level

I've got a bitcoin address A with its relative encrypted key K stored in a persistence storage. I am launching bitcoinj through the WalletAppKit class and calling awaitRunning to wait for the ...
0
votes
0answers
37 views

How do you install NXT on Android?

How do you install NXT on Android? I already have a Java Virtual Machine running on my phone.
0
votes
1answer
274 views

http post via java to bitcoind does not work

I am using Ubuntu Server 12.04. My *.conf file: ... # Enable RPC server=1 # Uncomment to allow localhost to use RPC rpcallowip=127.0.0.1 # RPC information # THIS MUST BE CHANGED FOR YOUR SECURITY ...
0
votes
4answers
923 views

MultiBit won't open, says “Java not installed”

My MultiBit wallet won't open, because "Java is not installed", though I have Java 8, 7u51, and 6u49 installed... Which version of Java should I have installed?
1
vote
0answers
77 views

How to use Bitcoinj to authenticate signed messages?

I'd like to authenticate from java code on a website that makes use of javascript/ajax authentication like below: var key = new Bitcoin.ECKey(Crypto.util.hexToBytes(SHA256(password))); var ...
1
vote
0answers
62 views

BitcoinJ without PeerNetwork

I am writing a system which generates wallets on a per user basis. It must be capable to receive and send payments. So I have to keep the private keys encrypted on the system. Generating the ...
1
vote
1answer
619 views

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 ...
2
votes
1answer
267 views

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 ...
1
vote
1answer
204 views

Get address balance in Java

I'm a merchant that is currently developing program that I will use for receiving transactions for my business. I would like my program to be able to check how much Bitcoin the address sending to me ...
0
votes
0answers
89 views

Verifying mrkl_root from two children nodes in JAVA

Let's use the following block for a reference: http://blockexplorer.com/rawblock/00000000000000001e8d6829a8a21adc5d38d0a473b144b6765798e61f98bd1d According to my understanding (correct if wrong), I ...
3
votes
1answer
496 views

Creating Base58 public key & private key in Java?

How can I create a base58 private key and public key in Java? I'm pretty familiar with Java and I have the bitcoinj-minimal code, but it's not clear to me how I can generate a base58 key pair from the ...
0
votes
1answer
97 views

BOP: Not authorized to receive from the temporary destination

I'm trying to run my own BOP (BitsOfProof) server and connect to it. I appear to be able to connect, but I am unable to execute any commands. I am connecting with the following: ...
2
votes
1answer
313 views

Does the MultiBit linux jar file run in windows?

A windows system has a standalone java and is not recognized by the installer. A jar file can be run on the command line. Is the MultiBit linux jar and the windows installed one the same?
-1
votes
1answer
80 views

How safe is it for me to install Java on OS X 10.8 to use Bitcoin [closed]

I want to use the Bitcoin client Multibit, but to do so I will need to install Java which over the past six months I've only heard bad things about. So my question is: how safe is it for me to ...
5
votes
1answer
640 views

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?
2
votes
0answers
291 views

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 BitCoins Google Code wiki. I am able to get it running ...
3
votes
1answer
129 views

BitCoinJ for Cloud based application

I am currently working on a cloud based project that will be accepting payments using bitcoins. I intend to use BitCoinJ to handle the payment. Unfortunately the only help I am able to get is from the ...
4
votes
2answers
2k views

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?
5
votes
5answers
1k views

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 ...
2
votes
1answer
581 views

Bitcoind returning “Invalid JSON-RPC 2.0 response”?

I am starting to use a basic implementation of Bitcoin JSON RPC (dzhuvinov library), and I am getting a strange result. Here is my code: public static void main(String[] args) { URL serverURL = ...
6
votes
3answers
2k views

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 ...
4
votes
1answer
224 views

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 ...
5
votes
1answer
505 views

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 ...
9
votes
2answers
1k views

Java library for Bitcoin Client Application

are there Java libraries for Bitcoin available to develop client applications?