Skip to content

P2WPKH Tests

bitcoincoretech edited this page Nov 17, 2020 · 2 revisions

More P2WPKH Test Data

image image


    {
      "description": "witness/output from pubkey/signature",
      "arguments": {
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001",
        "signature": "300602010002010001"
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qz69ej270c3q9qvgt822t6pm3zdksk2x35j2jlm",
        "hash": "168b992bcfc44050310b3a94bd0771136d0b28d1",
        "output": "OP_0 168b992bcfc44050310b3a94bd0771136d0b28d1",
        "input": "",
        "witness": [
          "300602010002010001",
          "030000000000000000000000000000000000000000000000000000000000000001"
        ]
      }
    }

Clone this wiki locally