5 votes

Difference between Sign Message and Sign Transaction

Is the difference that for "Sign Message", first a digest is created, which is then signed, while for "Sign Transaction" (in the meaning written above), the input is already a digest, so it shouldn't ...
Andrew Chow's user avatar
  • 68.6k
3 votes
Accepted

How many addresses can be in input and output of a transaction

Every transaction output locks funds to one specific output script. These scripts can have various spending conditions such as for example requiring a signature of one specific private key (P2KH, P2KH,...
Murch's user avatar
  • 72.9k
3 votes

How can you create a transaction with multiple inputs from the Blockcypher API?

Blockcypher API shows only the example of how to compose a transaction with a single input, therefore, it might look like the array of addresses will do the job, but no. If you'll do this by passing ...
eirlis's user avatar
  • 31
2 votes

blockcypher shows much higher amount transacted

I am making the presumption that localbitcoins.com does as many web wallet providers do, amalgamate transactions. Most likely your transaction was combined by the wallet provider with some others ...
Willtech's user avatar
  • 3,231
2 votes
Accepted

What does the "relayed_by" field in the BlockCypher API represent? Is there a way to gather geographical data of transactions?

It's the IP address of the node that first sent us the transaction. As transaction broadcast works a bit like gossip, it's not guaranteed to be the original node (it could be a node "in the middle"). ...
Matthieu's user avatar
  • 901
2 votes
Accepted

Negative number of confirmations for a testnet transaction on blockexplorer

If you look closely on blockexplorer.com, you will notice that the site does mention that the transaction was included in block #1484064. The blockexplorer seems to be confused about the height of the ...
Murch's user avatar
  • 72.9k
2 votes
Accepted

Testnet addresses fail in explorers

You are on the right track. The address is derived correctly, it is just not encoded with the right version. You need to add the testnet network version to the btc.payments.p2pkh call as well. ...
guggero's user avatar
  • 228
2 votes

How many addresses can be in input and output of a transaction

After sleeping and looking at your question again, I think I am getting what you were asking. While in Ethereum it is common to have a single address when operating a wallet because there is ...
Murch's user avatar
  • 72.9k
1 vote
Accepted

Blockcypher new transaction request returning more than input and output

Not sure what other amounts relate to. "total": 55000, The amount being transferred to outputs in this transaction "fees": 30000, The difference between total input ...
RedGrittyBrick's user avatar
1 vote

How can you create a transaction with multiple inputs from the Blockcypher API?

Disclaimer: I have not tried this, I just glanced at the API documentation. H/T to eirlis for providing the correct syntax. As the API documentation for Creating Transactions specifies, you provide ...
Murch's user avatar
  • 72.9k
1 vote

Without knowing private public key any one can withdraw btc from address. Is it possible?'

Regarding your title, without knowing the private key, no one can withdraw your BTC, that's for sure. First of all, I would argue it's a bad idea to use a third-party online service to generate and ...
yyforyongyu's user avatar
1 vote
Accepted

How do you sign data with a private key? [javascript]

You could try using eccrypto index.js: var crypto = require("crypto"); var eccrypto = require("eccrypto"); // A new random 32-byte private key. var privateKey = Buffer.from('...
JBaczuk's user avatar
  • 7,328
1 vote

Is it secure to collect common public addresses under a wallet using BlockCypher Wallet API

When using a third party, you will be trusting them to give you correct information. This is not just about being dishonest but also about not having bugs. For instance consider the recent cve-2010-...
Coding Enthusiast's user avatar
1 vote
Accepted

How to confirm that given bitcoin address is generated by given public key?

There is a step-by-step guide here and you can also test it on this site. You can also use this python library. import os os.environ['CRYPTOTOOLS_NETWORK'] = 'test' from btctools import PublicKey ...
Mike D's user avatar
  • 3,529
1 vote
Accepted

bitcoin transfer without creating wallet

Sure, this would work. That said, you are essentially building your own wallet - A wallet is simply a program that hold private keys, keeps track of spendable inputs, and signs transactions. Your ...
Raghav Sood's user avatar
  • 16.9k
1 vote

What could this Python Assertion error mean?

This comes from the code where the checksum of your private key is validated, and suggests that the key is not valid. However, the private key shown in your code seems to pass validation on ...
Nate Eldredge's user avatar
1 vote

Bitcoin wallet website

You'd have to get creative here. Step 1) Get unspent outputs. https://bullpay.com/docs#GetUnspentOutputs You can build your unspent outputs from multiple wallets. As long as you have the private keys,...
cleanmarker's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible