Bitcoin Forum
July 23, 2018, 08:24:26 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
  Home Help Search Donate Login Register  
  Show Posts
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 »
1  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: February 12, 2018, 03:41:36 AM
I just successfully redeemed a HODL transaction on Bitcoin Gold:


https://btgexplorer.com/tx/fe5618d7af17b25aded43a409a22ee12092f453aaf7e002cb2e3a1c62aff3281


This is after multiple failures, not sure what I did different, but at least I know it is possible now.

Okay, I figured out the problem. The code is fine, it is txid.io site for loading BTG inputs and broadcasting signed BTG transactions. Their block chain seems to be running way behind. I am guessing about 3-4 weeks.

So if you are just patient, you can use it to get your BTG.
2  Alternate cryptocurrencies / Altcoin Discussion / Re: Bitcoin Gold (BTG) on: January 13, 2018, 09:46:52 AM
Just successfully redeemed a Bitcoin Gold HODL address:

https://btgexplorer.com/tx/fe5618d7af17b25aded43a409a22ee12092f453aaf7e002cb2e3a1c62aff3281
3  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: January 13, 2018, 09:44:39 AM
I just successfully redeemed a HODL transaction on Bitcoin Gold:


https://btgexplorer.com/tx/fe5618d7af17b25aded43a409a22ee12092f453aaf7e002cb2e3a1c62aff3281


This is after multiple failures, not sure what I did different, but at least I know it is possible now.
4  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: January 12, 2018, 08:26:42 PM
Very cool! Is this the go-to for making secure multisig paper wallets?

I have tested multisig on BCH. You have to do signatures in the correct order. Also after you sign a transaction, copy/paste the signed tx back up and sign it with the second signature. It took me a few minutes to figure that part out.

I very strongly suggest testing this out first with very small amounts until you are sure you know how to do everything properly.
5  Bitcoin / Project Development / Re: ☢ LIST ☢ Brainwallet & Paper Wallet projects. on: January 08, 2018, 07:07:58 AM
How does this brainwallet score compared to others?

http://www.motelmaya.com/_BrainWallet.html
6  Alternate cryptocurrencies / Altcoin Discussion / Re: Bitcoin Gold (BTG) on: December 27, 2017, 03:38:06 AM
I like it. Something make me think it's gonna reach Bitcoin cash levels soon

I have started playing around with sending transactions. In one case, a transaction was accepted but never confirms. If I try to submit it again, I get duplicate transaction error, so I know it is in the mempool.

I also have a HODL test transaction that is being refused by the network, which means something is broken in the mining code.

My Bitcoin Cash stuff all works okay. So with BTG being broken and BCH not broken, I would bet on BCH.
7  Alternate cryptocurrencies / Altcoin Discussion / Re: Bitcoin Gold (BTG) on: December 27, 2017, 01:50:41 AM
I created a locktime test transaction that becomes valid on Dec 12, 2017 but the network won't accept the transaction, it was signed using BTG signing tools. Here is the tx:

01000000013a65895726ea6981d3a5e133657f2b11367f3cf3af239863b8028e8f67943fb400000 00074483045022100bd5ba9fe3c14cefd69819155a837133d44fd69f45d2c6900a6964580a91755 2c022019b59e7fbb2650b806f0549d636893bdc0fa31c70fb004f6dd54477b02194141412a04a0a 82f5ab175210246bc43a3c7d2401c181b29346d81c8abfdacc9e8bb53d870b7df7ca0116fe0c9ac ffffffff0100350c00000000001976a914bc2457b821457a320150b4603c41aa9a04591a5b88ac0 0000000

It validates ok, but when I try to push the tx, it says that it locktime requirement not satisfied yet even though the time was reached 2 weeks ago.


Error: 64: non-mandatory-script-verify-flag (Locktime requirement not satisfied)






8  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: December 25, 2017, 06:20:01 AM
I am pretty sure the OutCast3k coinbin site is safe. It won't sign Bitcoin Cash HODL transactions though.
I wasn't referring to coinb.in tool but txid.io tool which is a fork of OutCast3k's coinbin
there is no info about the creator (on the site) or its Ann on bctalk forum,
it won't let me create double spend (unsigned raw) tx without inputting private key Roll Eyes

That txid.io was mentioned to me a few weeks ago on Reddit, but that thread is gone now. It had a few bug fixes and fixed a couple of problems. Their HODL stuff doesnt work though, so I incorporated their fixes into my site.

I can't find anything on it on Github. Don't use that that double spend page, I absolutely don't trust it. You will notice I didn't use it in my site.

BTW, I created a double spend by hand a few days ago when a 256 byte transaction refused to go through even though it had a $17 fee.  I wasn't able to send the double spend to any of the miners without a duplicate tx error though. I finally did a child pays for parent tx using the change. Cost me another $72 fee to get it to confirm.
9  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: December 25, 2017, 03:49:10 AM
The biggest improvement is (drums..more drums) OFFLINE SIGNING for Bitcoin Cash - Happy Happy Joy Joy!!!  Cheesy Grin Cheesy.
what was the reason earlier for online signing with bitcoin cash tx?
also, who created txid.io? all links on that site still point to OutCast3k coinbin github. is this site safe?

When the transaction is signed for bitcoin cash it makes a hash of the inputs which is incorporated somehow into the signed tx. This was part of the replay protection. However this information is not necessarily available after creating the transaction. For instance if you got the inputs, created a transaction, then moved that transaction to another computer for signing. You need the inputs a second time for signing. Bitcoin Core only needs the inputs for creating the transaction, not for signing.

Now the site allows you to save a file with that necessary information. You can move the needed file with your transaction to the other computer for signing if you are using a 2 computer security system.

I am pretty sure the OutCast3k coinbin site is safe. It won't sign Bitcoin Cash HODL transactions though.
10  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: December 25, 2017, 12:52:10 AM
My latest version released. I am calling it "Bitcoin Fork Tools"

Here is the URL: http://www.motelmaya.com/BCH/BCH.html

The biggest improvement is (drums..more drums) OFFLINE SIGNING for Bitcoin Cash - Happy Happy Joy Joy!!!  Cheesy Grin Cheesy.

There is some limited support for Bitcoin Gold...but it is buggy. I managed to redeem some from an old paper wallet though after I cleaned out the BTC & BCH. If you are going to reuse the private key for that address, I would just ignore the Bitcoin Gold for now.
11  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: October 25, 2017, 11:42:23 AM
Can we move Bitcoin Cash and Bitcoin Gold using Coinbin?

You can create Bitcoin Cash P2SH transactions here: http://www.motelmaya.com/BCC/BCC.html

We don't know if Bitcoin Gold is using replay protection yet. If it does, it will probably mess up P2SH transactions just like Bitcoin Cash did. Hopefully, we can figure out a way to recover those coins if that happens.

I think we will get lucky on the SegWit1X/SegWit2X fork though. Seems like they learned about the severe problems with replay protection and don't want to repeat them.
12  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: October 21, 2017, 09:05:25 PM
I noticed one more thing just now,
I tried to sign an unsigned raw tx at different times, it resulted exactly the same signed raw tx every time
shouldn't I get different signed raw tx every time I do it, because of hashes thingy
if the signed raw tx the same, doesn't it mean it uses the same seeder(?) every time
I might have use some terms incorrectly, but you probably get what I mean

I think I saw the same problem once, but later I didn't see it. Maybe I will investigate it some more.

In the meantime, I would suggest not reusing the P2SH address, since it does mean the private key could be compromised.
13  Economy / Speculation / Re: is it time to start seriously talking about a $5000 BTC on: October 21, 2017, 04:13:27 AM
TOLD YOU.

Quote
we're at $770... $1000 coming soon.

Is it time to start seriously talking about $5000 BTC in the next 3 years?

You prediction was late by over 2 years  Shocked
14  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: October 12, 2017, 07:10:25 AM
Quote
for newbies to coinb.in it must be online to send a transaction

@Pente i did find the testnet setting @ coinb.in/#broadcast the small blue gear symbol.


1)I changed settings to bitcoin(testnet), Broadcast: coinb.in (Bitcoin mainnet), Unspent outputs: coinb.in (Bitcoin mainnet)
2)created new send and recieve addresses
3)clicked Transaction to create a new transaction
   Address, WIF key or Redeem Script: area is greyed out so no inputs are possible
4)enter two recieve addresses with amounts into outputs tab
   Outputs (2.3000000) total is added for both recieve addresses
5)clicked Inputs tab
      Address, WIF key or Redeem Script: area is greyed out so no inputs are possible
6)enter input address into Transaction ID: field and fill in amount = Outputs (2.3000) + Transaction Fee
   Transacton fee: section is automatically filled in
ERROR: One or more input or output is invalid
7)enter input Public key (Share) into Transaction ID: field and fill in amount = Outputs (2.3000) + Transaction Fee
   Transacton fee: section is automatically filled in
submit
ERROR: One or more input or output is invalid
I will not post redundant steps but all combinations of Address (Share), Public key (Share), Private key (WIF key) generate
submit
ERROR: One or more input or output is invalid

can someone clarify (provide example or steps) to create a BCC BitcoinCash TEST transaction.  The systems apparently works for live transactions but i wish to use testnet with fake transactions for testing.  thank you much for help figuring this out if it can be done.

Ok, it looks like coinb.in doesn't actually get inputs (or even broadcast) from testnet. That section of code is incomplete. Also no testnet for BCC. Transactions are cheap enough on BCC, that you don't really need testnet. Just use a few pennies worth of BCC to test.
15  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: October 07, 2017, 04:55:55 PM
I'm trying to do something like: unspent A1 + unspent A2 + unspent B ~> output C
can someone tell me how to sign raw tx made of 3 inputs from 2 different address?
I can create the unsigned raw transaction but when signing only one address works at a time
I cannot make all inputs signed properly, is it possible to do that with coinb.in?
or what is the correct procedure to create signed raw tx from 2 different address?

If I understand the code correctly, you will have to do one address at a time.

 unspent A1 + unspent A2 ~> output C

then

 unspent B ~> output C
16  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: October 06, 2017, 08:42:31 PM
just wondering since coinb.in is for developers for testing - can it be used to test without btc or dodge in the address?  i would like to do some testing but rather not use real btc for general testing - this reddit seems to imply testing may infact be possible
https://www.reddit.com/r/dogeducation/comments/6eowvb/can_anyone_tell_me_how_to_use_coinbin/?ref=share&ref_source=link
but both the local javascript page and the live https://coinb.in/#txinputs return errors for addresses that have no coins.

also - am i incorrect in understanding that coinb.in can be used locally in an airgap situation to create transactions or must it be able to connect to generate transactions as i remember OutCast3 mentioned in a discussion on a bounty site....tho that may have been regarding an old pull requesst....

If you use the version at coinb.in, just go the the broadcast page, on the right side is a little icon that you can click, you can select the bitcoin test network there.
17  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: October 02, 2017, 08:06:04 PM
I have set up clone that works with Bitcoin Cash P2SH at http://www.motelmaya.com/BCC/BCC.html

I have used it to redeem several small Bitcoin Cash HODL txs:

https://blockchair.com/bitcoin-cash/transaction/8410ec11c603a02748b0257273b48e7005cc6cb20b8b7efa742d0606f711244c
https://blockchair.com/bitcoin-cash/transaction/4563ecec650d1779f0181fa9dc5cbb721dff11727f1886ba6adf3155a33c8c5d
https://blockchair.com/bitcoin-cash/transaction/29c80487fbc886ff4678743da5994c5b4f829cba1538dd583e23af62b21edf31


I moved some code around to try and make stuff more user friendly.

18  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: October 01, 2017, 07:32:02 PM
So, does that mean that we can't recover our BCH from time-locked addresses funded before the fork? I got one that will be available next saturday and I woudn't mind a few extra Bitcoins. Is there is any ETA?

We can recover BCH, but apparently we will have to sign the transaction while online, so not 100% secure.

It would be possible to rewrite the code to allow offline signing, but I don't think anyone will be motivated enough to do that.
19  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: October 01, 2017, 08:32:57 AM
Ok, I finally got HODL txs to work using your link to https://github.com/globaltoken/coinbin/commit/88f5eee6ad9114feb70c523ca7c834d99c106476

I had to change one line of code in coin.js though (line 1024 in my notebook editor after running https://dirtymarkup.com on it):

Code:
} else if (utxo_script['type'] == 'multisig') {

to this

Code:
} else if ( (utxo_script['type'] == 'multisig') || (utxo_script['type'] == 'hodl')) {

I also had to push the tx elsewhere as the broadcast function failed for me.

These are minor bugs compared to the next one though.

I decided to create a tx for a large amount of BCC. I set everything up. Then I went offline to get my private key to sign it and discovered I can't sign offline. So I canceled the tx, and did some experiments.

It seems that if I try to sign while offline, I get an error message due to our javascript trying to reload the inputs during the signing. Specifically in r.getinputvalues routine. It will sign fine if I then go back online though (changing nothing else).

I don't remember this being a problem when signing a Hodl tx with Bitcoin offline when I originally tested it.

This seems like a major security breach to me. I have gone over the code as much as I can and while I don't see the private key being stolen, I am not a professional programmer either (I panhandle for a living) so something could be hidden in an obscure area from me.

Unfortunately, I don't think this can be easily fixed without rewriting a lot of code. I know it would take me months. I will probably just sign the large transaction and immediately broadcast it. My coins are still locked up for another 3 years though. Plenty of time to think about it though.

I just hope they don't use replay protection again during the Seg1X|Seg2X fork. What a f*cking mess.

20  Bitcoin / Project Development / Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more! on: September 21, 2017, 01:31:46 AM
I locked a bunch of Bitcoins before the fork to BTC and BCC. So was wondering if the coins would be recoverable on the BCC fork. So decided to experiment.

Created a time locked address using address: 12Cp73Mbb4PEXmDjYitGcfgPDpRRvPPxpS,
Public Key: 04882490aac1fb4de17bcd7c70c72672d291d3cbce869834dee98452a98874766ef996adec88b74 98dfb3fd3141fb3af5fa020746ceb8f11d5ee4e35d26284f7e4
Time: 09/13/2017 01:00

Resulting Address: 3BQyYQS3vSdjYHNJK8ogyo5Z3NkmzxWrr3
Resulting Redeem Script:
04b00fb959b1754104882490aac1fb4de17bcd7c70c72672d291d3cbce869834dee98452a988747 66ef996adec88b7498dfb3fd3141fb3af5fa020746ceb8f11d5ee4e35d26284f7e4ac

Sent 0.001 BCC to that address, TX=
76f21028ebdeff0c2347ae00ada70d3c32cfdf8a38178b2a032f2a030ce420e4

To create a tx, I had to manually input everything, resulting in the following script:
0100000001e420e40c032a2f032a8b17388adfcf323c0da7ad00ae47230cffdeeb2810f27600000 0004a04b00fb959b1754104882490aac1fb4de17bcd7c70c72672d291d3cbce869834dee98452a9 8874766ef996adec88b7498dfb3fd3141fb3af5fa020746ceb8f11d5ee4e35d26284f7e4ac00000 00001905f0100000000001976a9140b0f1dc4fce32f2d38bdbf822c2222d1870b999a88acb00fb9 59

Signed with private key to 12Cp73Mbb4PEXmDjYitGcfgPDpRRvPPxpS:

0100000001e420e40c032a2f032a8b17388adfcf323c0da7ad00ae47230cffdeeb2810f27600000 00094483045022100fa78e56b7ec881f8bb2eb97ea9825856ecd06941dea3ac74092d663b721379 8b02207824e621b4ee21df7591a1e8f45a45b162e5ea39cd073b70bcabc6501f7683e3014a04b00 fb959b1754104882490aac1fb4de17bcd7c70c72672d291d3cbce869834dee98452a98874766ef9 96adec88b7498dfb3fd3141fb3af5fa020746ceb8f11d5ee4e35d26284f7e4ac0000000001905f0 100000000001976a9140b0f1dc4fce32f2d38bdbf822c2222d1870b999a88acb00fb959

Tried to push at http://blockdozer.com/insight/tx/send

Resulting in the following:

An error occured:
64: non-mandatory-script-verify-flag (Signature must use SIGHASH_FORKID). Code:-26
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 »
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!