-
Notifications
You must be signed in to change notification settings - Fork 31
htlc calc secret hash Command Guide
Enrico Rubboli edited this page Apr 10, 2026
·
1 revision
Calculate the hash of a given HTLC secret.
htlc-calc-secret-hash <SECRET>
-
<SECRET>: The hex-encoded HTLC secret to hash.
The resulting hash is what you provide to htlc-create-transaction when setting up the HTLC. The secret itself is kept off-chain and revealed only when spending the HTLC.
-
htlc-generate-secret: Generate a random HTLC secret. -
htlc-create-transaction: Create an HTLC output using the hash. -
utxo-spend: Spend an HTLC by providing the secret.
- Home
- Installing Mintlayer
- Upgrade Mintlayer
- Node
- Addresses
- Wallet CLI
- Wallet RPC
- API
- Advanced Tools
- Guides
- CHANGELOG