Author

Topic: [HELP] MULTISIG SPENDING (Denarium) (Read 345 times)

hero member
Activity: 1232
Merit: 738
Mixing reinvented for your privacy | chipmixer.com
December 30, 2017, 05:46:46 PM
#7
It worked! Thanks oldsports.
I sent you the money aswell.

WOOOHOOO!  Grin Cool

Just a question in addition. If I sent the bitcoin from that multisig address away. I can't deliver my Bitcoin Cash from there somehow anymore?

You still can claim your Bitcoin Cash, Bitcoin Gold and Super Bitcoin? and other fork coins.
though I'm not sure about how to do it with BTC and BTG, there is a fork of coinb.in that works with BCH but I haven't tried it yet
I suggest to try with their official wallets and import the multisig address, now that you have both private keys.

In fact, I just realized my tutorial was too long  Grin
you could have just imported the multisig address to bitcoin core walet or others
but I don't know how to do that, and I was just continuing the instruction you posted (with different tool)
we can import multisig address on bitcoin core wallet, can't we?

and thanks for the reward. I really appreciate it.
newbie
Activity: 17
Merit: 0
December 30, 2017, 12:16:40 PM
#6
It worked! Thanks oldsports.
I sent you the money aswell.

WOOOHOOO!  Grin Cool

Just a question in addition. If I sent the bitcoin from that multisig address away. I can't deliver my Bitcoin Cash from there somehow anymore?
hero member
Activity: 1232
Merit: 738
Mixing reinvented for your privacy | chipmixer.com
December 29, 2017, 10:08:33 PM
#5
download both bitaddress.org-3.3.0 and coinbin-1.3 if you haven't

Preparations:
- open this post so you can follow the step by step instruction easily
- GO OFFLINE, disconnect your internet connection
- open folder bitaddress.org-3.3.0 then click & drag bitaddress.org.html to new tab on your private browser
- open folder coinbin-1.3 then click & drag index.html to another new tab on your private browser
- open notepad to save some data needed for later use

First, acquiring your 1st privkey:
- switch to your bitaddress tab, you can move around your mouse to get to 100 % or just click "Wallet Details"
- enter your Mini Private Key in the space provided and click "View Details"
- match the 'public address' given to you, if it is a 'Bitcoin Address' copy paste uncompressed (5xx) 'Private Key WIF' to notepad
- if it is a 'Bitcoin Address (compressed)' copy paste compressed (Kxxx or Lxxx) 'Private Key WIF' to notepad

Second, acquiring Redeem Script:
- still on the bitaddress tab, find its 'Public Key (130 characters [0-9A-F])' and copy its long string
- switch to your coinb tab, then click menu New > MultiSig Address
- paste the copied 'Public Key' into the first input form, and paste your Second Factor Public Key into the second input form
- click '-' sign next to third input form to remove it, make sure '2' is the number for "amount of signatures required"
- click submit and you will see your "Public MultiSig Address" and its "Redeem Script"
- copy paste both "Public MultiSig Address" and its Redeem Script to notepad and save

at this point, you can close all tabs, browser and notepad, then reboot your computer (to clear all memory)
or just continue the next step

Third, composing Transaction:
- GO ONLINE, on your coinb tab click menu New > Transaction
- copy the "Redeem Script" from your notepad into the first input form then click "Load" to retrieve UTXO from your "MultiSig Address"
- move down a bit and click on 'Outputs (0.00000000)' and fill the destination address and the amount
- make sure you adjust the amount so that the 'Transaction Fee' is high enough for the tx to get confirmed
- if you want to send/donate me some Grin you can click the '+' sign to add another row for another output/destination address I will send you my address via PM
- click submit and you will see the unsigned hex rawtx as the result
- copy this rawtx before proceeding to next step

Fourth, signing and verifying Transaction:
- GO OFFLINE, click menu "Sign" then paste the copied rawtx into the second input form
- enter your 1st private key (from your saved notepad) into first input form then click submit
- copy the resulted 'Signed transaction' in the green box, and paste into the second input form
- enter your 2nd private key (from your Second Factor Public Key) into first input form then click submit
- copy the resulted 'Signed transaction' in the green box,
- click on menu "Verify" and paste your 'Signed transaction' in the input space provided then click submit
- make sure all inputs for your transactions are checkmarked on the signed column

Fifth, broadcast:
- close all incognito browser but don't forget to save the last 'Signed transaction' on your notepad and save
- reboot your computer if necessary for the same reason as earlier
- GO ONLINE, re-connect your internet and re-open your local coinb.in index.html or just go to live coinb.in page
- click on menu "Broadcast" and paste your 'Signed transaction' here then click submit

I hope this will work though I think this tutorial needs some fine tuning to accomodate certain conditions  Tongue
because it's a long tutorial, I apologize if I missed/skipped a few steps or mistyped something
reply here or pm me if you have problems or questions. Good Luck!
newbie
Activity: 17
Merit: 0
December 29, 2017, 08:21:53 AM
#4
if you have your private key and your second factor key I can help you with a tutorial
all can be done with open source tools and safely offline, except when retrieving UTXO you need to be online
then you can go offline again, compose tx, verify and sign it, then broadcast it online
mainly using coinb.in tool as LoyceV mentioned above. do you want the tutorial here or via pm?

Hey,

I think that you can give the tutorial here & if it gets too messy then we can continue via PM Smiley. Can you share an in-depth tutorial, a step by step guide please.

EDIT: I answered your PM Smiley

Thanks in advance!
hero member
Activity: 1232
Merit: 738
Mixing reinvented for your privacy | chipmixer.com
December 27, 2017, 12:21:43 PM
#3
if you have your private key and your second factor key I can help you with a tutorial
all can be done with open source tools and safely offline, except when retrieving UTXO you need to be online
then you can go offline again, compose tx, verify and sign it, then broadcast it online
mainly using coinb.in tool as LoyceV mentioned above. do you want the tutorial here or via pm?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
December 27, 2017, 10:39:09 AM
#2
I know coinb.in can do it, but I can't test it with unfunded newly created addresses.

https://news.bitcoin.com/create-multisig-address-spend-bitcoin/ gives a tutorial, but be very, very careful! It's safest to do this offline (from a Linux LIVE CD) instead of on a live website, but it also needs to know the balance on the address.
I suggest to play around with it (DO NOT use your private key online on any website), enter the public addresses, and see if you can compose a transaction with it. If this works out, you can still do the signing (with private keys) offline, then save the transaction and broadcast it later.

But: only do this when you're absolutely sure what you're doing, any unspend amounts are used as FEE. So if you would make a small test transfer, you'll pay 0.999 Bitcoin to a miner.
You can also verify what you're signing before signing.
I've always been to scared to do this myself, I never went further than just "playing around" on coinb.in.
newbie
Activity: 17
Merit: 0
December 27, 2017, 10:15:04 AM
#1
Hello,

I bought a physical bitcoin Denarium a year ago in a multisig format. It is a 2-of-2 multisig coin. I have been trying many different methods (for 2 months now) to make a transaction (I would like to transfer my bitcoin to blockchain.info webwallet).

I tried using:
  • Pybitcointools (If trying to push it prints "none")
  • Bitcoin Core
  • Armory

The main problem is that all the tutorials teach how to create a multisig coin and from there on spend it, but I have no idea how can I spend my coin if the multisig coin was created for me by Denarium [I do have access to all the necessary private keys and public keys, but the main problem (for example with Bitcoin Core is that I don't know how to get a redeemscript) or if I'd like to import my multisig bitcoin to my wallet, what the correct format should be?]

Can anyone help me and/or share me a tutorial on how can I transfer my physical Denarium bitcoin? I have the necessary keys and addresses.

Here is the only tutorial that Denarium Support gave me:
Quote
Here are the instructions. It's currently a bit complex process. We are looking at ways to make it easier in the future.

Download pybitcointools from https://github.com/vbuterin/pybitcointools/
First off, get public parts of your coin from our database. Using M4 as an example: https://status.denarium.com/coin/#/M4 . The important bits are Public Key and Second Factor Public key.
Then, peel the hologram off from your coin and scan the QR code or type the letters manually to your computer. As an example I have created a private key (yours of course is different: SJER5sBdx4fRnGQ6Kcrwkb2ez8KdNA. This is so-called mini private key, documented here: https://en.bitcoin.it/wiki/Mini_private_key_format .
Convert mini key to raw private key in hex format with pybtctools: ./pybtctool sha256 'SJER5sBdx4fRnGQ6Kcrwkb2ez8KdNA'. In my case I'd get 1f0e1422bef5f90614f8ce4299f6aa0c1b8900adbfd0e9050e7126b0bb03c7d6 .
Verify that we got the correct key by matching the public key on the web site with the result of the coin. Using my coin as an example, I would run ./pybtctool privtopub 1f0e1422bef5f90614f8ce4299f6aa0c1b8900adbfd0e9050e7126b0bb03c7d6 which returns
049409aa12bd76f6fe8a001d17a8ef719dd8c84d82a3508356b789b00985db3eda9a36766643a3e bea800c4fa1dc9f26483d46b16776621532f1d21214564bd8b4
Generate multisig script. Denarium coin comes always first and then your second factor key. In my case the second factor public key is
0395c9ebe2467ff6060534c8f831fbc2d0b99e185f93b448b41cf9102429a89345 so I'd run: ./pybtctool mk_multisig_script 049409aa12bd76f6fe8a001d17a8ef719dd8c84d82a3508356b789b00985db3eda9a36766643a3e bea800c4fa1dc9f26483d46b16776621532f1d21214564bd8b4 0395c9ebe2467ff6060534c8f831fbc2d0b99e185f93b448b41cf9102429a89345 2 2 which returns
5241049409aa12bd76f6fe8a001d17a8ef719dd8c84d82a3508356b789b00985db3eda9a3676664 3a3ebea800c4fa1dc9f26483d46b16776621532f1d21214564bd8b4210395c9ebe2467ff6060534 c8f831fbc2d0b99e185f93b448b41cf9102429a8934552ae
After that the flow continues as an ordinary multisig spending. Some instructions to continue from here can be found at: https://bitcoinmagazine.com/articles/pybitcointools-multisig-tutorial-1394686325 starting from "Now, we can make the transaction..."

I hope these instructions are sufficient enough.

Best Regards,

Hopefully someone can support and find me a working solution. I am even willing to pay a small fee if you can offer me a working solution (of course i will have it verified in order to avoid scammers).

Yours sincerely,
Hundionu.
Jump to: