{"id":67248,"library":"decred-dcrd-txscript-v4","title":"Decred TxScript v4","description":"Package txscript implements the Decred transaction script language.","status":"active","version":"4.1.2","language":"go","source_language":null,"source_url":"https://github.com/decred/dcrd","tags":["decred","blockchain","cryptocurrency","script"],"install":[{"cmd":"go get github.com/decred/dcrd/txscript/v4","lang":"bash","label":"Install github.com/decred/dcrd/txscript/v4"}],"dependencies":[],"imports":[{"symbol":"txscript","correct":"github.com/decred/dcrd/txscript/v4"}],"quickstart":{"code":"import \"github.com/decred/dcrd/txscript/v4\"\n\nfunc main() {\n    // Example: parse a standard pay-to-pubkey-hash script\n    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}\n    parsed, err := txscript.ParseScript(script)\n    if err != nil {\n        panic(err)\n    }\n    _ = parsed\n}","lang":"go","description":"Parses a Decred transaction script"},"warnings":[],"env_vars":null,"search_vec":"'blockchain':13 'cryptocurr':14 'decr':1,8,12 'implement':6 'languag':11 'packag':4 'script':10,15 'transact':9 'txscript':2,5 'v4':3","created_at":"2026-06-17T17:34:45.014753+00:00","updated_at":"2026-06-17T17:34:45.014753+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/decred/dcrd","github":"https://github.com/decred/dcrd","docs":"https://pkg.go.dev/github.com/decred/dcrd/txscript/v4#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}