#blockchain #twine #randomness

twine_builder

Twine protocol rust library functionality for building Twine data structures

4 releases

0.1.3 Apr 18, 2025
0.1.2 Mar 26, 2025
0.1.1 Mar 21, 2025
0.1.0 Mar 13, 2025

#14 in #twine


Used in 8 crates (7 directly)

MIT license

290KB
7K SLoC

Twine Builder

Crates.io Version docs.rs (with version)

This crate contains functionality for creating Twine data structures. It can be bundled and used from the twine_protocol crate by enabling the build feature.

Usage

Normal construction of twine data involves the following:

See the documentation for specifics about the Signer, TwineBuilder, and Store.

Version 1 data

In order to construct version 1 data structures, the v1 feature flag must be enabled and a BiscuitSigner can be used.

Dependencies

~21–31MB
~579K SLoC