bitcoinjs-lib/test/fixtures/address.json

67 lines
2.2 KiB
JSON
Raw Normal View History

2014-05-18 11:47:39 +02:00
{
2014-05-14 06:38:55 +02:00
"valid": [
{
2014-05-14 06:38:55 +02:00
"network": "bitcoin",
"version": 0,
2014-11-28 04:02:19 +01:00
"hash": "751e76e8199196d454941c45d1b3a323f1433bd6",
2014-05-14 06:38:55 +02:00
"base58check": "1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH",
2014-11-28 04:02:19 +01:00
"script": "OP_DUP OP_HASH160 751e76e8199196d454941c45d1b3a323f1433bd6 OP_EQUALVERIFY OP_CHECKSIG"
},
{
2014-05-14 06:38:55 +02:00
"network": "bitcoin",
"version": 5,
2014-11-28 04:02:19 +01:00
"hash": "cd7b44d0b03f2d026d1e586d7ae18903b0d385f6",
2014-05-14 06:38:55 +02:00
"base58check": "3LRW7jeCvQCRdPF8S3yUCfRAx4eqXFmdcr",
2014-11-28 04:02:19 +01:00
"script": "OP_HASH160 cd7b44d0b03f2d026d1e586d7ae18903b0d385f6 OP_EQUAL"
},
{
2014-05-14 06:38:55 +02:00
"network": "testnet",
"version": 111,
2014-11-28 04:02:19 +01:00
"hash": "751e76e8199196d454941c45d1b3a323f1433bd6",
2014-05-14 06:38:55 +02:00
"base58check": "mrCDrCybB6J1vRfbwM5hemdJz73FwDBC8r",
2014-11-28 04:02:19 +01:00
"script": "OP_DUP OP_HASH160 751e76e8199196d454941c45d1b3a323f1433bd6 OP_EQUALVERIFY OP_CHECKSIG"
},
{
2014-05-14 06:38:55 +02:00
"network": "testnet",
"version": 196,
2014-11-28 04:02:19 +01:00
"hash": "cd7b44d0b03f2d026d1e586d7ae18903b0d385f6",
2014-05-14 06:38:55 +02:00
"base58check": "2NByiBUaEXrhmqAsg7BbLpcQSAQs1EDwt5w",
2014-11-28 04:02:19 +01:00
"script": "OP_HASH160 cd7b44d0b03f2d026d1e586d7ae18903b0d385f6 OP_EQUAL"
}
],
2014-05-14 06:38:55 +02:00
"invalid": {
"fromBase58Check": [
{
"description": "hash too short",
"base58check": "7SeEnXWPaCCALbVrTnszCVGfRU8cGfx",
"exception": "Invalid address length"
},
{
"description": "hash too long",
"base58check": "j9ywUkWg2fTQrouxxh5rSZhRvrjMkEUfuiKe",
"exception": "Invalid address length"
}
],
"fromOutputScript": [
{
"description": "has no matching Address",
2014-11-28 04:02:19 +01:00
"script": "031f1e68f82112b373f0fe980b3a89d212d2b5c01fb51eb25acb8b4c4b4299ce95 OP_CHECKSIG"
},
{
"description": "has no matching Address",
2014-11-28 04:02:19 +01:00
"script": "OP_TRUE 032487c2a32f7c8d57d2a93906a6457afd00697925b0e6e145d89af6d3bca33016 02308673d16987eaa010e540901cc6fe3695e758c19f46ce604e174dac315e685a OP_2 OP_CHECKMULTISIG"
},
{
"description": "has no matching Address",
2014-11-28 04:02:19 +01:00
"script": "OP_RETURN 06deadbeef03f895a2ad89fb6d696497af486cb7c644a27aa568c7a18dd06113401115185474"
}
],
"toOutputScript": [
{
2014-06-13 01:33:58 +02:00
"description": "24kPZCmVgzfkpGdXExy56234MRHrsqQxNWE has no matching Script",
2015-07-21 02:55:47 +02:00
"address": "24kPZCmVgzfkpGdXExy56234MRHrsqQxNWE"
}
]
}
2014-05-18 11:47:39 +02:00
}