Registry / crypto / decred-dcrd-txscript-v2

decred-dcrd-txscript-v2

JSON →
librarygogounverified

Package txscript implements the Decred transaction script language.

go get github.com/decred/dcrd/txscript/v2
INSTALL
IMPORT
SIG · DECRED-DCRD-TXSCRI
D
decred-dcrd-txscript-v2
cryptogo
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/v2

Builds a simple Decred script with OP_TRUE.

package main import ( "fmt" "github.com/decred/dcrd/txscript/v2" ) func main() { script, err := txscript.NewScriptBuilder().AddOp(txscript.OP_TRUE).Script() if err != nil { fmt.Println(err) return } fmt.Printf("Script: %x\n", script) }
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.

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