{"id":20996733,"url":"https://github.com/jeiwan/opscript","last_synced_at":"2026-03-01T02:31:29.146Z","repository":{"id":82807586,"uuid":"223883836","full_name":"Jeiwan/opscript","owner":"Jeiwan","description":"A viewer and debugger of Bitcoin scripts.","archived":false,"fork":false,"pushed_at":"2020-04-29T08:08:42.000Z","size":162,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-17T06:49:48.668Z","etag":null,"topics":["bitcoin","bitcoin-script","golang","script"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jeiwan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-25T07:09:05.000Z","updated_at":"2024-08-12T19:55:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7bdc2d2-b86e-4e3f-be28-37ac94e39ef5","html_url":"https://github.com/Jeiwan/opscript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jeiwan/opscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jeiwan%2Fopscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jeiwan%2Fopscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jeiwan%2Fopscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jeiwan%2Fopscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jeiwan","download_url":"https://codeload.github.com/Jeiwan/opscript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jeiwan%2Fopscript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29959040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","bitcoin-script","golang","script"],"created_at":"2024-11-19T07:37:01.958Z","updated_at":"2026-03-01T02:31:29.127Z","avatar_url":"https://github.com/Jeiwan.png","language":"Go","readme":"## OP_SCRIPT\n\nA viewer and debugger of Bitcoin scripts. **Early development.**\n\n![Screenshot](./screenshot.png)\n\n\n## Features\n1. Can fetch transactions from:\n    1. A Bitcoin node (requires a full node with `txindex=1`). Default.\n    1. [Blockstream.info](https://blockstream.info) JSON API. Use `--blockstream` flag.\n1. Automatically finds related output.\n1. Allows to navigate forward and backward.\n1. Shows stack per line of code.\n1. Shows opcodes information (hex code, input, output, and description).\n1. Supports witness data (SegWit).\n1. Uses [`btcd/txscript`](https://github.com/btcsuite/btcd/tree/master/txscript) under the hood.\n\n\n## Usage\n\n1. `go get github.com/Jeiwan/opscript`\n1. `opscript help`\n    ```shell\n    Usage:\n    opscript [flags] transactionHash:inputIndex\n    opscript [command]\n\n    Available Commands:\n    buildspec\n    help        Help about any command\n\n    Flags:\n        --blockstream        Use blockstream.info API to get transactions.\n    -h, --help               help for opscript\n        --node               Use Bitcoin node to get transactions (requires 'txindex=1'). (default true)\n        --node-addr string   Bitcoin node address. (default \"127.0.0.1:8332\")\n        --rpc-pass string    Bitcoin JSON-RPC password.\n        --rpc-user string    Bitcoin JSON-RPC username.\n\n    Use \"opscript [command] --help\" for more information about a command.\n    ```\n\n## Key bindings\n\n* `q` – quit\n* `↑`/`↓` – navigate between lines of code\n\n\n## Examples\n* Using Blockstream.info API:\n    ```shell\n    opscript --blockstream 70fde4687efab8dae09737f87e30042030288fec42fd9e12f34c435cdeb7812c\n    ```\n* Specifying input index:\n    ```shell\n    opscript --blockstream 70fde4687efab8dae09737f87e30042030288fec42fd9e12f34c435cdeb7812c:0\n    ```\n* Using a Bitcoin node:\n    ```shell\n    opscript --rpc-user=woot --rpc-pass=woot 70fde4687efab8dae09737f87e30042030288fec42fd9e12f34c435cdeb7812c\n    ```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeiwan%2Fopscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeiwan%2Fopscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeiwan%2Fopscript/lists"}