Crate rgb121

Crate rgb121 

Source
Expand description

RGB121 library for working with fungible asset types, operating under schemata, defined with LNPBP-121 standard:

Structs§

Asset
RGB121 asset information.
FileAttachment
File to attach to genesis transition

Enums§

CreateError
Errors generated during RGB121 asset creation
Error
Errors generated during RGB121 asset information parsing from the underlying genesis or consignment data
FieldType
Field types for RGB121 schemata
OwnedRightType
Owned right types used by RGB121 schemata

Constants§

SCHEMA_ID_BECH32
Schema identifier for full RGB121 fungible asset
SUBSCHEMA_ID_BECH32
Schema identifier for full RGB121 fungible asset subschema prohibiting engraving operation

Traits§

Rgb121
Extension trait for consignments defining RGB121-specific API.

Functions§

schema
Builds & returns complete RGB121 schema (root schema object)
subschema
RGB121 subschema which allows simple asset transfers but no engraving