# āļāļēāļĢāļāđāļēāļāļāļēāļ RightTech EP5
āļĨāļāļāļŠāļĢāđāļēāļāļāļļāļĢāļāļĢāļĢāļĄāļāđāļ§āļĒ P2SH-P2WSH āđāļāļ multisig
āļŠāļĢāđāļēāļāļāļļāļĢāļāļĢāļĢāļĄ Bitcoin āđāļāļ P2SH-P2WSH āļāļķāđāļāđāļāđ 2-of-2 Multisig Redeem Script āļāļĩāđāļĨāļāļĨāļēāļĒāđāļāđāļāļāļĢāļāļāđāļ§āļ āđāļĨāđāļ§āļāļąāļāļāļķāļāļāļļāļĢāļāļĢāļĢāļĄāļāļĩāđ serialize āđāļĨāđāļ§āđāļāļĢāļđāļāđāļāļ hex āļĨāļāđāļāđāļāļĨāđ out.txt
- āļŠāļĢāđāļēāļāļāļļāļĢāļāļĢāļĢāļĄāļāļēāļāļāđāļāļĄāļđāļĨāļāļĩāđāļĄāļĩāđāļŦāđ
- āļāļģāļāļ§āļ sighash āļāļāļāļāļļāļĢāļāļĢāļĢāļĄ āđāļĨāđāļ§āļāđāļŠāļĢāđāļēāļ ecdsa āđāļāļ·āđāļāļāļģāļāļ§āļāļŦāļē sig āļāļāļ privkey āļāļąāđāļāļŠāļāļāļāļāļ
- āļŠāļĢāđāļēāļ script_sig āļāļĩāđāļāļđāļāļāđāļāļāļāļēāļ redeem_script āļāļĩāđāđāļŦāđāđāļ§āđ
- āļŠāļĢāđāļēāļ witness stack āļāļĩāđāļāļđāļāļāđāļāļāļāļēāļĄāļĢāļđāļāđāļāļ multisig
- āđāļāļĩāļĒāļ transaction hex āļĨāļāđāļāđāļāļĨāđ out.txt
Transaction Spec
```
- Private Key 1: `39dc0a9f0b185a2ee56349691f34716e6e0cda06a7f9707742ac113c4e2317bf`
- Private Key 2: `5077ccd9c558b7d04a81920d38aa11b4a9f9de3b23fab45c3ef28039920fdd6d`
- Redeem Script (ASM): `OP_2 032ff8c5df0bc00fe1ac2319c3b8070d6d1e04cfbf4fedda499ae7b775185ad53b 039bbc8d24f89e5bc44c5b0d1980d6658316a6b2440023117c3c03a4975b04dd56 OP_2 OP_CHECKMULTISIG`
- Redeem Script (HEX): `5221032ff8c5df0bc00fe1ac2319c3b8070d6d1e04cfbf4fedda499ae7b775185ad53b21039bbc8d24f89e5bc44c5b0d1980d6658316a6b2440023117c3c03a4975b04dd5652ae`
- Transaction should contain exactly 1 input with:
- Outpoint:
- Hash: `0000000000000000000000000000000000000000000000000000000000000000`
- Index: `0`
- Sequence: `0xffffffff`
- Transaction should contain exactly 1 output with:
- Value: `0.001`
- Address: `325UUecEQuyrTd28Xs2hvAxdAjHM7XzqVF`
- Locktime: `0`
```
āļāļ°āđāļāļĩāļĒāļāļ āļēāļĐāļēāđāļŦāļāļāđāđāļāđāļāļēāļĄāļāļĩāđāļāļļāļāļāļāļąāļ
#Siamstr #RighTech