hns-script 0.3.0

Handshake script, signature hashing, and fee-policy primitives
Documentation

hns-script

Handshake script, signature hashing, and fee-policy primitives.

This crate provides HSD-compatible signature hashing and a production script interpreter, including Handshake OP_TYPE. It also exposes input-coin-bound sigop counting, sigop-adjusted policy virtual size, and HSD's exact minimum-fee rounding through explicit weight, sigop, virtual-byte, and fee-rate units. It is part of the hns-rs protocol workspace.

cargo add hns-script

The minimum supported Rust version is 1.89. API documentation is available on docs.rs.

Licensed under either Apache-2.0 or MIT.