Expand description
RGB20 library for working with fungible asset types, operating under schemata, defined with LNPBP-20 standard:
- Root RGB20 schema, returned by
schema::schema()with idSCHEMA_ID_BECH32 - RGB20 subschema, returned by
schema::subschema(), prohibiting asset replacement procedure and having idSUBSCHEMA_ID_BECH32 - High-level RGB20 API performing asset issuance, transfers and other asset-management operations
Re-exports§
pub use schema::schema;pub use schema::subschema;pub use schema::SCHEMA_ID_BECH32;pub use schema::SUBSCHEMA_ID_BECH32;
Modules§
- schema
- RGB20 schemata defining fungible asset smart contract prototypes.
Structs§
- Asset
- RGB20 asset information.
Enums§
- Error
- Errors generated during RGB20 asset information parsing from the underlying genesis or consignment data
Traits§
- Rgb20
- Extension trait for consignments defining RGB20-specific API.