Updating Scrypto to the latest version
When a new version of Scrypto is released, it is recommended to update your toolchain to benefit from the latest changes. To update to the latest version, follow these steps:
-
Open a terminal, or PowerShell if you are on Window
-
Install the required Rust compiler and set it as default
rustup default <rust-version> -
Reinstall the Radix CLIs with:
cargo install --force radix-clis -
Reset your simulator with:
resim reset
note
**> Updating existing projects
**
When updating an existing project, to recompile with all the latest updates:
-
delete the existing Cargo.lock file
-
run
cargo clean -
run
scrypto build