Build Contract
The 2nd step is to code and build your contract. xSuite makes building super simple.
For this, Rust needs to be properly installed. To install it:
xsuite install-rustYou can now build your contract with:
xsuite buildYou can also add the script "build": "xsuite build" to the package.json of your contract and then build using:
npm run buildReproducible Builds
For advanced use cases where you need reproducible builds, xSuite provides the build-reproducible command. This command allows you to build contracts in a reproducible manner using Docker:
xsuite build-reproducible --image multiversx/sdk-rust-contract-builder:v8.0.0You can customize the reproducible build process further by specifying options such as the directory to be built and the output directory.