mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 10:58:09 +00:00
167 lines
5.5 KiB
JSON
167 lines
5.5 KiB
JSON
{
|
|
"setup": {
|
|
"mnemonic": [
|
|
"extra extend academic bishop cricket bundle tofu goat apart victim enlarge program behavior permit course armed jerky faint language modern",
|
|
"extra extend academic acne away best indicate impact square oasis prospect painting voting guest either argue username racism enemy eclipse",
|
|
"extra extend academic arcade born dive legal hush gross briefing talent drug much home firefly toxic analysis idea umbrella slice"
|
|
],
|
|
"passphrase": "TREZOR"
|
|
},
|
|
"tests": [
|
|
{
|
|
"description": "Mainnet transaction without change",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"tx_hash": "73e09bdebf98a9e0f17f86a2d11e0f14f4f8dae77cdf26ff1678e821f20c8db6",
|
|
"witnesses": [
|
|
{
|
|
"type": 0,
|
|
"pub_key": "24c4fe188a39103db88818bc191fd8571eae7b284ebcbdf2462bde97b058a95c",
|
|
"signature": "55c179ff2beca2c6a78d66de3dea5a6e3134ca3430447c9b73ede73d9b6ae524cde73db59d93a4dfccbbd42b4f4dbacbb655b27171d0f248fdd2d0dc16e01304",
|
|
"chain_code": "6f7a744035f4b3ddb8f861c18446169643cc3ae85e271b4b4f0eda05cf84c65b"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"description": "Mainnet transaction with change",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
},
|
|
{
|
|
"addressType": 8,
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"amount": "1000000"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"tx_hash": "4c43ce4c72f145b145ae7add414722735e250d048f61c4585a5becafcbffa6ae",
|
|
"witnesses": [
|
|
{
|
|
"type": 0,
|
|
"pub_key": "24c4fe188a39103db88818bc191fd8571eae7b284ebcbdf2462bde97b058a95c",
|
|
"signature": "594c986290cc5cddf3c242f2d650fcbfd0705949c9990569798c29e42ca7b0d6e92a589be6962dcce9c53c63de973d84c38cf53374b5329e20973a280abec00d",
|
|
"chain_code": "6f7a744035f4b3ddb8f861c18446169643cc3ae85e271b4b4f0eda05cf84c65b"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"description": "Testnet transaction",
|
|
"parameters": {
|
|
"protocol_magic": 42,
|
|
"network_id": 0,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "2657WMsDfac7BteXkJq5Jzdog4h47fPbkwUM49isuWbYAr2cFRHa3rURP236h9PBe",
|
|
"amount": "3003112"
|
|
},
|
|
{
|
|
"addressType": 8,
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"amount": "1000000"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"tx_hash": "93a2c3cfb67ef1e4bae167b0f443c3370664bdb9171bc9cd41bad98e5cc049b2",
|
|
"witnesses": [
|
|
{
|
|
"type": 0,
|
|
"pub_key": "24c4fe188a39103db88818bc191fd8571eae7b284ebcbdf2462bde97b058a95c",
|
|
"signature": "552d1d66972598532fa539faa98cdc7889c8dce00577626a62fb22d0e244d9f49732b6ab65593352a7486123077b7e36308c5048cc8ee6dc465e576f065cb705",
|
|
"chain_code": "6f7a744035f4b3ddb8f861c18446169643cc3ae85e271b4b4f0eda05cf84c65b"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|