Skip to content

P2PKH Tests

bitcoincoretech edited this page Nov 17, 2020 · 3 revisions

More P2PKH Test Data

image image


    {
      "description": "input/output from pubkey/signature",
      "arguments": {
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001",
        "signature": "300602010002010001"
      },
      "expected": {
        "name": "p2pkh",
        "address": "134D6gYy8DsR5m4416BnmgASuMBqKvogQh",
        "hash": "168b992bcfc44050310b3a94bd0771136d0b28d1",
        "output": "OP_DUP OP_HASH160 168b992bcfc44050310b3a94bd0771136d0b28d1 OP_EQUALVERIFY OP_CHECKSIG",
        "input": "300602010002010001 030000000000000000000000000000000000000000000000000000000000000001",
        "witness": []
      }
    }

Clone this wiki locally