Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Dev] Multisignature wallet, implementation and issues

    Technical Development
    5
    11
    5382
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wrapper
      wrapper Moderators last edited by wrapper

      The main issue that has arisen is discussion of the FTC implementation of multi-signature technology. When FTC was started it was important to differentiate the Addresses, especially between between the larger coins where central services could be confused.

      It would appear that , due to the ad-hoc, or Bitcoin centric, way this technology has developed, it is not possible to differentiate a Bitcoin Multisignature address from a Litecoin Address. This has resulted in a proposal that Litecoin develop a system where other start character to the Multisignature addresses would be recognised as Litecoin. Similar to the system FTC and PXC’s Ghostlander developed to allow more than one genesis address, if there is a clash with Litecoin’s on some central services.

      It would obviously be a good idea to think ahead and have a FTC specific start value to the multi-signature address and perhaps ask some stupid questions, why can’t it start with FTC? e.t.c.

      Initially I am researching the history and technical background of multi-signature technology. As this seems quite bleeding edge and fragmented.

      https://github.com/bitcoin/bips/blob/master/bip-0010.mediawiki

      BIP: 10  Title: Multi-Sig Transaction Distribution
        Author: Alan Reiner
        Status: Draft
        Type: Informational
        Created: 2011-10-28
      

      http://bitcoinmagazine.com/11108/multisig-future-bitcoin/

      Enter Multisig

      So what is Bitcoin 1.0, and what is this Bitcoin 1.5 that I am so boldly claiming will come to replace it? In short, Bitcoin 1.0 can be described as a simple send-receive system. In a Bitcoin account, there is a set of 34-character Bitcoin addresses, like 1JwSSubhmg6iPtRjtyqhUYYH7bZg3Lfy1T, that you can use to receive bitcoins, and each address has an associated 64-character private key, in this case c4bbcb1fbec99d65bf59d85c8cb62ee2db963f0fe106f483d9afa73bd4e39a8a, that can be used to spend bitcoins that are sent to the address. Private keys need to be kept safe and only accessed when you want to sign a transaction, and Bitcoin addresses can be freely handed out to the world. And that’s how Bitcoin wallets are secured. If you can keep the single private key safe, everything’s fine; if you lose it the funds are gone, and if someone else gains access to it your funds are gone too â€" essentially, the exact same security model that we have with physical cash, except a thousand times more slippery.

      Copay Team Broadcasts First BIP32 P2SH Multisig Transaction from Tucuman, Argentina
      April 18th, 2014 â€"Ryan X. Charles â€"engineering

      http://blog.bitpay.com/2014/04/17/copay-team-broadcasts-first-bip32-p2sh-multisig-transaction-from-tucuman-argentina.html

      It’s really hard to properly secure bitcoins. It’s so hard that even the most technically adept bitcoiners sometimes get hacked and lose their bitcoins. As bitcoin grows up to become an adult financial system, it is absolutely imperative that we end this security nightmare as quickly as possible. That is what multisignature transactions promise to do.

      The basic security problem with bitcoin is that your private keys give access to your bitcoins. If you slip up just once and reveal your private keys, which is really easy to do (especially if you’re not trained in the art of computer security), your bitcoins can be stolen. Many individuals and companies have lost some or all of their bitcoins this way.

      Multisignature transactions offer a solution to this problem by allowing for more than one private key to control an address. In a 2-of-2 multisignature transaction, a private key from your laptop is used to sign a transaction, and a private key from your phone must also be used to sign the same transaction. If you slip up and reveal the private keys on your laptop, your bitcoins are still safe because the private keys on your phone haven’t been compromised.

      July 2014
      BitPay Releases Beta for Open-Source, Multi-Signature Bitcoin Wallet

      http://www.coindesk.com/bitpay-open-source-multi-signature-bitcoin-wallet/

      Bitcoin payments processor BitPay has released the beta version of an open-source, multi-signature wallet service called Copay.

      Copay aims to provide a solution to a central security issue posed by the use of a private key â€" that bitcoins can become compromised and stolen if someone fraudulently gains access to it. The issue has brought a lot of attention to multisig technology, with several notable companies in the ecosystem developing and releasing multisig wallets in recent months.

      BitPay chief executive and co-founder Stephen Pair told CoinDesk that the company expects multisig transactions to become the norm for routine, day-to-day usage, saying:

      “Almost three years ago the ground work for multisig transactions was prepared with extensive design work by the core developers. The concerns back then, as now, was making bitcoin more secure against theft.”

      1 Reply Last reply Reply Quote 0
      • wrapper
        wrapper Moderators last edited by

        Just reading through the BIP’s for historical perspective : https://github.com/bitcoin/bips

        This is a early related post, with a nice explanation of how the standard Bitcoin address is constructed. The full text has some additional reasoning behind the naming scheme.

        https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki

        BIP: 13 Title: Address Format for pay-to-script-hash

        Author: Gavin Andresen

        1 Reply Last reply Reply Quote 0
        • lizhi
          lizhi last edited by

          OK, How to create our multisig in now ftc core. I find those codes

          Value createmultisig(const Array& params, bool fHelp)
          {
          // Construct using pay-to-script-hash:
          CScript inner = _createmultisig_redeemScript(params);
          CScriptID innerID = inner.GetID();
          CBitcoinAddress address(innerID);

          Object result;
          result.push_back(Pair(“address”, address.ToString()));
          result.push_back(Pair(“redeemScript”, HexStr(inner.begin(), inner.end())));

          return result;
          }

          They look simple , If we can change our multisig address prefix, we will out of the chaotic world. :)

          1 Reply Last reply Reply Quote 0
          • lizhi
            lizhi last edited by

            Which prefix will be our multisig prefix ? choice f or F or 4 or 5 ???

            C:\FTC>feathercoind createmultisig 2 [\“023e33fc84992a60edf319d430abfddf416d9bd4bc0475f87d6e97b2d2a46d378b\”,\“039389a17030be3afcbf904c4e1bb566d97d540c130466f9e4895a0f9c18756702\”,\“03b2c36875c07f049db4c53a30a70c337bee7d419474edb1b67be69a4725dc41aa\”]
            {
            “address” : “rbmqSfc7Lv81EWbji8yrvESrc6HdkMvX6C”,
            “redeemScript” : “5221023e33fc84992a60edf319d430abfddf416d9bd4bc0475f87d6e97b2d2a46d378b21039389a17030be3afcbf904c4e1bb566d97d540c130466f9e4895a0f9c187567022103b2c36875c07f049db4c53a30a70c337bee7d419474edb1b67be69a4725dc41aa53ae”
            }

            1 Reply Last reply Reply Quote 0
            • M
              mirrax last edited by

              i vote for f

              1 Reply Last reply Reply Quote 0
              • MrWyrm
                MrWyrm administrators last edited by

                m for multi

                Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

                1 Reply Last reply Reply Quote 0
                • lizhi
                  lizhi last edited by

                  Today , only start ,hard work.

                  feathercoind createmultisig 2 [\“023e33fc84992a60edf319d430abfddf416d9bd4bc0475f87d6e97b2d2a46d378b\”,\“039389a17030be3afcbf904c4e1bb566d97d540c130466f9e4895a0f9c18756702\”,\“0325ac22a437479175dce19dbbbf8ec349e67580042c0ce606304d7948518949aa\”]
                  {
                  “address” : “fraBQLfheSbXggDqN5ro5R1jtV83rkPgNf”,
                  “redeemScript” : “5221023e33fc84992a60edf319d430abfddf416d9bd4bc0475f87d6e97b2d2a46d378b21039389a17030be3afcbf904c4e1bb566d97d540c130466f9e4895a0f9c18756702210325ac22a437479175dce19dbbbf8ec349e67580042c0ce606304d7948518949aa53ae”
                  }

                  1 Reply Last reply Reply Quote 0
                  • kris_davison
                    kris_davison last edited by

                    That’s cool with the f :)

                    1 Reply Last reply Reply Quote 0
                    • lizhi
                      lizhi last edited by

                      :)) :)) , You give me infinite power ,Today , I think we were successful. I send FTC with the new multisign address, prefix f.

                      I released the details of the test.

                      STEP 1) create multisig address, make multisign address fz8mX42gv3Zy9bfG32wox6Xzrv8HaiFHcY

                      feathercoind.exe validateaddress 6kt2t9ef9K5iTJKXQeRobvyxXaFkeRZzS8
                               "pubkey" : "034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1",
                      feathercoind.exe validateaddress 6zoY2FQbHbiPUPuFz2LA8ADJXsLSRdpcoE
                              "pubkey" : "0282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c",
                      feathercoind.exe validateaddress 6nssfpD58KYYcUkDJQmbeqUtuZQb3whXaD
                              "pubkey" : "037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a4",
                      
                      feathercoind.exe createmultisig 2 [\"034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1\",\"0282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c\",\"037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a4\"]
                      {
                          "address" : "fz8mX42gv3Zy9bfG32wox6Xzrv8HaiFHcY",
                          "redeemScript" : "5221034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1210282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c21037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a453ae"
                      }
                      

                      Transaction 4798e2a0301c3bfd0b41a5a66e048aa2058c16fcdd3abd78986df57351ed70d1 is an unspent transaction in my wallet (which I got from the ‘listunspent’ RPC call)

                      C:\FTC>feathercoind listunspent
                      [
                          {
                              "txid" : "4798e2a0301c3bfd0b41a5a66e048aa2058c16fcdd3abd78986df57351ed70d1",
                              "vout" : 0,
                              "address" : "6kt2t9ef9K5iTJKXQeRobvyxXaFkeRZzS8",
                              "account" : "tt1",
                              "scriptPubKey" : "76a9144e68abc458650e19b687ebca61d685fa8b0a315488ac",
                              "amount" : 0.90000000,
                              "confirmations" : 7
                          }
                      ]
                      

                      STEP 2) create a transaction to send funds into that multisig. send 0.2 ftc to multisign address.

                      feathercoind.exe createrawtransaction [{\"txid\":\"4798e2a0301c3bfd0b41a5a66e048aa2058c16fcdd3abd78986df57351ed70d1\",\"vout\":0}] {\"fz8mX42gv3Zy9bfG32wox6Xzrv8HaiFHcY\":0.2,\"6xsrxzukcfPdypSafbmMQtNt9bFVSDF2v8\":0.69}
                      
                      0100000001d170ed5173f56d9878bd3addfc168c05a28a046ea6a5410bfd3b1c30a0e298470000000000ffffffff02002d31010000000017a914e2ec7881918f3a0d81ab0bdbefe8a15123b050028740db1c04000000001976a914d201e70fb8739e8c489762ca0d4c1942c97f1b3c88ac00000000
                      

                      and sign it:

                      feathercoind.exe signrawtransaction 0100000001d170ed5173f56d9878bd3addfc168c05a28a046ea6a5410bfd3b1c30a0e298470000000000ffffffff02002d31010000000017a914e2ec7881918f3a0d81ab0bdbefe8a15123b050028740db1c04000000001976a914d201e70fb8739e8c489762ca0d4c1942c97f1b3c88ac00000000
                      {
                          "hex" : "0100000001d170ed5173f56d9878bd3addfc168c05a28a046ea6a5410bfd3b1c30a0e29847000000006a4730440220044b50d4d08a830299ca4d04ab4def6229e86a3b75b63e074a04318f2499c6d3022017a618213812dd3c4b3050236107d4a145b2a3de199f00249ddb6f83f36d40bf0121034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1ffffffff02002d31010000000017a914e2ec7881918f3a0d81ab0bdbefe8a15123b050028740db1c04000000001976a914d201e70fb8739e8c489762ca0d4c1942c97f1b3c88ac00000000",
                          "complete" : true
                      }
                      

                      Now, create a transaction that will spend that multisig transaction. First, I need the txid of the transaction I just created, so decoderawtransaction that hex string.

                      feathercoind.exe decoderawtransaction 0100000001d170ed5173f56d9878bd3addfc168c05a28a046ea6a5410bfd3b1c30a0e29847000000006a4730440220044b50d4d08a830299ca4d04ab4def6229e86a3b75b63e074a04318f2499c6d3022017a618213812dd3c4b3050236107d4a145b2a3de199f00249ddb6f83f36d40bf0121034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1ffffffff02002d31010000000017a914e2ec7881918f3a0d81ab0bdbefe8a15123b050028740db1c04000000001976a914d201e70fb8739e8c489762ca0d4c1942c97f1b3c88ac00000000
                      {
                          "txid" : "288cf1abf4f30ad83fde563352f7bf158c37dfc9a67aa678f75a2483923c4536",
                      
                          "version" : 1,
                          "locktime" : 0,
                          "vin" : [
                              {
                                  "txid" : "4798e2a0301c3bfd0b41a5a66e048aa2058c16fcdd3abd78986df57351ed70d1",
                                  "vout" : 0,
                                  "scriptSig" : {
                                      "asm" : "30440220044b50d4d08a830299ca4d04ab4def6229e86a3b75b63e074a04318f2499c6d3022017a618213812dd3c4b3050236107d4a145b2a3de199f00249ddb6f83f36d40bf01 034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1",
                                      "hex" : "4730440220044b50d4d08a830299ca4d04ab4def6229e86a3b75b63e074a04318f2499c6d3022017a618213812dd3c4b3050236107d4a145b2a3de199f00249ddb6f83f36d40bf0121034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1"
                                  },
                                  "sequence" : 4294967295
                              }
                          ],
                          "vout" : [
                              {
                                  "value" : 0.20000000,
                                  "n" : 0,
                                  "scriptPubKey" : {
                                      "asm" : "OP_HASH160 e2ec7881918f3a0d81ab0bdbefe8a15123b05002 OP_EQUAL",
                                      "hex" : "a914e2ec7881918f3a0d81ab0bdbefe8a15123b0500287",
                                      "reqSigs" : 1,
                                      "type" : "scripthash",
                                      "addresses" : [
                                          "fz8mX42gv3Zy9bfG32wox6Xzrv8HaiFHcY"
                                      ]
                                  }
                              },
                              {
                                  "value" : 0.69000000,
                                  "n" : 1,
                                  "scriptPubKey" : {
                                      "asm" : "OP_DUP OP_HASH160 d201e70fb8739e8c489762ca0d4c1942c97f1b3c OP_EQUALVERIFY OP_CHECKSIG",
                                      "hex" : "76a914d201e70fb8739e8c489762ca0d4c1942c97f1b3c88ac",
                                      "reqSigs" : 1,
                                      "type" : "pubkeyhash",
                                      "addresses" : [
                                          "6xsrxzukcfPdypSafbmMQtNt9bFVSDF2v8"
                                      ]
                                  }
                              }
                          ]
                      }
                      

                      **STEP 3) **Create the spend-from-multisig transaction. Since the fund-the-multisig transaction hasn’t been sent yet, I need to give txid, scriptPubKey and redeemScript:

                      feathercoind.exe createrawtransaction [{\"txid\":\"288cf1abf4f30ad83fde563352f7bf158c37dfc9a67aa678f75a2483923c4536\",\"vout\":0,\"scriptPubKey\":\"a914e2ec7881918f3a0d81ab0bdbefe8a15123b0500287\",\"redeemScript\":\"5221034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1210282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c21037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a453ae\"}] {\"6u6Junx4E8jmBaLwaCtUAwgmKrPmu56ukz\":0.1,\"6kt2t9ef9K5iTJKXQeRobvyxXaFkeRZzS8\":0.09}
                      
                      010000000136453c9283245af778a67aa6c9df378c15bff7523356de3fd80af3f4abf18c280000000000ffffffff0280969800000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a9144e68abc458650e19b687ebca61d685fa8b0a315488ac00000000
                      

                      I need privkey, at least two.

                      feathercoind.exe  dumpprivkey 6kt2t9ef9K5iTJKXQeRobvyxXaFkeRZzS8
                         N6hgRNJZ9PGLoY92sYZ5Cz9SsP48L7gbFq4cFzz6WpN9d1D4fZFM
                      feathercoind.exe  dumpprivkey 6zoY2FQbHbiPUPuFz2LA8ADJXsLSRdpcoE
                         N9enYyB9mGyVA5ejDTsoLhB1fbG3A7EVaYPae6wUDt5TGPko6bqW
                      

                      STEP 4) Now I can partially sign it using one private key:

                      feathercoind.exe signrawtransaction 010000000136453c9283245af778a67aa6c9df378c15bff7523356de3fd80af3f4abf18c280000000000ffffffff0280969800000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a9144e68abc458650e19b687ebca61d685fa8b0a315488ac00000000 [{\"txid\":\"288cf1abf4f30ad83fde563352f7bf158c37dfc9a67aa678f75a2483923c4536\",\"vout\":0,\"scriptPubKey\":\"a914e2ec7881918f3a0d81ab0bdbefe8a15123b0500287\",\"redeemScript\":\"5221034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1210282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c21037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a453ae\"}] [\"N6hgRNJZ9PGLoY92sYZ5Cz9SsP48L7gbFq4cFzz6WpN9d1D4fZFM\"]
                      {
                          "hex" : "010000000136453c9283245af778a67aa6c9df378c15bff7523356de3fd80af3f4abf18c2800000000b40047304402205fe4461f341e29f3f5cc38e4855ec37caba9b5df59e8dc8f55f2803f762d88cc02207924a8612b14bd4d81e047a5245e599e50031954453e0b8d8e796623a19364e3014c695221034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1210282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c21037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a453aeffffffff0280969800000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a9144e68abc458650e19b687ebca61d685fa8b0a315488ac00000000",
                          "complete" : false
                      }
                      

                      and then take the “hex” from that and complete the 2-of-3 signatures using one of the other public keys (note the “hex” result getting longer)

                      feathercoind.exe signrawtransaction 010000000136453c9283245af778a67aa6c9df378c15bff7523356de3fd80af3f4abf18c2800000000b40047304402205fe4461f341e29f3f5cc38e4855ec37caba9b5df59e8dc8f55f2803f762d88cc02207924a8612b14bd4d81e047a5245e599e50031954453e0b8d8e796623a19364e3014c695221034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1210282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c21037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a453aeffffffff0280969800000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a9144e68abc458650e19b687ebca61d685fa8b0a315488ac00000000 [{\"txid\":\"288cf1abf4f30ad83fde563352f7bf158c37dfc9a67aa678f75a2483923c4536\",\"vout\":0,\"scriptPubKey\":\"a914e2ec7881918f3a0d81ab0bdbefe8a15123b0500287\",\"redeemScript\":\"5221034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1210282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c21037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a453ae\"}] [\"N9enYyB9mGyVA5ejDTsoLhB1fbG3A7EVaYPae6wUDt5TGPko6bqW\"]
                      {
                          "hex" : "010000000136453c9283245af778a67aa6c9df378c15bff7523356de3fd80af3f4abf18c2800000000fc0047304402205fe4461f341e29f3f5cc38e4855ec37caba9b5df59e8dc8f55f2803f762d88cc02207924a8612b14bd4d81e047a5245e599e50031954453e0b8d8e796623a19364e30147304402207a17a216c42e3feddef8d834c4961d62b8288e17bb20853fdffd9696236ec37b02203f9c28956d2a1aa39a1b43379885493e3e21827f997112a9d95f9c9cc757a8d5014c695221034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1210282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c21037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a453aeffffffff0280969800000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a9144e68abc458650e19b687ebca61d685fa8b0a315488ac00000000",
                          "complete" : true
                      }
                      

                      **STEP 5) **And I can send the funding and spending transactions:

                      feathercoind.exe sendrawtransaction 0100000001d170ed5173f56d9878bd3addfc168c05a28a046ea6a5410bfd3b1c30a0e29847000000006a4730440220044b50d4d08a830299ca4d04ab4def6229e86a3b75b63e074a04318f2499c6d3022017a618213812dd3c4b3050236107d4a145b2a3de199f00249ddb6f83f36d40bf0121034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1ffffffff02002d31010000000017a914e2ec7881918f3a0d81ab0bdbefe8a15123b050028740db1c04000000001976a914d201e70fb8739e8c489762ca0d4c1942c97f1b3c88ac00000000
                      

                      tx= 288cf1abf4f30ad83fde563352f7bf158c37dfc9a67aa678f75a2483923c4536

                      http://explorer.feathercoin.com/tx/288cf1abf4f30ad83fde563352f7bf158c37dfc9a67aa678f75a2483923c4536

                      feathercoind.exe sendrawtransaction 010000000136453c9283245af778a67aa6c9df378c15bff7523356de3fd80af3f4abf18c2800000000fc0047304402205fe4461f341e29f3f5cc38e4855ec37caba9b5df59e8dc8f55f2803f762d88cc02207924a8612b14bd4d81e047a5245e599e50031954453e0b8d8e796623a19364e30147304402207a17a216c42e3feddef8d834c4961d62b8288e17bb20853fdffd9696236ec37b02203f9c28956d2a1aa39a1b43379885493e3e21827f997112a9d95f9c9cc757a8d5014c695221034f0a838d9757ffde5aa75911f4e8e142620403d6e60e74a2109626312bbb99a1210282f3ae64786a35edc283f6f9a5bb56c3f8bc1878ee70b987bc6cbbdec7ba334c21037a79541dbdb6b5df5a92d26c3d4514e941dc30fb54cb90a9e5ed9eef55baf0a453aeffffffff0280969800000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a9144e68abc458650e19b687ebca61d685fa8b0a315488ac00000000
                      

                      tx = 2eda0fd84ea2859729c44f86536acf99d6825b467fa30d94d03ae48546f2fe9e

                      http://explorer.feathercoin.com/tx/2eda0fd84ea2859729c44f86536acf99d6825b467fa30d94d03ae48546f2fe9e

                      Note, 0.8.7.1 wallet can’t know multisignature, It say “Unknown address”

                      Multi1.jpg

                      1 Reply Last reply Reply Quote 0
                      • wrapper
                        wrapper Moderators last edited by

                        Brilliant work Lizhi, we are not worthy!

                        1 Reply Last reply Reply Quote 0
                        • lizhi
                          lizhi last edited by

                          I had tested new multisign on Ubuntu 12.04 again, It is all right ^-^

                          the new multisign address, prefix f , success!!

                          feathercoind createmultisig 2 '["033d090ca70b01a36193bb7ca4504d58b0654f2b687e3bb49561706b1222f27598","0227c6968f36afdd4d437d6d3ba43e9a8d4c7be246cc4ff009b1ba9e36692ec569","02bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de"]'
                          {
                              "address" : "ffspAhryW6mzpGgb38qztvqFzeYg7jq7bW",
                              "redeemScript" : "5221033d090ca70b01a36193bb7ca4504d58b0654f2b687e3bb49561706b1222f27598210227c6968f36afdd4d437d6d3ba43e9a8d4c7be246cc4ff009b1ba9e36692ec5692102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de53ae"
                          }
                          
                          feathercoind  createrawtransaction '[{"txid":"dc5406f3ffea7c1b2ada8d0117aa16921ea6858b8d1e593c57a9ad1bd91aa767","vout":1}]' '{"ffspAhryW6mzpGgb38qztvqFzeYg7jq7bW":0.4,"72fWjNFMTuJoSpGgQVryFZAKqjQB4MrRLD":0.09}'
                          010000000167a71ad91bada9573c591e8d8b85a61e9216aa17018dda2a1b7ceafff30654dc0100000000ffffffff02005a62020000000017a9141aa62db9a71e78c28aa96c2d3d639406f976b7f68740548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000
                          
                          feathercoind signrawtransaction 010000000167a71ad91bada9573c591e8d8b85a61e9216aa17018dda2a1b7ceafff30654dc0100000000ffffffff02005a62020000000017a9141aa62db9a71e78c28aa96c2d3d639406f976b7f68740548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000
                          {
                              "hex" : "010000000167a71ad91bada9573c591e8d8b85a61e9216aa17018dda2a1b7ceafff30654dc010000006b483045022100e11e831bb1c5eb73bd6aa1cadae674804159bf92bf6fa3304cc2bbaa809865c90220535bf139f76f18a83d1838030c3c21279a4a48fa837e40a67e949a270fe6e45d012102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19deffffffff02005a62020000000017a9141aa62db9a71e78c28aa96c2d3d639406f976b7f68740548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000",
                              "complete" : true
                          }
                          
                          feathercoind  decoderawtransaction 010000000167a71ad91bada9573c591e8d8b85a61e9216aa17018dda2a1b7ceafff30654dc010000006b483045022100e11e831bb1c5eb73bd6aa1cadae674804159bf92bf6fa3304cc2bbaa809865c90220535bf139f76f18a83d1838030c3c21279a4a48fa837e40a67e949a270fe6e45d012102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19deffffffff02005a62020000000017a9141aa62db9a71e78c28aa96c2d3d639406f976b7f68740548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000
                          {
                              "txid" : "0862ac151ab4a9d4e735652b073c85fe378d8ed6d15a43c0065ce1ae7c298098",
                              "version" : 1,
                              "locktime" : 0,
                              "vin" : [
                                  {
                                      "txid" : "dc5406f3ffea7c1b2ada8d0117aa16921ea6858b8d1e593c57a9ad1bd91aa767",
                                      "vout" : 1,
                                      "scriptSig" : {
                                          "asm" : "3045022100e11e831bb1c5eb73bd6aa1cadae674804159bf92bf6fa3304cc2bbaa809865c90220535bf139f76f18a83d1838030c3c21279a4a48fa837e40a67e949a270fe6e45d01 02bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de",
                                          "hex" : "483045022100e11e831bb1c5eb73bd6aa1cadae674804159bf92bf6fa3304cc2bbaa809865c90220535bf139f76f18a83d1838030c3c21279a4a48fa837e40a67e949a270fe6e45d012102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de"
                                      },
                                      "sequence" : 4294967295
                                  }
                              ],
                              "vout" : [
                                  {
                                      "value" : 0.40000000,
                                      "n" : 0,
                                      "scriptPubKey" : {
                                          "asm" : "OP_HASH160 1aa62db9a71e78c28aa96c2d3d639406f976b7f6 OP_EQUAL",
                                          "hex" : "a9141aa62db9a71e78c28aa96c2d3d639406f976b7f687",
                                          "reqSigs" : 1,
                                          "type" : "scripthash",
                                          "addresses" : [
                                              "ffspAhryW6mzpGgb38qztvqFzeYg7jq7bW"
                                          ]
                                      }
                                  },
                                  {
                                      "value" : 0.09000000,
                                      "n" : 1,
                                      "scriptPubKey" : {
                                          "asm" : "OP_DUP OP_HASH160 fb8c85d781af0f8fd866726375bb5ac1af95cf3e OP_EQUALVERIFY OP_CHECKSIG",
                                          "hex" : "76a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac",
                                          "reqSigs" : 1,
                                          "type" : "pubkeyhash",
                                          "addresses" : [
                                              "72fWjNFMTuJoSpGgQVryFZAKqjQB4MrRLD"
                                          ]
                                      }
                                  }
                              ]
                          }
                          
                          feathercoind  createrawtransaction '[{"txid":"0862ac151ab4a9d4e735652b073c85fe378d8ed6d15a43c0065ce1ae7c298098","vout":0,"scriptPubKey":"a9141aa62db9a71e78c28aa96c2d3d639406f976b7f687","redeemScript":"5221033d090ca70b01a36193bb7ca4504d58b0654f2b687e3bb49561706b1222f27598210227c6968f36afdd4d437d6d3ba43e9a8d4c7be246cc4ff009b1ba9e36692ec5692102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de53ae"}]' '{"6u6Junx4E8jmBaLwaCtUAwgmKrPmu56ukz":0.3,"72fWjNFMTuJoSpGgQVryFZAKqjQB4MrRLD":0.09}'
                          0100000001c557570293957bdee5c2e717883aebbaf1813cf5e8ef8023a454cbc5ce683bc70000000000ffffffff02801d2c04000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000
                          
                          # sign1
                          feathercoind  signrawtransaction 01000000019880297caee15c06c0435ad1d68e8d37fe853c072b6535e7d4a9b41a15ac62080000000000ffffffff0280c3c901000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000  '[{"txid":"0862ac151ab4a9d4e735652b073c85fe378d8ed6d15a43c0065ce1ae7c298098","vout":0,"scriptPubKey":"a9141aa62db9a71e78c28aa96c2d3d639406f976b7f687","redeemScript":"5221033d090ca70b01a36193bb7ca4504d58b0654f2b687e3bb49561706b1222f27598210227c6968f36afdd4d437d6d3ba43e9a8d4c7be246cc4ff009b1ba9e36692ec5692102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de53ae"}]' '["N7XQKjAmfZhM2h5Bj5fnVXpxGJgoMz6yzpokfwvgsMNRkfu9Cjw4"]'
                          {
                              "hex" : "01000000019880297caee15c06c0435ad1d68e8d37fe853c072b6535e7d4a9b41a15ac620800000000b500483045022100b460346419a6f5ebe42a76606154a0d28b00ca57317f8034210bd723c6c5855302202552517baa862100a500afee22db4ce82995fc4fdea4311a4a8284aa0d1930d0014c695221033d090ca70b01a36193bb7ca4504d58b0654f2b687e3bb49561706b1222f27598210227c6968f36afdd4d437d6d3ba43e9a8d4c7be246cc4ff009b1ba9e36692ec5692102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de53aeffffffff0280c3c901000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000",
                              "complete" : false
                          }
                          
                          # sign2
                          feathercoind  signrawtransaction 01000000019880297caee15c06c0435ad1d68e8d37fe853c072b6535e7d4a9b41a15ac620800000000b500483045022100b460346419a6f5ebe42a76606154a0d28b00ca57317f8034210bd723c6c5855302202552517baa862100a500afee22db4ce82995fc4fdea4311a4a8284aa0d1930d0014c695221033d090ca70b01a36193bb7ca4504d58b0654f2b687e3bb49561706b1222f27598210227c6968f36afdd4d437d6d3ba43e9a8d4c7be246cc4ff009b1ba9e36692ec5692102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de53aeffffffff0280c3c901000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000 '[{"txid":"0862ac151ab4a9d4e735652b073c85fe378d8ed6d15a43c0065ce1ae7c298098","vout":0,"scriptPubKey":"a9141aa62db9a71e78c28aa96c2d3d639406f976b7f687","redeemScript":"5221033d090ca70b01a36193bb7ca4504d58b0654f2b687e3bb49561706b1222f27598210227c6968f36afdd4d437d6d3ba43e9a8d4c7be246cc4ff009b1ba9e36692ec5692102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de53ae"}]' '["N6EK4wnKT6KNd8TifzkwiwQ4ZTDxokjMkMutALgfXJgM3W9xWS4p"]'
                          {
                              "hex" : "01000000019880297caee15c06c0435ad1d68e8d37fe853c072b6535e7d4a9b41a15ac620800000000fdfe0000483045022100b460346419a6f5ebe42a76606154a0d28b00ca57317f8034210bd723c6c5855302202552517baa862100a500afee22db4ce82995fc4fdea4311a4a8284aa0d1930d001483045022100a50b032630a0e963b1da40cf0545ec6233050453a5f2a0d95d93c23da861177302207ffe9ff4c56fd855841d37a246b48cbcc10ade70961c3f7fc03aaddb6aa2de84014c695221033d090ca70b01a36193bb7ca4504d58b0654f2b687e3bb49561706b1222f27598210227c6968f36afdd4d437d6d3ba43e9a8d4c7be246cc4ff009b1ba9e36692ec5692102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de53aeffffffff0280c3c901000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000",
                              "complete" : true
                          }
                          
                          #send 
                          feathercoind  sendrawtransaction 010000000167a71ad91bada9573c591e8d8b85a61e9216aa17018dda2a1b7ceafff30654dc010000006b483045022100e11e831bb1c5eb73bd6aa1cadae674804159bf92bf6fa3304cc2bbaa809865c90220535bf139f76f18a83d1838030c3c21279a4a48fa837e40a67e949a270fe6e45d012102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19deffffffff02005a62020000000017a9141aa62db9a71e78c28aa96c2d3d639406f976b7f68740548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000
                          txid=0862ac151ab4a9d4e735652b073c85fe378d8ed6d15a43c0065ce1ae7c298098
                          
                          feathercoind  sendrawtransaction 01000000019880297caee15c06c0435ad1d68e8d37fe853c072b6535e7d4a9b41a15ac620800000000fdfe0000483045022100b460346419a6f5ebe42a76606154a0d28b00ca57317f8034210bd723c6c5855302202552517baa862100a500afee22db4ce82995fc4fdea4311a4a8284aa0d1930d001483045022100a50b032630a0e963b1da40cf0545ec6233050453a5f2a0d95d93c23da861177302207ffe9ff4c56fd855841d37a246b48cbcc10ade70961c3f7fc03aaddb6aa2de84014c695221033d090ca70b01a36193bb7ca4504d58b0654f2b687e3bb49561706b1222f27598210227c6968f36afdd4d437d6d3ba43e9a8d4c7be246cc4ff009b1ba9e36692ec5692102bd1332538523d32cb9c4923aa041dfead50b8408d51b0f560a2aa90093ba19de53aeffffffff0280c3c901000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac40548900000000001976a914fb8c85d781af0f8fd866726375bb5ac1af95cf3e88ac00000000
                          txid=eb8e3c9f32b7886723f660e2be1c7d7ec36f4fb597cead352b45824921f6bb5c
                          
                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post