Interface specification is the following Contractum code:
-- Defined by LNPBP-31 standard in `RGBContract.sty` file
import urn:ubideco:stl:6vbr9ZrtsD9aBjo5qRQ36QEZPVucqvRRjKCPqE8yPeJr#choice-little-boxer as RGBContract
import RGB21
interface RGB23
global id :: RGB21.ContractId
global deed* :: Entry
global created :: RGBContract.Timestamp
owned deedRight
op Log :: deedRight, deed -> deedRight
data Entry ::
type MimeType,
data [Byte],
resources { ResourceId -> Resource }
data ResourceId :: U16
data Resource ::
type MimeType,
digest Digest
-- TODO: add more digest algorithms
-- TODO: move digest to Contractum standard library to use in RGB21
data Digest :: sha256([U8 ^ 32]) | blake3([U8 ^ 32])
Compatibility
Rationale
Reference implementation
Acknowledgements
References
Copyright
This document is licensed under the Creative Commons CC0 1.0 Universal license.