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 ...
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,...
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 ...
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 ...
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"). ...
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 ...
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.
...
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 ...
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 ...
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 ...
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 ...
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('...
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-...
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
...
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 ...
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 ...
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,...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
blockcypher × 30blockchain × 9
bitcoin-core × 6
transactions × 5
testnet × 4
python × 3
private-key × 2
api × 2
script × 2
bip32-hd-wallets × 2
public-key × 2
signature × 2
raw-transaction × 2
transaction-verification × 2
python-bitcoinlib × 2
wallet × 1
transaction-fees × 1
client × 1
segregated-witness × 1
litecoin × 1
bitcoin-cash × 1
bitcoinj × 1
utxo × 1
confirmations × 1
ecdsa × 1