Author

Topic: How to create/send a Tx from Brainwallet.org (Read 1450 times)

hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Another problem I found using brainwallet is that it creates bad transactions, for instance the one that I pushed took more than 10 hours to get confirmed (I thought it would never confirm) because instead of sending the full amount (like I told it to do) brainwallet deducted 1 satoshi from the transaction which resulted in sending that 1 satoshi back to the sender's address and then I got this warning in blockchain explorer "This transaction has a very small output and is none standard" even though it did had 0.0001 Tx fee.

You should review your transaction before pushing it. Read 'JSON Transaction' field and you will see details. After you verify, correct if there is any mistakes/errors and then push transaction.
hero member
Activity: 812
Merit: 1000
Another problem I found using brainwallet is that it creates bad transactions, for instance the one that I pushed took more than 10 hours to get confirmed (I thought it would never confirm) because instead of sending the full amount (like I told it to do) brainwallet deducted 1 satoshi from the transaction which resulted in sending that 1 satoshi back to the sender's address and then I got this warning in blockchain explorer "This transaction has a very small output and is none standard" even though it did had 0.0001 Tx fee.
hero member
Activity: 910
Merit: 1000
Nothing is wrong with the unspent outputs, to check that I just pushed the Transaction from electrum to another address and it went through instantly and I'll try again with one more address/private key, again containing few mBTCs (more than the previous one) and see if I am able to push it from that one.

Edit: I think I found the problem, I was trying to push the Tx to a multisig address and as soon as I entered a normal address, the Tx got signed and is now ready to be pushed. So I guess brainwallet cannot push transactions to multisig addresses.

Uh! BitcoinJ doesn't support sending to P2SH address.

I don't get it - brainwallet.org is written in Java (doesn't look like it from the repo)?

BitcoinJ is written in Java.

Also, BitcoinJ might have implemented some P2SH features: https://bitcoinj.github.io/working-with-contracts#p2sh-pay-to-script-hash

You can send *from* P2SH address but not *to* P2SH address AFAIK. Multisig implementation of Brainwallet.org is http://ms-brainwallet.org/ but not from same developer.

Aha! I see now about P2SH addresses using BitcoinJ, thanks! I thought it was completed. Still I am confused as to what BitcoinJ has to do with brainwallet.org ... but it's no big deal.

BitcoinJ is an implementation of Bitcoin protocol in Java and Brainwallet.org uses BitcoinJ.

https://bitcointalksearch.org/topic/welcome-developers-250531

I know about BitcoinJ - and if you say so, I don't doubt you - but I really thought from looking at the GitHub repo that Brainwallet.org is written in JavaScript. Not Java. (Anyway, no need to go on about this.)

You are right. I missed it.

Brainwallet is using BitcoinJS not BitcoinJ. http://bitcoinjs.org

Great! Nice to see we are on the same page. Grin

BitcoinJS looks really nice actually and I've never used. I will probably be giving it a try!
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Nothing is wrong with the unspent outputs, to check that I just pushed the Transaction from electrum to another address and it went through instantly and I'll try again with one more address/private key, again containing few mBTCs (more than the previous one) and see if I am able to push it from that one.

Edit: I think I found the problem, I was trying to push the Tx to a multisig address and as soon as I entered a normal address, the Tx got signed and is now ready to be pushed. So I guess brainwallet cannot push transactions to multisig addresses.

Uh! BitcoinJ doesn't support sending to P2SH address.

I don't get it - brainwallet.org is written in Java (doesn't look like it from the repo)?

BitcoinJ is written in Java.

Also, BitcoinJ might have implemented some P2SH features: https://bitcoinj.github.io/working-with-contracts#p2sh-pay-to-script-hash

You can send *from* P2SH address but not *to* P2SH address AFAIK. Multisig implementation of Brainwallet.org is http://ms-brainwallet.org/ but not from same developer.

Aha! I see now about P2SH addresses using BitcoinJ, thanks! I thought it was completed. Still I am confused as to what BitcoinJ has to do with brainwallet.org ... but it's no big deal.

BitcoinJ is an implementation of Bitcoin protocol in Java and Brainwallet.org uses BitcoinJ.

https://bitcointalksearch.org/topic/welcome-developers-250531

I know about BitcoinJ - and if you say so, I don't doubt you - but I really thought from looking at the GitHub repo that Brainwallet.org is written in JavaScript. Not Java. (Anyway, no need to go on about this.)

You are right. I missed it.

Brainwallet is using BitcoinJS not BitcoinJ. http://bitcoinjs.org
hero member
Activity: 910
Merit: 1000
Nothing is wrong with the unspent outputs, to check that I just pushed the Transaction from electrum to another address and it went through instantly and I'll try again with one more address/private key, again containing few mBTCs (more than the previous one) and see if I am able to push it from that one.

Edit: I think I found the problem, I was trying to push the Tx to a multisig address and as soon as I entered a normal address, the Tx got signed and is now ready to be pushed. So I guess brainwallet cannot push transactions to multisig addresses.

Uh! BitcoinJ doesn't support sending to P2SH address.

I don't get it - brainwallet.org is written in Java (doesn't look like it from the repo)?

BitcoinJ is written in Java.

Also, BitcoinJ might have implemented some P2SH features: https://bitcoinj.github.io/working-with-contracts#p2sh-pay-to-script-hash

You can send *from* P2SH address but not *to* P2SH address AFAIK. Multisig implementation of Brainwallet.org is http://ms-brainwallet.org/ but not from same developer.

Aha! I see now about P2SH addresses using BitcoinJ, thanks! I thought it was completed. Still I am confused as to what BitcoinJ has to do with brainwallet.org ... but it's no big deal.

BitcoinJ is an implementation of Bitcoin protocol in Java and Brainwallet.org uses BitcoinJ.

https://bitcointalksearch.org/topic/welcome-developers-250531

I know about BitcoinJ - and if you say so, I don't doubt you - but I really thought from looking at the GitHub repo that Brainwallet.org is written in JavaScript. Not Java. (Anyway, no need to go on about this.)
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Nothing is wrong with the unspent outputs, to check that I just pushed the Transaction from electrum to another address and it went through instantly and I'll try again with one more address/private key, again containing few mBTCs (more than the previous one) and see if I am able to push it from that one.

Edit: I think I found the problem, I was trying to push the Tx to a multisig address and as soon as I entered a normal address, the Tx got signed and is now ready to be pushed. So I guess brainwallet cannot push transactions to multisig addresses.

Uh! BitcoinJ doesn't support sending to P2SH address.

I don't get it - brainwallet.org is written in Java (doesn't look like it from the repo)?

BitcoinJ is written in Java.

Also, BitcoinJ might have implemented some P2SH features: https://bitcoinj.github.io/working-with-contracts#p2sh-pay-to-script-hash

You can send *from* P2SH address but not *to* P2SH address AFAIK. Multisig implementation of Brainwallet.org is http://ms-brainwallet.org/ but not from same developer.

Aha! I see now about P2SH addresses using BitcoinJ, thanks! I thought it was completed. Still I am confused as to what BitcoinJ has to do with brainwallet.org ... but it's no big deal.

BitcoinJ is an implementation of Bitcoin protocol in Java and Brainwallet.org uses BitcoinJ.

https://bitcointalksearch.org/topic/welcome-developers-250531
hero member
Activity: 910
Merit: 1000
Nothing is wrong with the unspent outputs, to check that I just pushed the Transaction from electrum to another address and it went through instantly and I'll try again with one more address/private key, again containing few mBTCs (more than the previous one) and see if I am able to push it from that one.

Edit: I think I found the problem, I was trying to push the Tx to a multisig address and as soon as I entered a normal address, the Tx got signed and is now ready to be pushed. So I guess brainwallet cannot push transactions to multisig addresses.

Uh! BitcoinJ doesn't support sending to P2SH address.

I don't get it - brainwallet.org is written in Java (doesn't look like it from the repo)?

BitcoinJ is written in Java.

Also, BitcoinJ might have implemented some P2SH features: https://bitcoinj.github.io/working-with-contracts#p2sh-pay-to-script-hash

You can send *from* P2SH address but not *to* P2SH address AFAIK. Multisig implementation of Brainwallet.org is http://ms-brainwallet.org/ but not from same developer.

Aha! I see now about P2SH addresses using BitcoinJ, thanks! I thought it was completed. Still I am confused as to what BitcoinJ has to do with brainwallet.org ... but it's no big deal.
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Nothing is wrong with the unspent outputs, to check that I just pushed the Transaction from electrum to another address and it went through instantly and I'll try again with one more address/private key, again containing few mBTCs (more than the previous one) and see if I am able to push it from that one.

Edit: I think I found the problem, I was trying to push the Tx to a multisig address and as soon as I entered a normal address, the Tx got signed and is now ready to be pushed. So I guess brainwallet cannot push transactions to multisig addresses.

Uh! BitcoinJ doesn't support sending to P2SH address.

I don't get it - brainwallet.org is written in Java (doesn't look like it from the repo)?

BitcoinJ is written in Java.

Also, BitcoinJ might have implemented some P2SH features: https://bitcoinj.github.io/working-with-contracts#p2sh-pay-to-script-hash

You can send *from* P2SH address but not *to* P2SH address AFAIK. Multisig implementation of Brainwallet.org is http://ms-brainwallet.org/ but not from same developer.
hero member
Activity: 910
Merit: 1000
Nothing is wrong with the unspent outputs, to check that I just pushed the Transaction from electrum to another address and it went through instantly and I'll try again with one more address/private key, again containing few mBTCs (more than the previous one) and see if I am able to push it from that one.

Edit: I think I found the problem, I was trying to push the Tx to a multisig address and as soon as I entered a normal address, the Tx got signed and is now ready to be pushed. So I guess brainwallet cannot push transactions to multisig addresses.

Uh! BitcoinJ doesn't support sending to P2SH address.

I don't get it - brainwallet.org is written in Java (doesn't look like it from the repo)?
Also, BitcoinJ might have implemented some P2SH features: https://bitcoinj.github.io/working-with-contracts#p2sh-pay-to-script-hash
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Nothing is wrong with the unspent outputs, to check that I just pushed the Transaction from electrum to another address and it went through instantly and I'll try again with one more address/private key, again containing few mBTCs (more than the previous one) and see if I am able to push it from that one.

Edit: I think I found the problem, I was trying to push the Tx to a multisig address and as soon as I entered a normal address, the Tx got signed and is now ready to be pushed. So I guess brainwallet cannot push transactions to multisig addresses.

Uh! BitcoinJ doesn't support sending to P2SH address.
hero member
Activity: 812
Merit: 1000
Nothing is wrong with the unspent outputs, to check that I just pushed the Transaction from electrum to another address and it went through instantly and I'll try again with one more address/private key, again containing few mBTCs (more than the previous one) and see if I am able to push it from that one.

Edit: I think I found the problem, I was trying to push the Tx to a multisig address and as soon as I entered a normal address, the Tx got signed and is now ready to be pushed. So I guess brainwallet cannot push transactions to multisig addresses.
legendary
Activity: 3038
Merit: 1032
RIP Mommy
What's the address? Maybe there's something wrong with the unspent outputs.
hero member
Activity: 812
Merit: 1000
That is what I though it would do upon entering the destination address but I just tried it again to see if I made any mistake earlier but nothing, the Re-sign and Send Transaction buttons are not enabled. I am trying to "Build Transaction from Private Key" and I don't know how to do it with json or raw transaction.

I understand it is risky to use the online version which is why I am using an address which contains a very small amount of coins.
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
There must have been some mistake on your part. After you enter destination address, it will auto-sign transaction. You can either send it by clicking 'Send Transaction'* or by pushing the signed raw transaction elsewhere. Try again.

It is not good to expose private keys to these websites. It is better to download a version and use it forever. There can be instances where the developer add shady codes. Be cautious!

* Brainwallet.org uses Blockchain.info/pushtx to push signed raw transaction.
hero member
Activity: 812
Merit: 1000
I am just testing it but I have no idea how to do this, is there ELI5 version of it anywhere? I have entered my private key and it shows the unspent outputs but when I enter the destination address, nothing happens, the buttons to re-sign/send are not enabled.
Jump to: