Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
txscript
✓ github.com/decred/dcrd/txscript
Disassembles a Decred transaction script.
package main
import (
"fmt"
"github.com/decred/dcrd/txscript"
)
func main() {
// Example: parse a script
script := []byte{0x76, 0xa9, 0x14, 0x89, 0xab, 0xcd, 0xef, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0x88, 0xac}
disasm, _ := txscript.DisasmString(script)
fmt.Println(disasm)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Dependencies
No dependency data recorded yet.