- Rust: You need to have rust 1.81 or newer to be able to compile your contract:
rustup install 1.81
rustup default 1.81
rustup target add wasm32-unknown-unknown- Next, you need to install the wasm-opt (to optimize WebAssembly files):
sudo apt install binaryencargo build --releaseOnce the compilation is complete, locate the wasm.opt.wasm file in the target/wasm32-unknown-unknown/release directory.
- Access Gear IDE using your web browser.
- Connect your Substrate wallet to Gear IDE.
- Upload the
wasm.opt.wasmandapp.idlfiles by clicking the "Upload Program" button.