Expand description
§Function-like Expression Language
This language is similar to policy language in miniscript, but whose target is simplicity instead of bitcoin Script. Policy
§Simplicity Script Policies
Tools for representing simplicity programs as spending policies. These may be compiled to Simplicity programs.
The format represents public keys abstractly to allow wallets to replace these with BIP32 paths, pay-to-contract instructions, etc.
Modules§
Enums§
- Error
- Policy
- Policy that expresses spending conditions for Simplicity.
- Satisfier
Error
Traits§
- Satisfier
- Lookup table for signatures, hash preimages, etc.
- Simplicity
Key - Public key which can be converted to a hash type.
- ToXOnly
Pubkey - Public key which can be converted to a (x-only) public key which can be used in Simplicity.
- Translator
- Object which can translate one key type to another, including all associated hashes.
Type Aliases§
- Preimage32
- Type alias for 32-byte preimage.