Questions tagged [multi-signature]

Multi-signature addresses require m-of-n signatures to authorize spending funds sent to them.

Filter by
Sorted by
Tagged with
1
vote
1answer
19 views

How to Verify P2SH Signature

I am trying to debug an issue where i believe i might have a bad signature but i am trying to figure out how to approach it. What is this a signature of. Private key + what (redeem script? entire raw ...
0
votes
1answer
24 views

Use case for multiple inputs in a single transaction

Is there a way to ascertain a pair or more of Bitcoin addresses belong to the same wallet on the basis an address pair was used as input for a single transaction? Can I verify the address pair input ...
0
votes
1answer
67 views

Old p2sh address not signing correctly on core v0.17

https://pastebin.com/kdQPkELN if anyone can see why i am getting a 16: mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation)failure.... It is a p2sh ...
1
vote
2answers
53 views

Multisignature technology in bitcoin - math and code

I am interested in the math and code behind bitcoin multisignature technology. I've been looking for actual code that creates a multisignature address/pub key, and verifies transactions/digital ...
0
votes
1answer
16 views

Signing a Segwit Multisig Transaction

I am creating some test code which can create transactions and sign then, I already could do it with NON-Segwit multisig address, they were signed using my code and broadcasted. But when I tried with ...
2
votes
1answer
15 views

LN Payment Channels: Can you have more than two nodes in a channel?

I can't seem to find an answer to this but apologies if this exists somewhere already. From the last paragraph of section 2.0 in the lightning network paper version 0.5.9.2, "Micropayment channels ...
0
votes
2answers
15 views

Regtest createmultisig Error: Invalid public Key?

As shown below, I generated 3 new addresses (Legacy I believe) in RegTest. I then try to create a multsig address from exactly these 3 addresses. What am I doing wrong, or is this unavailable in ...
3
votes
1answer
61 views

Sign P2SH transaction with Openssl

I have an P2SH 1-3 and I want to use openssl to sign a transaction. my redem script is ...
1
vote
0answers
29 views

Output has an “Unknown” status?

Looking at transaction https://blockstream.info/tx/c362fe7f8cb94b363c0c7cd5a0f82cf0dfa7733ab8a3b90df3eb9f0bff912148 some outputs are having type: nonstandard. There are 2 questions related to it: ...
0
votes
2answers
32 views

Segwit Bitcoin Transaction Signing

As I could understand, we can recover the R and the S values from any transaction following the ScriptSig where we have DER serialization. Segwit transactions, where the signature will be in the ...
0
votes
1answer
54 views

Segwit with Multisig

I was analyzing a Bitcoin transaction that works both with Segwit and non-Segwit for multisig Scripts. Here is the transaction: https://www.blockchain.com/en/btc/tx/...
0
votes
1answer
44 views

contract to exchange bitcoin for eth

I'm thinking about a decentralized service to exchange bitcoin for eth or any other ERC20 token. Probably something that bisq already does. Let's say A wants to sell 1 BTC for 5 ETH to B. Both have ...
0
votes
1answer
62 views

bitcoind multisig transaction not shown as multisig transaction / shown as “signed” by 2:3

Seems like there was a change in how multisig transactions are being created. Running a node using bitcoind v0.16.3 and another one using latest bitcoind (v.0.19.0.1). The multisig transaction ...
1
vote
0answers
36 views

How to get addresses from a transaction's vin?

How can i decode addresses from the following transaction's vin. Transaction: https://blockchair.com/bitcoin/transaction/ed8286d06f6df2269e8481b37bbc532c11d80bd2d1b155c920a0742daf3185b2 There are ...
0
votes
0answers
34 views

P2MS transaction

I'm studying Bitcoin's Protocol and I want to replicate P2MS in regtest. Yes I know that I can use P2SH but I'd like to understand it more in depth. I Have 3 addresses P2PKH (A and B and C). A has 50 ...
0
votes
0answers
16 views

How do I add a multisig wallet to a site, so that each user can top up their account and buy things

I want to add a multisig wallet onto my site, the idea being users can top up BTC and spend it on the site to buy things like iPhones or MacBooks we have for sale, thanks
3
votes
1answer
36 views

What is an extended fingerprint (xfp) and how does it differ from an xpub?

Coldcard requires the xfps of all of its cosigners to be able to verify and sign multisig transactions. Providing the coldcard with just the xpubs is not enough, which I believe to mean that the xfp ...
5
votes
0answers
45 views

Why do the xpubs from electrum and trezor not match when creating a multisig wallet?

For a little background, I am trying to set up a 2-of-3 multisig wallet with 2 trezors and a coldcard. I am trying to verify that my setup is correct before putting any meaningful amount of money in ...
0
votes
1answer
41 views

Query Reagrding DER Signature

(For Bitcoin TestNet Only) I am working on Signed Transaction which consists More than One Inputs and More than One Outputs (Unsigned HEX Data). after that i have generated two DER Signature of both ...
2
votes
1answer
46 views

Check if multiple signatures match a specifc public key

Suppose you have a company which has three main leaders called A, B and C also the company have 5 shareholders called S1 to S5. The decision rule for spending any coin from company's address is to ...
1
vote
1answer
164 views

Is it possible to use Electrum to create a multisig wallet with a trezor and an airgapped coldcard?

I set up a 2-of-3 multisig using Electrum, a Trezor, and a Coldcard. During testing, I ran into issues using the Coldcard to sign. My approach: (On Electrum) File -> New/Restore -> Multi-signature ...
1
vote
0answers
39 views

How to implement 2/2 multi-signature transactions with bitcoinj

I am using bitcoinj to implement a 2/2 multi-signature transaction. Now I want to use bitcoinj to generate a 2/2 multi-signature address and its corresponding Redeem Script through the public keys of ...
0
votes
1answer
54 views

Help signing a P2WSH Multisig

I'm trying to construct a transaction in regtest mode that spends from a P2WSH 2-of-2 multisig. Here is the funding transaction for 5 btc. It also contains a change output for 5 btc. ...
2
votes
0answers
83 views

Is it possible to use Bitcoin-core for multisig? Can it handle change addresses?

I have tried to import three xpub in a watch-only wallet as keypool with importmulti and a multisig output descriptor and to fill the first address with some BTCs. When I try to spend the newly ...
0
votes
1answer
66 views

Not able to Spend 2-2 MultiSig UTXO

I created 2-2 Multisig Account 2NECouPA4UVNMzX1K7kekc4W3VudDhMdFkM from msrFNhKwLu9GrT3hFoizz21xEwJ61xMsym and n1NPFEJHBA8j63B5dgJ3aQcufA8VmrN27U, I tried spending UTXO from this account but got an ...
0
votes
1answer
25 views

How Extracting address Bitcoin to script multi signature

I want to extract the correct address from a script multi-signature. I have this real script multi-signature from this ScriptSig (tx index 1), so this is a readme script for this address OP_2 ...
2
votes
1answer
63 views

Multisig refund transaction flaw in Lightning Network talk

I was watching Tadje Dryja's talk at SF Bitcoin Devs conference on transaction malleability, which formed part of the basis behind the Lightning Network. At 17'45", I saw this example. Prior to ...
1
vote
0answers
35 views

Is possible extract the original script P2MS from the transaction locked with the P2SH address?

This is a stupid question because if the P2SH contains the hash160 (and the hash160 contains the sha256) of the P2MS doesn't possible return to the original hex P2MS. So, but for verifying the P2SH I ...
1
vote
1answer
81 views

Error Signing P2SH-P2WSH MultiSig - “Unable to sign input, invalid stack size (possibly missing key)”

I am trying to create and spend a P2SH-P2WSH transaction using bitcoin-cli but am getting "Unable to sign input, invalid stack size (possibly missing key)" when I try to sign the Multi-Sig transaction ...
1
vote
1answer
101 views

How to sign a raw multisig transaction from an external private key

I am creating a 2-of-3 multisig wallet, where the 2 hot keys are external HSM devices. I am using Bcoin to create my transactions. After the transactions are created, I will send the raw transaction ...
1
vote
1answer
39 views

2-of-3 multisignature account with limitations on withdrawal

I want to create a 2 of 3 multi-signature account from where one can withdraw money only after a certain period of time. How can this be done?
0
votes
1answer
113 views

Is there an equivalent to the Xpub/Zpub for multisig wallets?

When I have a typical wallet, I can give my Xpub to someone to generate addresses whenever they need. ("they" here could be an instance of BTCPAY server or some other application that I don't want to ...
0
votes
0answers
35 views

Bitcoin multisignature addresses

Suppose we have a multisignature address "abc" with 100 coins in bitcoin regtest network, I want to that 100 coins in 10 slots that is i want spend 10 coins at a particular interval. I tried the ...
1
vote
1answer
45 views

BIP67 + importmulti + multisig descriptors

I'm trying to setup a Bitcoin Core watch-only wallet using importmulti and a sh(multi(m,xpub1/*,...,xpubn/*)) ranged descriptor, and then use deriveaddresses to get receiving addresses. Is it ...
0
votes
1answer
30 views

Can a block have multiple coinbase transactions? Also is there a limit to the number of signatures a multi-sig transaction has or requires? [closed]

I am wondering if a block can be created with multiple coinbase transactions. The US government regulates mining pools that have control over the miner's wallets, so it would be fabulous if this could ...
1
vote
1answer
43 views

Is it possible to recreate a multisig wallet with just 2 out of 3 private keys?

Example: Created a 2 of 3 multisig wallet in Electrum Send funds to the multisig wallet Lost the Electrum wallet Access to two of the private keys (e.g. 2 trezors) Is it possible to recreate the ...
3
votes
1answer
304 views

Is it possible to do a 3-of-5 OR 1 multi-sig for backup purposes?

I'd like to create a multi-sig wallet where I can freely create transactions, but I want to give keys to trusted friends/family + a safety deposit box so that if I hit my head and forget my password, ...
0
votes
2answers
74 views

Question regarding MultiSig outputs

Just saw good question on Telegram: So I working on an algorithm that would download and process bitcoin blocks, specifically the transactions in them. I want to take every output address of every ...
1
vote
1answer
147 views

Create a 2-of-3 multisig raw transaction

I would like to create a Bitcoin transaction with a single input and a single 2-of-3 multisig output that pays 1 BTC to any 2 of the following 3 keys: ...
1
vote
1answer
38 views

Creating a multisig wallet with bcoin and receiving transactions

I am trying to create a multisig wallet from two externally generated xpubs. The process I am taking is to create two multisig wallets with the two xpubs, add each others keys as shared keys and ...
0
votes
1answer
29 views

Bitcoin transactions between two parties

Lets say bitcoin become a global currency which replace fiat money.. If someone (physically )is asking for bitcoins and its urgent and i don't have phone to access the network and the one whos asking ...
0
votes
1answer
33 views

Getting source address of a Tx message from it's signature script

I have a simple bitcoin packet which contains TX message. in a TX message, one of it's Transaction input hex data was like this: ...
0
votes
1answer
73 views

How to write OP_CHECKMULTISIG for the following 1-of-2 multisig P2SH script

OP_IF OP_SHA256 <hash of secret> OP_EQUALVERIFY <pubKey of swap> OP_CHECKSIG OP_ELSE <relative locktime> OP_CHECKSEQUENCEVERIFY OP_DROP <pubKey of refund> ...
1
vote
1answer
259 views

How to calculate the size of multisig transaction?

Can you help or suggest the formula for calculation of simple multi-sig transactions? I have an issue to calculate the size of multi signature 2-2 transaction. I tried to follow this: Predict ...
0
votes
1answer
65 views

How to re-secure a multisignature wallet if private key is stolen

Here are two attack scenarios on bitcoin private keys: 1) Assume that, BitCorp has just noticed that a Mallory has just compromised one of their servers holding their Bitcoin Private keys. Luckily,...
0
votes
0answers
26 views
0
votes
2answers
333 views

Why did repeated “R” values occur in Bitcoin transactions before?

Please explain why earlier the repeated values of "R" occurred in Bitcoin transactions. For example, this transaction has a repetition of the value "R": https://www.blockchain.com/btc/tx/...
0
votes
0answers
36 views

Pass Multiple addresses in redeem p2sh script

I have the following code const script = this.app.env.bitcoin.script.compile([ hashOpcode, Buffer.from(secretHash, "hex"), this.app.env.bitcoin.opcodes.OP_EQUALVERIFY, Buffer.from(...
1
vote
1answer
72 views

Multisig without P2WSH in Lightning

The current Lightning implementations use P2WSH script format for multisig in the funding transaction. But it is also possible to use the CHECKMULTISIG opcode "natively", i.e., without P2WSH (see ...
2
votes
2answers
269 views

How can one see if an address is multisig?

Some addresses on this page indicate whether the address is a multisig, and what the threshold signature scheme is. How do they detect this?

1
2 3 4 5
8