Scrypto v1.2.0 introduces various features and enhancements, targeting the bottlenose protocol update.
Starting from this version, Scrypto and Radix Engine crates are published to crates.io.
New Bottlenose Features
Bottlenose protocol update introduces two new features that can be used by Scrypto blueprints.
There is a new native blueprint AccountLocker, which makes sending resource to accounts easier. See this doc for more details. A corresponding stub is added to Scrypto library.
A new method get_owner_role is added to every global component. Here is an example of how to get the owner role of a component:
let owner_role = global_component.get_owner_role();
Radix CLIs
The simulator is rebranded to radix-clis, featuring the following tools:
resim- A ledger simulator to play with Radix Engine featuresscrypto- A tool for creating, building and testing Scryto codertmc/rtmd- Radix transaction manifest compiler and decompilerscrypto-bindgen- A tool for generating stubs for the blueprints of a package
Here is the new way of installing Radix CLIs:
cargo install --force radix-clis@1.2.0
Pretty Manifest Compilation Error
Radix CLI rtmc now prints pretty error message and highlights the problematic parts.

New Scrypto Compiler Library
A new library scrypto-compiler is introduced to standardize everything around Scrypto compilation. This crate is used by Radix CLIs, scrypto-builder and scrypto-test, to provide consistent behavior. It is now available for public use.
Scrypto Testing
Various enhancements are made to Scrypto testing libraries.
scrypto-unitis merged intoscrypto-testTestRunneris renamed toLedgerSimulatorTestEnvironmentBuilderis introduced for configuring the environment prior to creationSubstateDatabaseOverlayis added to enable testing and simulation on top of a real Node databasePackageis renamed toPackageFactory- Scrypto tests now can specify a
CompilerProfile, indicating whether standard or fast Scrypto compilation should be used
Manifest Builder
Two bug fixes for the ManifestBuilder utility