Former End User Consultant, Current Software Developer, and a Master's degree holder in Data Science and Engineering.
"use strict"
const bcoin = require("bcoin")
const address = "12gpXQVcCL2qhTNQgyLVdCFG2Qs2px98nV"
const script = bcoin.Script.fromAddress(address)
console.log(`Address: ${address}`)
console.log(`Script: ${script}`)