{"id":14980021,"url":"https://github.com/zig-bitcoin/btczee","last_synced_at":"2025-07-31T11:13:01.586Z","repository":{"id":255454326,"uuid":"847730173","full_name":"zig-bitcoin/btczee","owner":"zig-bitcoin","description":"Bitcoin protocol implementation in Zig.","archived":false,"fork":false,"pushed_at":"2024-10-07T12:02:21.000Z","size":8650,"stargazers_count":62,"open_issues_count":10,"forks_count":31,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-26T22:57:50.094Z","etag":null,"topics":["bitcoin","bitcoin-wallet","ziglang"],"latest_commit_sha":null,"homepage":"https://zig-bitcoin.github.io/btczee/","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zig-bitcoin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-26T12:42:55.000Z","updated_at":"2025-07-19T00:36:35.000Z","dependencies_parsed_at":"2024-09-15T03:22:12.753Z","dependency_job_id":"d1ed1b2f-cc99-45f7-9958-cabcaef9b1c8","html_url":"https://github.com/zig-bitcoin/btczee","commit_stats":{"total_commits":52,"total_committers":8,"mean_commits":6.5,"dds":0.5576923076923077,"last_synced_commit":"5c288b7bdd3e63e835f5e4b2b1647278adc3b8b6"},"previous_names":["zig-bitcoin/btczee"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zig-bitcoin/btczee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zig-bitcoin%2Fbtczee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zig-bitcoin%2Fbtczee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zig-bitcoin%2Fbtczee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zig-bitcoin%2Fbtczee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zig-bitcoin","download_url":"https://codeload.github.com/zig-bitcoin/btczee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zig-bitcoin%2Fbtczee/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268027866,"owners_count":24183717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"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-wallet","ziglang"],"created_at":"2024-09-24T14:01:10.471Z","updated_at":"2025-07-31T11:13:01.557Z","avatar_url":"https://github.com/zig-bitcoin.png","language":"Zig","funding_links":[],"categories":["Applications"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./docs/img/btczee.png\" alt=\"btczee-logo\" height=\"260\"/\u003e\n    \u003ch2\u003eBitcoin protocol implementation in Zig.\u003c/h2\u003e\n\n\u003ca href=\"https://github.com/zig-bitcoin/btczee/actions/workflows/check.yml\"\u003e\u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/zig-bitcoin/btczee/check.yml?style=for-the-badge\" height=30\u003e\u003c/a\u003e\n\u003ca href=\"https://ziglang.org/\"\u003e \u003cimg alt=\"Zig\" src=\"https://img.shields.io/badge/zig-%23000000.svg?style=for-the-badge\u0026logo=zig\u0026logoColor=white\" height=30\u003e\u003c/a\u003e\n\u003ca href=\"https://bitcoin.org/\"\u003e \u003cimg alt=\"Bitcoin\" src=\"https://img.shields.io/badge/Bitcoin-000?style=for-the-badge\u0026logo=bitcoin\u0026logoColor=white\" height=30\u003e\u003c/a\u003e\n\u003ca href=\"https://lightning.network/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Ligthning Network-000.svg?\u0026style=for-the-badge\u0026logo=data:image/svg%2bxml;base64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI%2FPg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIEZpcmV3b3JrcyAxMCwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0%2BDQo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPg0KPHN2ZyBpZD0iYml0Y29pbl9saWdodG5pbmdfaWNvbi5mdy1QYWdlJTIwMSIgdmlld0JveD0iMCAwIDI4MCAyODAiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgdmVyc2lvbj0iMS4xIg0KCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQoJeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyODBweCIgaGVpZ2h0PSIyODBweCINCj4NCgk8cGF0aCBpZD0iRWxsaXBzZSIgZD0iTSA3IDE0MC41IEMgNyA2Ni43NjkgNjYuNzY5IDcgMTQwLjUgNyBDIDIxNC4yMzEgNyAyNzQgNjYuNzY5IDI3NCAxNDAuNSBDIDI3NCAyMTQuMjMxIDIxNC4yMzEgMjc0IDE0MC41IDI3NCBDIDY2Ljc2OSAyNzQgNyAyMTQuMjMxIDcgMTQwLjUgWiIgZmlsbD0iI2Y3OTMxYSIvPg0KCTxwYXRoIGQ9Ik0gMTYxLjE5NDMgNTEuNSBDIDE1My4yMzQ5IDcyLjE2MDcgMTQ1LjI3NTYgOTQuNDEwNyAxMzUuNzI0NCAxMTYuNjYwNyBDIDEzNS43MjQ0IDExNi42NjA3IDEzNS43MjQ0IDExOS44MzkzIDEzOC45MDgxIDExOS44MzkzIEwgMjA0LjE3NDcgMTE5LjgzOTMgQyAyMDQuMTc0NyAxMTkuODM5MyAyMDQuMTc0NyAxMjEuNDI4NiAyMDUuNzY2NyAxMjMuMDE3OSBMIDExMC4yNTQ1IDIyOS41IEMgMTA4LjY2MjYgMjI3LjkxMDcgMTA4LjY2MjYgMjI2LjMyMTQgMTA4LjY2MjYgMjI0LjczMjEgTCAxNDIuMDkxOSAxNTMuMjE0MyBMIDE0Mi4wOTE5IDE0Ni44NTcxIEwgNzUuMjMzMyAxNDYuODU3MSBMIDc1LjIzMzMgMTQwLjUgTCAxNTYuNDE4NyA1MS41IEwgMTYxLjE5NDMgNTEuNSBaIiBmaWxsPSIjZmZmZmZmIi8%2BDQo8L3N2Zz4%3D\" alt=\"Bitcoin Lightning\" height=\"30\"\u003e\u003c/a\u003e\n\n\u003c/div\u003e\n\n# About\n\n`btczee` is a Bitcoin protocol implementation in Zig. It aims to provide a clean and simple implementation of the Bitcoin protocol. The goal is to have a fully functional Bitcoin node that can be used to interact with the Bitcoin network.\n\n## Architecture\n\nYou can find the architecture of the project and description of components in the [docs/architecture.md](./docs/architecture.md) file.\n\n```mermaid\ngraph TD\n    Node[Node] --\u003e Network\n    Node --\u003e Mempool\n    Node --\u003e Wallet\n    Node --\u003e Storage\n    Node --\u003e Miner\n\n    Network --\u003e Mempool\n    Network --\u003e Storage\n\n    Mempool --\u003e Wallet\n    Mempool --\u003e Storage\n\n    Wallet --\u003e Storage\n\n    Miner --\u003e Mempool\n    Miner --\u003e Storage\n\n    subgraph \"Core Components\"\n        Node\n        Network\n        Mempool\n        Wallet\n        Storage\n        Miner\n    end\n\n    subgraph \"Supporting Components\"\n        Types\n        Primitives\n        Config\n    end\n\n    Node -.-\u003e Types\n    Node -.-\u003e Primitives\n    Node -.-\u003e Config\n\n    classDef core fill:#f9f,stroke:#333,stroke-width:2px;\n    classDef support fill:#bbf,stroke:#333,stroke-width:1px;\n    class Node,Network,Mempool,Wallet,Storage,Miner core;\n    class Types,Primitives,Config support;\n```\n\n## Run\n\n```sh\nUsage: btczee [command] [args]\n\nCommands:\n  node     \u003csubcommand\u003e\n  wallet   \u003csubcommand\u003e\n```\n\n### Node\n\n```sh\nUsage: btczee node \u003csubcommand\u003e\n\nSubcommands:\n  help   Display help for node\n```\n\nExample:\n\n```sh\nzig build run -- node\n\n# OR (after a build)\n./zig-out/bin/btczee node\n```\n\n### Wallet\n\n```sh\nUsage: btczee wallet \u003csubcommand\u003e\n\nSubcommands:\n  create    Create a new wallet\n  load      Load an existing wallet\n  help      Display help for wallet\n```\n\nExample:\n\n```sh\nzig build run -- wallet create\n\n# OR (after a build)\n./zig-out/bin/btczee wallet create\n```\n\n## Test\n\n```sh\nzig build test --summary all\n```\n\n## Build\n\n```sh\nzig build -Doptimize=ReleaseFast\n```\n\n## Benchmark\n\n```sh\nzig build bench\n```\n\n## Documentation\n\nYou can generate the documentation by running the following command:\n\n```sh\nzig build docs\n```\n\n## Roadmap\n\nYou can find the roadmap of the project in the [docs/roadmap.md](./docs/roadmap.md) file.\n\n## License\n\n`btczee` is licensed under the MIT license. See the [LICENSE](./LICENSE) file for more details.\n\n## References\n\n- [Bitcoin Core](https://github.com/bitcoin/bitcoin)\n- [Learn me a bitcoin](https://learnmeabitcoin.com/)\n- [Mastering Bitcoin](https://github.com/bitcoinbook/bitcoinbook)\n- [Onboarding to Bitcoin Core](https://github.com/chaincodelabs/onboarding-to-bitcoin-core)\n- [Zig](https://github.com/ziglang/zig)\n- [Zig Standard Library](https://github.com/ziglang/zig/tree/master/lib/std)\n- [Ziglings](https://codeberg.org/ziglings/exercises/)\n\n## Acknowledgements\n\n- [Syndica sig client in Zig](https://github.com/Syndica/sig), we are using a copy of their `time` and `trace` modules. Right now, they are not usable as external dependencies, we hope it will be possible in the future, and if so, we will switch to using their libraries directly.\n\n## Supported Opcodes\n\n47/107 opcodes supported (43.92%).\n\n```mermaid\n%%{init: {\"pie\": {\"textPosition\": 0.75}, \"themeVariables\": {\"pieOuterStrokeWidth\": \"5px\"}} }%%\npie showData\n    title Opcode Implementation Status\n    \"Implemented\" : 47\n    \"Disabled\" : 0\n    \"Not Implemented\" : 60\n```\n\n| Opcode                 | Hex       | Supported | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |\n| ---------------------- | --------- | :-------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| op0 / opFalse        | 0x00      |     ❌     | An empty array of bytes is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| opData1-opData75   | 0x01-0x4b |     ❌     | The next opcode bytes is data to be pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| opPushData1           | 0x4c      |     ✅     | The next byte contains the number of bytes to be pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| opPushData2           | 0x4d      |     ✅     | The next two bytes contain the number of bytes to be pushed onto the stack in little endian order.                                                                                                                                                                                                                                                                                                                                                                                                                                 |\n| opPushData4           | 0x4e      |     ✅     | The next four bytes contain the number of bytes to be pushed onto the stack in little endian order.                                                                                                                                                                                                                                                                                                                                                                                                                                |\n| op1Negate             | 0x4f      |     ✅     | The number -1 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| opReserved            | 0x50      |     ❌     | Transaction is invalid unless occurring in an unexecuted opIF branch                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| op1 / opTrue         | 0x51      |     ✅     | The number 1 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op2                   | 0x52      |     ✅     | The number 2 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op3                   | 0x53      |     ✅     | The number 3 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op4                   | 0x54      |     ✅     | The number 4 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op5                   | 0x55      |     ✅     | The number 5 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op6                   | 0x56      |     ✅     | The number 6 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op7                   | 0x57      |     ✅     | The number 7 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op8                   | 0x58      |     ✅     | The number 8 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op9                   | 0x59      |     ✅     | The number 9 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op10                  | 0x5a      |     ✅     | The number 10 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| op11                  | 0x5b      |     ✅     | The number 11 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| op12                  | 0x5c      |     ✅     | The number 12 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| op13                  | 0x5d      |     ✅     | The number 13 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| op14                  | 0x5e      |     ✅     | The number 14 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| op15                  | 0x5f      |     ✅     | The number 15 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| op16                  | 0x60      |     ✅     | The number 16 is pushed onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| opNop                 | 0x61      |     ✅     | Does nothing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |\n| opVer                 | 0x62      |     ❌     | Transaction is invalid unless occurring in an unexecuted opIF branch                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| opIf                  | 0x63      |     ❌     | If the top stack value is not False, the statements are executed. The top stack value is removed.                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| opNotIf               | 0x64      |     ❌     | If the top stack value is False, the statements are executed. The top stack value is removed.                                                                                                                                                                                                                                                                                                                                                                                                                                      |\n| opVerIf               | 0x65      |     ❌     | Transaction is invalid even when occurring in an unexecuted opIF branch                                                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| opVerNotIf            | 0x66      |     ❌     | Transaction is invalid even when occurring in an unexecuted opIF branch                                                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| opElse                | 0x67      |     ❌     | If the preceding opIF or opNOTIF or opELSE was not executed then these statements are and if the preceding opIF or opNOTIF or opELSE was executed then these statements are not.                                                                                                                                                                                                                                                                                                                                             |\n| opEndIf               | 0x68      |     ❌     | Ends an if/else block.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| opVerify              | 0x69      |     ✅     | Marks transaction as invalid if top stack value is not true.                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |\n| opReturn              | 0x6a      |     ✅     | Marks transaction as invalid.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |\n| opToAltStack          | 0x6b      |     ✅     | Puts the input onto the top of the alt stack. Removes it from the main stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |\n| opFromAltStack        | 0x6c      |     ✅     | Puts the input onto the top of the main stack. Removes it from the alt stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |\n| op2Drop               | 0x6d      |     ✅     | Removes the top two stack items.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |\n| op2Dup                | 0x6e      |     ✅     | Duplicates the top two stack items.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |\n| op3Dup                | 0x6f      |     ✅     | Duplicates the top three stack items.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| op2Over               | 0x70      |     ✅     | Copies the pair of items two spaces back in the stack to the front.                                                                                                                                                                                                                                                                                                                                                                                                                                                                |\n| op2Rot                | 0x71      |     ✅     | The fifth and sixth items back are moved to the top of the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| op2Swap               | 0x72      |     ✅     | Swaps the top two pairs of items.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| opIfDup               | 0x73      |     ✅     | If the top stack value is not 0, duplicate it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| opDepth               | 0x74      |     ✅     | Puts the number of stack items onto the stack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| opDrop                | 0x75      |     ✅     | Removes the top stack item.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |\n| opDup                 | 0x76      |     ✅     | Duplicates the top stack item.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| opNip                 | 0x77      |     ✅     | Removes the second-to-top stack item.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| opOver                | 0x78      |     ✅     | Copies the second-to-top stack item to the top.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| opPick                | 0x79      |     ✅     | The item n back in the stack is copied to the top.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |\n| opRoll                | 0x7a      |     ✅     | The item n back in the stack is moved to the top.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| opRot                 | 0x7b      |     ✅     | The top three items on the stack are rotated to the left.                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |\n| opSwap                | 0x7c      |     ✅     | The top two items on the stack are swapped.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |\n| opTuck                | 0x7d      |     ✅     | The item at the top of the stack is copied and inserted before the second-to-top item.                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| opCat                 | 0x7e      |     ❗     | Concatenates two strings. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |\n| opSubStr              | 0x7f      |     ❗     | Returns a section of a string. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| opLeft                | 0x80      |     ❗     | Keeps only characters left of the specified point in a string. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| opRight               | 0x81      |     ❗     | Keeps only characters right of the specified point in a string. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                          |\n| opSize                | 0x82      |     ✅     | Pushes the string length of the top element of the stack (without popping it).                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| opInvert              | 0x83      |     ❗     | Flips all of the bits in the input. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |\n| opAnd                 | 0x84      |     ❗     | Boolean and between each bit in the inputs. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| opOr                  | 0x85      |     ❗     | Boolean or between each bit in the inputs. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n| opXor                 | 0x86      |     ❗     | Boolean exclusive or between each bit in the inputs. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| opEqual               | 0x87      |     ✅     | Returns 1 if the inputs are exactly equal, 0 otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| opEqualVerify         | 0x88      |     ✅     | Same as opEQUAL, but runs opVERIFY afterward.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| opReserved1           | 0x89      |     ❌     | Transaction is invalid unless occurring in an unexecuted opIF branch                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| opReserved2           | 0x8a      |     ❌     | Transaction is invalid unless occurring in an unexecuted opIF branch                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| op1Add                | 0x8b      |     ✅     | 1 is added to the input.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| op1Sub                | 0x8c      |     ✅     | 1 is subtracted from the input.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| op2Mul                | 0x8d      |     ❗     | The input is multiplied by 2. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| op2Div                | 0x8e      |     ❗     | The input is divided by 2. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n| opNegate              | 0x8f      |     ✅     | The sign of the input is flipped.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| opAbs                 | 0x90      |     ✅     | The input is made positive.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |\n| opNot                 | 0x91      |     ✅     | If the input is 0 or 1, it is flipped. Otherwise the output will be 0.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| op0NotEqual           | 0x92      |     ✅     | Returns 0 if the input is 0. 1 otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |\n| opAdd                 | 0x93      |     ✅     | a is added to b.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |\n| opSub                 | 0x94      |     ✅     | b is subtracted from a.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| opMul                 | 0x95      |     ❗     | a is multiplied by b. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| opDiv                 | 0x96      |     ❗     | a is divided by b. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |\n| opMod                 | 0x97      |     ❗     | Returns the remainder after dividing a by b. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| opLShift              | 0x98      |     ❗     | Shifts a left b bits, preserving sign. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |\n| opRShift              | 0x99      |     ❗     | Shifts a right b bits, preserving sign. Disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| opBoolAnd             | 0x9a      |     ✅     | If both a and b are not 0, the output is 1. Otherwise 0.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| opBoolOr              | 0x9b      |     ✅     | If a or b is not 0, the output is 1. Otherwise 0.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| opNumEqual            | 0x9c      |     ✅     | Returns 1 if the numbers are equal, 0 otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |\n| opNumEqualVerify      | 0x9d      |     ✅     | Same as opNUMEQUAL, but runs opVERIFY afterward.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |\n| opNumNorEqual         | 0x9e      |     ✅     | Returns 1 if the numbers are not equal, 0 otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n| opLessThan            | 0x9f      |     ✅     | Returns 1 if a is less than b, 0 otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |\n| opGreaterThan         | 0xa0      |     ✅     | Returns 1 if a is greater than b, 0 otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| opLessThanOrEqual     | 0xa1      |     ✅     | Returns 1 if a is less than or equal to b, 0 otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| opGreaterThanOrEqual  | 0xa2      |     ✅     | Returns 1 if a is greater than or equal to b, 0 otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |\n| opMin                 | 0xa3      |     ✅     | Returns the smaller of a and b.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| opMax                 | 0xa4      |     ✅     | Returns the larger of a and b.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| opWithin             | 0xa5      |     ✅     | Returns 1 if x is within the specified range (left-inclusive), 0 otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |\n| opRipeMd160           | 0xa6      |     ✅     | The input is hashed using RIPEMD-160.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| opSha1                | 0xa7      |     ✅     | The input is hashed using SHA-1.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |\n| opSha256              | 0xa8      |     ✅     | The input is hashed using SHA-256.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |\n| opHash160             | 0xa9      |     ✅     | The input is hashed twice: first with SHA-256 and then with RIPEMD-160.                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| opHash256             | 0xaa      |     ✅     | The input is hashed two times with SHA-256.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |\n| opCodeSeparator       | 0xab      |     ❌     | All of the signature checking words will only match signatures to the data after the most recently-executed opCODESEPARATOR.                                                                                                                                                                                                                                                                                                                                                                                                      |\n| opCheckSig            | 0xac      |     ✅     | The entire transaction's outputs, inputs, and script are hashed. The signature used by opCHECKSIG must be a valid signature for this hash and public key. If it is, 1 is returned, 0 otherwise.                                                                                                                                                                                                                                                                                                                                   |\n| opCheckSigVerify      | 0xad      |     ❌     | Same as opCHECKSIG, but opVERIFY is executed afterward.                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |\n| opCheckMultiSig       | 0xae      |     ❌     | Compares the first signature against each public key until it finds an ECDSA match. Starting with the subsequent public key, it compares the second signature against each remaining public key until it finds an ECDSA match. The process is repeated until all signatures have been checked or not enough public keys remain to produce a successful result. All signatures need to match a public key. If all signatures are valid, 1 is returned, 0 otherwise. Due to a bug, one extra unused value is removed from the stack. |\n| opCheckMultiSigVerify | 0xaf      |     ❌     | Same as opCHECKMULTISIG, but opVERIFY is executed afterward.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n| opNop1                | 0xb0      |     ❌     | The word is ignored. Does not mark transaction as invalid.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |\n| opCheckLockTimeVerify | 0xb1      |     ❌     | Marks transaction as invalid if the top stack item is greater than the transaction's nLockTime field, otherwise script evaluation continues as though an opNOP was executed.                                                                                                                                                                                                                                                                                                                                                      |\n| opCheckSequenceVerify | 0xb2      |     ❌     | Marks transaction as invalid if the relative lock time of the input is not equal to or longer than the value of the top stack item.                                                                                                                                                                                                                                                                                                                                                                                                |\n| opNop4-opNop10       | 0xb3-0xb9 |     ❌     | The word is ignored. Does not mark transaction as invalid.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |\n| opCheckSigAdd         | 0xba      |           | Increments n by one and returns to the stack if the signature is valid for the public key and transaction. Only available in tapscript.\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/AbdelStark\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/45264458?v=4?s=100\" width=\"100px;\" alt=\"A₿del ∞/21M 🐺 - 🐱\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eA₿del ∞/21M 🐺 - 🐱\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zig-bitcoin/btczee/commits?author=AbdelStark\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#ideas-AbdelStark\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"#mentoring-AbdelStark\" title=\"Mentoring\"\u003e🧑‍🏫\u003c/a\u003e \u003ca href=\"#projectManagement-AbdelStark\" title=\"Project Management\"\u003e📆\u003c/a\u003e \u003ca href=\"#research-AbdelStark\" title=\"Research\"\u003e🔬\u003c/a\u003e \u003ca href=\"https://github.com/zig-bitcoin/btczee/pulls?q=is%3Apr+reviewed-by%3AAbdelStark\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/lana-shanghai\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/31368580?v=4?s=100\" width=\"100px;\" alt=\"lanaivina\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003elanaivina\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zig-bitcoin/btczee/commits?author=lana-shanghai\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/tdelabro\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/34384633?v=4?s=100\" width=\"100px;\" alt=\"Timothée Delabrouille\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTimothée Delabrouille\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zig-bitcoin/btczee/commits?author=tdelabro\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://okhaimie.com/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/57156589?v=4?s=100\" width=\"100px;\" alt=\"okhai\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eokhai\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zig-bitcoin/btczee/commits?author=okhaimie-dev\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/supreme2580\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/100731397?v=4?s=100\" width=\"100px;\" alt=\"Supreme Labs\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSupreme Labs\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zig-bitcoin/btczee/commits?author=supreme2580\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://varun-doshi.vercel.app/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/61531351?v=4?s=100\" width=\"100px;\" alt=\"Varun Doshi\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVarun Doshi\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zig-bitcoin/btczee/commits?author=varun-doshi\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n  \u003ctfoot\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" size=\"13px\" colspan=\"7\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg\"\u003e\n          \u003ca href=\"https://all-contributors.js.org/docs/en/bot/usage\"\u003eAdd your contributions\u003c/a\u003e\n        \u003c/img\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tfoot\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzig-bitcoin%2Fbtczee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzig-bitcoin%2Fbtczee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzig-bitcoin%2Fbtczee/lists"}