Bech32 Encoding/Decoding and Blake2b Hashing Commands
Changes
Added new commands for Cardano's most common hashing and encoding operations
cscli bech32 encode --value "<hex_string>" --prefix "<string>"
cscli bech32 decode --value "<bech32_string>"
cscli blake2b hash --value "<hex_string>" --length <digest_length>
With these you can now:
- Derive addresses manually from the verification key
- Derive policyIds from the policy script
- Derive assetIds from the policyId and assetname
- Derive the transactionHash from the tx body
Installation
The easiest way is to install the .NET SDK and install the global tool cscli
.
dotnet tool install --global cscli
Alternatively, please download the platform-specific binaries in the release Assets below
Usage and Overview
Please see the README documentation