Registry / crypto / decred-dcrd-txscript-v4

decred-dcrd-txscript-v4

JSON →
library4.1.2gogounverified

Package txscript implements the Decred transaction script language.

go get github.com/decred/dcrd/txscript/v4
INSTALL
IMPORT
SIG · DECRED-DCRD-TXSCRI
D
decred-dcrd-txscript-v4
cryptogov4.1.2
harness data pending
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/v4

Parses a Decred transaction script

import "github.com/decred/dcrd/txscript/v4" func main() { // Example: parse a standard pay-to-pubkey-hash script script := []byte{0x76, 0xa9, 0x14, 0x89, 0xab, 0xcd, 0xef, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0x88, 0xac} parsed, err := txscript.ParseScript(script) if err != nil { panic(err) } _ = parsed }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.1.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Resources
decred-dcrd-txscript-v4 — go get decred-dcrd-txscript-v4 · libregistry