bech32-encoding-decoding
Encode and decode bech32 and bech32m strings using the local bech32 and bech32m CLI.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Encode and decode bech32 and bech32m strings using the local bech32 and bech32m CLI.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
CRITICAL: Use for performance optimization. Triggers: performance, optimization, benchmark, profiling, flamegraph, criterion, slow, fast, allocation, cache, SIMD, make it faster, 性能优化, 基准测试
Use when integrating crates or ecosystem questions. Keywords: E0425, E0433, E0603, crate, cargo, dependency, feature flag, workspace, which crate to use, using external C libraries, creating Python extensions, PyO3, wasm, WebAssembly, bindgen, cbindgen, napi-rs, cannot find, private, crate recommendation, best crate for, Cargo.toml, features, crate 推荐, 依赖管理, 特性标志, 工作空间, Python 绑定
Diagnose cardano-cli: version, era-prefixed vs legacy syntax, network flags. Produces compatibility report.
Execute Plutus script transactions: script spends, datum/redeemer submission. Manual invoke only.
Plutus script guidance: datums, redeemers, collateral, reference scripts. Templates only—use operator to execute.
Execute staking operations: registration, delegation, rewards withdrawal. Manual invoke only.
SOC 職業分類に基づく
| name | bech32-encoding-decoding |
| description | Encode and decode bech32 and bech32m strings using the local bech32 and bech32m CLI. |
| allowed-tools | ["Bash(bech32:*)","Bash(bech32m:*)","Read"] |
| disable-model-invocation | false |
| user-invocable | true |
Use this skill to convert between hex/base58 inputs and bech32/bech32m strings,
or to decode bech32/bech32m back to base16. The local bech32 and bech32m
binaries read data from standard input and writes to standard output.
bech32 [PREFIX] converts to/from bech32 strings (useful for Cardano
addresses)bech32m [PREFIX] converts to/from bech32m strings (useful for Midnight
addresses)stdinstdout<<< or printf so the payload is explicitbech32m for Midnight bech32m strings; omit the prefix to decode to
base16mn_shield-addr_<network>, mn_addr_<network>,
mn_dust_<network>addr, addr_testbech32 <prefix> <<< <hex-or-base58-input>
bech32 <<< <bech32-input>
bech32m <prefix> <<< <hex-or-base58-input>
bech32m <<< <bech32m-input>
Encode hex to bech32:
bech32 addr <<< 71ab222c7f223c4c0e297d11fbf6e6a082eb41db5e8539fcfb822c76c3
Expected output:
addr1wx4jytrlyg7ycr3f05glhahx5zpwkswmt6znnl8msgk8dsccv8766
Decode bech32 to hex:
bech32 <<< addr1wx4jytrlyg7ycr3f05glhahx5zpwkswmt6znnl8msgk8dsccv8766
Expected output:
71ab222c7f223c4c0e297d11fbf6e6a082eb41db5e8539fcfb822c76c3
Convert from base58 to bech32:
bech32 base58_ <<< Ae2tdPwUPEYy
Expected output:
base58_1p58rejhd9592uusa8pzj2
Encode hex to bech32m (Midnight address HRP):
bech32m mn_addr_testnet <<< 706174617465
Expected output:
mn_addr_testnet1wpshgct5v5ucrhhp
Decode Midnight bech32m to hex:
bech32m <<< mn_addr_testnet1wpshgct5v5ucrhhp
Expected output:
706174617465
Encode hex to bech32m (shield addr HRP):
bech32m mn_shield-addr_testnet <<< 706174617465
Expected output:
mn_shield-addr_testnet1wpshgct5v5m3l88f
Encode hex to bech32m (dust HRP):
bech32m mn_dust_testnet <<< 706174617465
Expected output:
mn_dust_testnet1wpshgct5v5p6cup0
0x; the tool expects raw hex onlyUnable to detect input encoding usually means the input contains a prefix
(0x) or non-hex characters0x prefix for hex.bech32 base16_ <<< 706174617465bech32 <<< base16_1wpshgct5v5r5mxh0bech32 --helpbech32m --help