validate-bsv-script
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseValidate BSV Script
验证BSV脚本
Validate and analyze BSV scripts for correctness, identify script types, and check for security issues.
验证并分析BSV脚本的正确性,识别脚本类型,检查安全问题。
When to Use
使用场景
- Validate a locking or unlocking script
- Identify script type (P2PKH, P2PK, multisig, etc.)
- Analyze script opcodes
- Check for potential security issues
- 验证锁定脚本或解锁脚本
- 识别脚本类型(P2PKH、P2PK、多签等)
- 分析脚本操作码
- 检查潜在安全问题
Usage
使用方法
bash
undefinedbash
undefinedValidate a script from hex
Validate a script from hex
bun run skills/validate-bsv-script/scripts/validate.ts <script-hex>
bun run skills/validate-bsv-script/scripts/validate.ts <script-hex>
Specify script type
Specify script type
bun run skills/validate-bsv-script/scripts/validate.ts <script-hex> --type locking
bun run skills/validate-bsv-script/scripts/validate.ts <script-hex> --type locking
JSON output
JSON output
bun run skills/validate-bsv-script/scripts/validate.ts <script-hex> --json
bun run skills/validate-bsv-script/scripts/validate.ts <script-hex> --json
Show help
Show help
bun run skills/validate-bsv-script/scripts/validate.ts --help
undefinedbun run skills/validate-bsv-script/scripts/validate.ts --help
undefinedStatus
状态
Complete - All tests passing, ready for use
已完成 - 所有测试通过,可投入使用