Questions tagged [bitcoinjs]

BitcoinJS allows you to create webpages that pull information from the blockchain.

Filter by
Sorted by
Tagged with
7
votes
1answer
716 views

Which language has better Bitcoin API experience, C# or Node.js?

At the moment it seems to me on the .NET side NBitcoin would compete with Bitcoin.js on the other. Update: I decided on NBitcoin. It has a great book to learn from. Note I will not form opinion on my ...
4
votes
2answers
2k views

How do you broadcast a transaction programatically?

What is the best way to broadcast a transaction to the network programatically? I know that blockchain.info has /pushtx but I'm pretty sure it rejects XHR requests from external sources because of ...
4
votes
1answer
198 views

Do all implementation of Deterministic RFC6979-compliant ECDSA signatures generate the same signed transaction given the same data?

So if I were to create the same transaction using bitcoinjs and bitcoinj, the end result of the signed transaction would be the same with both libraries, is that correct?
2
votes
1answer
324 views

Why am I unable to post two transactions (the second from the change address of the first) in the same block?

I'm attempting to make a transaction on the testnet with an OP_RETURN and a change address in it, and then make a second OP_RETURN transaction from first transaction's change address in the same ...
2
votes
1answer
289 views

Hybrid Bitcoin web wallet for performing multi-sig transaction on an e-commerce site

Two participants in a transaction, a buyer and a seller, need to interact financially. For security, they themselves keep their private keys and sign transactions on client using JS. I want to create ...
4
votes
4answers
188 views

Preventing the exposure of public addresses on a website

Rather than having a single, fixed address, I want to generate a new address on my website every time a user request comes in. I'm concerned about google or another web crawler indexing my website ...
2
votes
2answers
3k views

Create OP_RETURN tx with Bitcoinjs-lib

I know how to create a basic TX: var bitcoin = require('bitcoinjs-lib') var tx = new bitcoin.Transaction() // Add the input (who is paying) of the form [previous transaction hash, index of the ...
2
votes
1answer
263 views

Error pushing hex of tx, generated with bitcoinjs 1.0, on testnet

I'm new to bitcoin programming and decided to give it a try with the release of bitcoinjs-lib 1.0. Here is how I generate the hex for the transaction var bitcoin = require('bitcoinjs-lib'); var key =...
2
votes
1answer
280 views

Created an HTML5 Game, best way to integrate Bitcoin?

Okay so I just finished up a ping pong HTML5 game I've been working on as practice, and I was thinking of integrating Bitcoin into the game so when a user wins vs. the CPU, they get a small amount of ...
7
votes
1answer
653 views

How to use bitcoinjs with TestNet?

One of my colleagues is trying to use bitcoinjs with TestNet, but apparently it doesn't like TestNet headers, so it doesn't work. Is there any way to make to use bitcoinjs with TestNet? Is there some ...
3
votes
0answers
208 views

BitcoinJS with no storage?

I have a use-case where I'd only need to be monitoring the mempool transactions and recently-committed blocks/transactions (the last month's worth of blocks would be sufficient). Is there a way to ...
1
vote
0answers
1k views

Getting wallet balance with BitcoinJS + Bitcoin-lib (client lib)

I have server with BitcoinJS and Bitcoin ExitNode running. I try to fetch wallet balance from client with code from manual on wiki page. I have send money on client generated address, but app says ...
1
vote
1answer
470 views

Is BitcoinJS under active development?

I love the idea of a powerful alternative to bitcoind, and especially the ability to subscribe on blockchain events and easily process them on the server side. However, I see the last activity on ...
6
votes
1answer
1k views

Is there a good tutorial on how to use bitcoinjs exit nodes?

The documentation that I found seems to contain info about specific API calls, but no top level explaination/example. Where can I find a practical concise example of using exit nodes? I'd like to ...
5
votes
1answer
309 views

Are there live BitcoinJS Exit Nodes?

Where can I find some live (trusted?) BitcoinJS Exit Nodes? I'm looking it it from the client perspective - I want to write a Java app that doesn't store a blockchain. I don't want to setup an exit ...