·
39 commits
to master
since this release
LNP/BP Standards Association presented a new generation of RGB smart contracts (version 0.12) 10 days ago with release candidate 1. Over this period of time we have received several improvement requests from the companies already integrating it into their products and tried to fulfill them with release candidate 2.
This release refactors the RGB smart contracts library to improve its persistence layer, enhance security, and streamline consignment handling.
- Replaced the
fsfeature with abinfilefeature, providing more granular control over binary file format support. - Introduced a new
rgb-persist-fscrate to encapsulate filesystem persistence logic, improving code modularity and separation of concerns. - Introduced the way to programmatically import contracts via consignments.
- Improved spam prevention, which included creation of a dedicated guideline to contract developers (RCP-250528A), its implementation, and the addition of an embedded mechanism limiting the maximal number of operations in a consignment.
- Added more aggregators producing computed contract state.
- Replaced
ImmutableApiandDestructibleApiwithGlobalApiandOwnedApi, respectively, for clearer semantics. - Introduced
Semanticsstruct to group API definitions, codex libraries, and type systems. - Added
ApisChecksumandArticlesIdfor improved API versioning and identification. - Implemented signature validation in
Articles::withandIssuer::withusing a provided validator function. - The test suite has been updated to include more comprehensive validation of the new API and consignment handling mechanisms.
Read the full announcement on the official website: https://rgb.tech/blog/release-0-12-rc-2/