This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATA lo_digest TYPE Ref To cl_abap_message_digest. | |
DATA lv_timestamp TYPE timestampl. | |
DATA lv_int TYPE int4. | |
DATA lv_text TYPE string. | |
DATA lv_hash_string TYPE string. | |
DATA lv_hash_base64 TYPE string. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const bitcoin = require('bitcoinjs-lib') | |
const psbt = new bitcoin.Psbt({ network: bitcoin.networks.testnet }) | |
// example transaction | |
const unspentOutput = { | |
"txid": "11e5b7005a76c8a53f9a0036bc1a2745ebd73ad40017b3169894aa2c19e789d7", | |
"vout": 1, | |
"address": "2NCxBSjMaVeBFyxmGcD2X428v6k5n3pCQKN", | |
"label": "payment", | |
"redeemScript": "001495a994a417c45f97c87d03efb21997452d4c782f", |