Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityAnybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
Say I'm creating a multi-sig wallet with a friend to bet on the election. Can my deposit to the multi-sig wallet be dependent on the my friends deposit to the wallet?
Say I'm Alice, and my friend is Bob. Our shared multi-sig wallet is S. Would the following work?
Block N: TxA Input1: A.amountX Input2: B.amountX Output1: S.amountY A.sig B.sig
Edit: Received good answer below, to summarize use Partially Signed Bitcoin Transactions (PSBT) BIP-174, it relies on Sighash Flags
, this enables parties to sign more than just their own input.
To accomplish this you could create a single transaction that you both supplies inputs to, and that creates an output paying to your multi sig address. In order for the transaction to be valid you will both need to sign it, and of course neither of you should sign it unless the other has supplied an input with the agreed upon value.
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments