Crates.io | sapio-miniscript |
lib.rs | sapio-miniscript |
version | 7.0.2-alpha.0 |
source | src |
created_at | 2021-03-23 00:02:41.058908 |
updated_at | 2024-01-22 02:59:41.805865 |
description | Miniscript: a subset of Bitcoin Script designed for analysis, Sapio extended edition (supports BIP-119 OP_CTV) |
homepage | |
repository | https://github.com/sapio-lang/rust-miniscript |
max_upload_size | |
id | 372343 |
size | 4,202,094 |
Minimum Supported Rust Version: 1.29.0
This crate uses "2015" edition and won't be ported over "2018" edition in the near future as this will change the MSRV to 1.31.
Library for handling Miniscript, which is a subset of Bitcoin Script designed to support simple and general tooling. Miniscripts represent threshold circuits of spending conditions, and can therefore be easily visualized or serialized as human-readable strings.
This library supports
compiler
flag)bitcoin::PublicKey
bitcoin::TxIn
with appropriate dataMore information can be found in the documentation
or in the examples/
directory
This library should always compile with any combination of features on Rust 1.29.
Because some dependencies have broken the build in minor/patch releases, to compile with 1.29.0 you will need to generate the lockfile and run the following version-pinning command:
cargo generate-lockfile --verbose
cargo update -p cc --precise "1.0.41" --verbose
In order to use the use-serde
feature or to build the unit tests with 1.29.0,
the following version-pinning commands are also needed:
cargo update --package "serde" --precise "1.0.98"
cargo update --package "serde_derive" --precise "1.0.98"
Contributions are generally welcome. If you intend to make larger changes please discuss them in an issue before PRing them to avoid duplicate work and architectural mismatches. If you have any questions or ideas you want to discuss please join us in ##miniscript on Libera.
See CHANGELOG.md.